6 ms·
Which language required the most lines of code?
by unklefolk 13y ago
Which language required the most lines of code?
- sdfjkl 13y agogit clone https://github.com/Prithvirajbilla/helloworld https://github.com/Prithvirajbilla/helloworld && wc -l helloworld/* | sort
- markild 13y agoAt least "sort -n", but yeah. This is top five: 20 helloworld/delphi.pas 25 helloworld/omgrofl.omgrofl 30 helloworld/whitespace 59 helloworld/shakespeare.shakespeare 65 helloworld/chef.chef
- sdfjkl 13y agoMy wc right-aligned the line counts, and it looks like yours does too - so no -n required.
- markild 13y agoWith and without "-n" produced different results for me.
- sdfjkl 13y agoInteresting. Seems this is a recent GNUism, where -b (strip leading blanks) is implied although not stated so in the manpage. I see this in "sort (GNU coreutils) 8.13" but not in "sort (GNU coreutils) 5.93" or BSD sort.
- dbaupp 13y agoWhat's the output? (For people like me who don't have access to a git client right now)
- martiuk 13y agoProbably chef. https://github.com/Prithvirajbilla/helloworld/blob/master/chef.chef https://github.com/Prithvirajbilla/helloworld/blob/master/ch... The best (esoteric) programming language.
- k00pa 13y ago30 helloworld/whitespace 59 helloworld/shakespeare.shakespeare 65 helloworld/chef.chef 25 helloworld/omgrofl.omgrofl 20 helloworld/delphi.pas 22 helloworld/x86.asm Copy pasted some of the biggest ones.