4 ms·
My personal cutoff for magic is if it's determined at compile time, I'm happy. If someone has proven to the compiler that a piece of code has a certain nonobvi
by 0xfaded 11y ago
My personal cutoff for magic is if it's determined at compile time, I'm happy.
If someone has proven to the compiler that a piece of code has a certain nonobvious behaviour, I'm usually intrigued.
If my interpreter starts parsing Roman numerals as constants because a gem depends on a gem which depends on gem `roman` (I'm looking at you Ruby), I'm not amused.
Scala's slick package is a fantastic example of advanced language features being used for good.