Wanna know why I abandoned PHP without remorse? Read here.
C++ tips I've found useful
0for null pointers, use
Don't use C-style anything (arrays, macros, casts etc).
Only real men use naked pointers. Shared pointers are the right choice for softy men like you.
std::vector<bool>is not your friend.
Always use the right tool for the job.
std::uniform_int_distributionand co. instead.
Only talk to your immediate friends.
Don't give the clerk your wallet, silly! Give him your money.
Follow the Rule of Zero - by R. Martinho Fernandes.
Like jalf says: "should a second instance exist?" is a decision that can only reasonably be made when the class is used, not when it was originally designed.
The Ballmer's peak is around ~0.4l of ~4% beer with a weight of ~75Kg while having full stomach.
Don't stop thinking.
This list is incomplet and incorrekt.
Q&A for professional and enthusiast programmers
Q&A for meta-discussion of the Stack Exchange family of Q&A websites
Q&A for passionate videogamers on all platforms
Q&A for peer programmer code reviews
Q&A for professional and independent game developers
Q&A for power users of Apple hardware and software
Q&A for programming puzzle enthusiasts and code golfers
Q&A for those interested in logical reasoning
Q&A for linguists, etymologists, and serious English language enthusiasts
Q&A for movie and tv enthusiasts
Q&A for professional programmers interested in conceptual questions about software development
Stack Exchange Network staging zone, where users come together to build new Q&A sites
Q&A for professional graphic designers and non-designers trying to do their own graphic design
Q&A for students, teachers, and linguists wanting to discuss the finer points of the Italian language