Author Archives: pjneary

Nothing is Something

When it comes to writing correct, efficient, usable, extensible, readable, and supportable programs, many things come into play.  Coherent algorithms, usage of proper data structures, intelligent application of OOP principles, application of existing standards and conventions, expertise in the domain … Continue reading

Posted in Readability, comments | Tagged , , , | Leave a comment

What You See Is What You “Get”

Here’s a really simple rule: if you are writing a function, it cannot scroll. Continue reading

Posted in Readability | Tagged , , , , , , , | Leave a comment

What’s in a Name? (Part II)

Our story so far: Mono-cased variable and function names are holdovers from programming’s Jurassic Period, and should be regarded as extinct. Mixed case variable and functions names are a good idea (duh). Hungarian notation has its lure, and maybe its … Continue reading

Posted in Identifiers, Naming conventions, Variables | Tagged , , , , , , , | Leave a comment

What’s in a Name? (Part I)

What’s in a name? That which we call a rose By any other name would smell as sweet; William Shakespeare, Romeo and Juliet Just because I am quoting one of literature’s most over-quoted lines, don’t take me to be a … Continue reading

Posted in Naming conventions, Variables | Tagged , , , , , , | 2 Comments

All Computer Languages Suck

Why The Code Curmudgeon?  Well, I’ve been coding for decades now.  I’ve forgotten more languages than most people know, and one thing I still believe is (as my friend Bill once said to me):  “All computer languages suck.”  But as … Continue reading

Posted in Introduction | Tagged , , , | 1 Comment