I use VS Code v1.25.1 with the Python extension added. Although it suggests me the attributes and methods of libraries and classes, i.e. I type from s ...
I use VS Code v1.25.1 with the Python extension added. Although it suggests me the attributes and methods of libraries and classes, i.e. I type from s ...
I am reading through Code Complete and had a question about "Streamlining parameter passing". The author says that if you are passing a parameter amon ...
tl;dr -- What does the below quoted paragraph mean? Be suspicious of classes of which there is only one instance. A single instance might indicate ...
So i've already determined that the 12 in the for loop should be a constant instead of just using an integer and that the montlysales should be pass ...
I had a disagreement with another programmer on how to write a method with a lot of error checking: - To me, the deep nesting of if statements m ...
In the latest code review I was asked, why did I change the method name from GetHDRFrame to GetHdrFrame, while HDR is an abbreviation. I'm pretty sure ...
I've found code complete is not working (via libclang-c) for unsaved files (but works great for saved files). Code (not all): Source file (saved f ...
I created a line that appends an object to a list in the following manner The line would give a pylint W1060 Expression is assigned to nothing, ...
So, my boss for very good reason LOVES the book Code Complete by Steve Mcconnell. I was wondering if anyone has ever come across a way to test if some ...
Hi I have Code Templates enabled in Eclipse. I just installed Eclipse for Java and Enabled Code Templates (From Code Assist Settings). I typed "sysou ...
In Code Complete, chapter 10, it is advised to group related statements, and the following example is given: It is stated that such grouping and co ...
In the section on "Good Encapsulation" in Code Complete, it is recommended to hide private implementation details. An example is given in C++. The ide ...
In Xcode 3 I could first write my method in the implementation (.m) file; afterwards adding the same method to the interface (.h) file. At that point ...
I have started to use NetBeans 6.9.1 for developing PHP projects. Although it does provide code completion to certain extent, but it's by no means com ...
After a couple of weeks reading on this forum I thought it was time for me to do my first post. I'm currently rereading Code Complete. I think it's ...
I am somewhat confused about a paragraph in the code complete book. In the section "Classes to avoid" it reads: "Avoid classes named after verbs A c ...
Ch 7.6 of Code Complete 2 is confusing me, I've attached some sample code (in php) mind telling me which style is the best? or suggest something bette ...
Code Complete (Chapter 7, Section 3) says that a good function should be named for the value it returns and a good procedure name in a class should be ...