3 ms·
I like how making it so that variable names determine whether or not the compiler generates correct code is labeled an "elegant hack". To borrow his phrasing, t
by mikeash 14y ago
I like how making it so that variable names determine whether or not the compiler generates correct code is labeled an "elegant hack". To borrow his phrasing, this makes me wonder if Joel would recognize an elegant hack if it walked up to him on the Shanghai Maglev and shook his pants leg.
- cpressey 14y agoI would barely call this a hack at all; it's only a hack under the view that it feels icky to evolve a programming convention into a language construct. Languages have been treating (parts of) variable names as part of the type system for ages: Fortran, BASIC, Perl, ...