Readable, followable code is definitely on my top sexy list. I want to be able to read it like a story and not have to guess at obscure conventions someone made up to keep their job proprietary.
I really like it when the entrypoint function itself tells the basic story of how the program works.
Too many entrypoints are a combination of verbose boilerplate and obscure setup of "handler managers" and "event factories" and god knows what.
Often I look at a main function and it just seems to kind of start... something... and I have no clear idea of where to look for the code that actually does anything.
Intuitive code, which tell itself what is supposed to do. When someone saw the code, they should be able to know what is happening. Another thing which will make me happy is to defines clear interfaces which can be extensible for any future change.
11 comments
[ 3.2 ms ] story [ 28.2 ms ] threadDoes a compiler count as a kind of app-generator?
https://github.com/mbrock/klatch/blob/master/Klatch/Embassy/...
And also this (incomplete) test suite for a language interpreter:
https://github.com/lessrest/koko/blob/master/test/Tests.hs
Other than that I really love well-written shell scripts that do their job.
Readable, followable code is definitely on my top sexy list. I want to be able to read it like a story and not have to guess at obscure conventions someone made up to keep their job proprietary.
Too many entrypoints are a combination of verbose boilerplate and obscure setup of "handler managers" and "event factories" and god knows what.
Often I look at a main function and it just seems to kind of start... something... and I have no clear idea of where to look for the code that actually does anything.
https://github.com/izqui/Taylor