Programming Quick Bites

Here are some of my notes taken recently while reading some articles about programming.

“Measure twice, cut once.” Or “Google it.” Whatever you call it, most programming problems you’re likely to encounter have been solved in some form already

Good programmers know to do the research before they try to solve a problem.

They read error messages (and act on them)

“Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.” – Brian Kernighan

“Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.”

Advertisement

Published by

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.