News for hackers. Stuff that matters.
Re:A minimalist lifestyle does not make you a better person by Raphael_Amiard on Thursday October 07, 2010 @11:35AM (#1768191)
> If a 6 character variable name can be shortened to 5 characters without losing meaning, then I do it

While i totally agree with the general sentiment of your post, i'm really not sure about this one.

Or rather, im rly not sure abt dis one ;)

It's all about balance really, and very often this balance is only subjective, even if we generally don't like this idea

Re:A minimalist lifestyle does not make you a better person by T_S_ on Thursday October 07, 2010 @06:11PM (#1769742)
Interesting example. In Mathematica, they opted for fully spelled out function names with caps to indicate new words for minimal ambiguity. For example LinearSolve is not linsolve or lnsolve or lsolve or even ls as it is in other languages or libraries. This makes the names of standard mathematical functions easier to remember or guess at.

Your minima may not be my minima!

Re:A minimalist lifestyle does not make you a better person by tome on Thursday October 07, 2010 @01:27PM (#1768600)
Sure, but to be charitable to edw519, it's possible to interpret the remark as "can be shortened ... without compromising meaning".
Re:A minimalist lifestyle does not make you a better person by Raphael_Amiard on Thursday October 07, 2010 @01:49PM (#1768698)
Definitely, that's why i said i agreed with the general sentiment. I generally reason in exactly the same way so i understand from where GP is coming from.
Re:A minimalist lifestyle does not make you a better person by threepointone on Friday October 08, 2010 @12:06PM (#1772103)
Here's an example regarding this that affects me in javascript -

var t = this;

and then every time I refer to 't', I save 3 bytes. It's something js compressors can't do, and every byte counts in the end :)