3 ms·
I think that after a certain point in time in ones coding life it becomes fairly easy to determine the elegance of a small codebase. This is a reasonable ask.
by cnp 11y ago
I think that after a certain point in time in ones coding life it becomes fairly easy to determine the elegance of a small codebase. This is a reasonable ask.
- nostrademons 11y agoYes, except that that determination will be specific to the person doing the determination. That's the definition of "subjective". Try submitting the same code to the IOCCC [1], the ICFP programming contest [2], the computer language benchmarks game [3], and the Flux Challenge (well, assuming they had the same problem statement, and that you could emscripten your C code for the Flux Challenge). They all have prizes for elegance. The only one of their definitions of elegance that is objective is the benchmarks game, which defines it as straight lines of code (and has resulted in some entries that most programmers consider to be abominations "winning"). It's different cultures, different judges, and different criteria for what's elegant. [1] http://www.ioccc.org/ http://www.ioccc.org/ [2] http://icfpcontest.org/ http://icfpcontest.org/ [3] http://benchmarksgame.alioth.debian.org/ http://benchmarksgame.alioth.debian.org/
- cnp 11y agoSorry, but I think the authors ask is clear, simple and unambiguous. Your comment above strikes me as unnecessarily pedantic when paired with the challenge.