3 ms·
I remember back when I was studying programming at university the prof was demonstrating something or other on the board. He wrote a program in Java and it took
by avg_dev 4y ago
I remember back when I was studying programming at university the prof was demonstrating something or other on the board. He wrote a program in Java and it took about 15 lines. Someone said they could do it in 5 in Perl or something. The prof replied, “well I could do in one line of awk but that’s not the point…”
I’m watching the video now and Kernighan addresses exactly this point. He talks about using the right tool for the job, about matching only single patterns or else not using awk, the general propose nature of Python, and more.
- eointierney 4y agoI hope they gave the line of awk