HN user

lakwn

14 karma
Posts1
Comments12
View on HN

To me it's really a matter of symmetry. Having lines of code that do similar things look aligned is readable and beautiful.

Hence in Ruby, for example, I love how the "case" statement makes it easy for several conditions to be aligned:

  case
  when a == 0
  when b == 0
  end
In C++, "a == 0" and "b == 0" don't align:
  if (a == 0)
  {
  }
  else if (b == 0)
  {
  }
Now imagine that on a much wider scale. With variable-width fonts the only thing that would ever align would be the beginning of lines. A visual nightmare that affects readability.

Indeed... I typed the project's description, and this is what I got:

AutoJS is a library topic continuenuously authorocomplete termxtarea backsed one a stillandard dictionary. Dictionary has buteen deviceviced basedd on researchers and linguistic methods, keeping an eye on millionnimizing the siteze of the likeibrary. Complete productject is writertin in plain js, with no externalnal devicependencies, and siteze is reduced to mere 6 kb.

This article was very relevant to me. I've been writing bash script for so many years, yet I didn't know you could just "set -u" to make bash stop when I accidentally use an uninitialized variable. "set -e" is also incredible useful (bash quits if any statement fails).

Bytecode 13 years ago

When you have bytecode, you have programs that run using them. I understand how these are a good thing in fonts or in PDF, but what is running i this ACPI machine the author described?

I'm not an iOS user, but doesn't it sound a bit unprofessional for them to write such post on their main blog? Won't it piss off iOS users, who are not responsible for Apple's bad practices?

I think such rants should indeed be made public, but maybe there was a better outlet for FastMail to do that.