4 ms·
What qualifies as unclear-ugly ?
by samblr 10y ago
What qualifies as unclear-ugly ?
- cweagans 10y agoJava ;)
- sporkenfang 10y agoBeing too clever for your own good and writing wonderfully elegant code that randomly breaks on some other engineer who doesn't know you long after you have left the company. Surprise tire fire!
- atmosx 10y agoThis: $,="\t"; print readlines.map{|r| s=r.split; [s[0].to_i,r]}\ .max{|a,b| a[0]<=>b[0]} It's a ruby one-liner that prints the largest first field and the lines that contains that field.
- deleted 10y ago[deleted]