Re:Flux Challenge
by cnp on Tuesday October 06, 2015 @02:28PM
(#10341170)
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.
[ Parent
| on HN ]
Re:Flux Challenge
by nostrademons on Tuesday October 06, 2015 @02:38PM
(#10341270)
Yes, 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.