Comments on: Coding Conventions http://jrwren.wrenfam.com/blog/2005/09/14/coding-conventions/ babblings of a computer loving fool Mon, 21 Nov 2016 19:37:12 +0000 hourly 1 https://wordpress.org/?v=4.7.2 By: Anders Widebrant http://jrwren.wrenfam.com/blog/2005/09/14/coding-conventions/comment-page-1/#comment-196 Sun, 18 Sep 2005 08:00:49 +0000 http://little.xmtp.net/blog/?p=495#comment-196 The mental stress you feel when you have to figure out a variable name comes from having to find the appropriate plain-language words to describe the algorithm or structure that you are working on. This is a very valuable type of mental stress, as it helps you to build a model of your code that is comprehensible to others and relates to the surrounding world. Importantly, you build this model while you are writing the software, not before or after (or not at all) as you would with comments or design documentation. Any naming convention that removes this kind of stress also detracts from the quality of your software.

Also, it seems that roughly half of your naming standard just duplicates things that the type system already does for you.

]]>
By: Big Ray http://jrwren.wrenfam.com/blog/2005/09/14/coding-conventions/comment-page-1/#comment-143 Wed, 14 Sep 2005 18:32:24 +0000 http://little.xmtp.net/blog/?p=495#comment-143 An interesting link with a section on some of the history of hungarian notation.

http://www.joelonsoftware.com/articles/Wrong.html

]]>
By: Matt http://jrwren.wrenfam.com/blog/2005/09/14/coding-conventions/comment-page-1/#comment-142 Wed, 14 Sep 2005 18:08:55 +0000 http://little.xmtp.net/blog/?p=495#comment-142 i agree. keeping things similar like that makes it much less taxing when you are working on huge apps. unfortunately, mortgage apps often have fields with VERY similar names.

]]>