Hacker News new | past | comments | ask | show | jobs | submit login

> The fact that things are shorter to declare doesn't make it better. It makes it less readable.

That's not a hard and fast rule. There are obvious inflection points. A 200 character long identifier is less readable than a 20 character identifier in almost all cases. A 1 character identifier is less readable than a 8 character identifier in almost all cases. Somehwhere between those extremes is the sweet spot, and it's likely somwhat different depending on person.

As for language keywords, as long as they are unique, unambiguous, and not likely to conflict with written code often, shorter is likely better since it's purely a matter of learning them when learning the language. Given those constraints, it's easy to see it's possible to be too short though (any single character keyword that is not context sensitive is likely a horrible choice).




OK. Let's start writing 1 letter variables then. Shorter code. Better code.


The only way this comment makes sense is if you completely misunderstood what I said.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: