3 ms·
Norvig: It took me about 2 hours (compared to a range of 2 to 8.5 hours for the other Lisp programmers in the study, 3 to 25 for C/C++ and 4 to 63 for Java) an
by philwelch 16y ago
Norvig:
It took me about 2 hours (compared to a range of 2 to 8.5 hours for the other Lisp programmers in the study, 3 to 25 for C/C++ and 4 to 63 for Java) and I ended up with 45 non-comment non-blank lines (compared with a range of 51 to 182 for Lisp, and 107 to 614 for the other languages).
Seems like the programmer, not the language, is the biggest determinant. If you have the Java programmer who wrote it in 4 hours, and the Lisp programmer who wrote it in 8.5 hours, you're better off writing it in Java!
If you want to write concise programs quickly, using the same language Peter Norvig uses might help, but being as good as Peter Norvig helps more.
- wh-uws 16y agoYeah I really believe this is mostly about the programmer. It takes a different type of programmer to even want to venture to learn lisp in the first place.