21 ms·
plain-ugly is a lot better than unclear-ugly
by mrits 10y ago
plain-ugly is a lot better than unclear-ugly
- samblr 10y agoWhat 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]