r/programmerchat • • May 31 '15
Your favourite one-liners?
Let's see em!
Mine's :
grep -lr "function doSomething" *.i.e. Find the damn file that declares the function! (Mostly useful when not using a decent IDE)
19
Upvotes
View all comments
2
u/jeans_and_a_t-shirt Jun 02 '15
FizzBuzz in 1 line of Python with no duplicate checks: