|
|
|
|
|
by Chirono
1373 days ago
|
|
That code is written in a very declarative, functional style. Haskell is a language that forces you to write code like that, so might be a worth a look if your goal is to write ‘pretty’ code. However, I’d also add that becoming an “elegant” and “useful” programmer are often at odds with each other. It’s very easy to spend so much time trying to make your code pretty with the perfect abstractions that you never actually finish anything. If your goal is to be useful and productive then learning by writing a lot of code in a lot of different languages, styles and code based might serve you better than focussing on beautiful source code. Though if you can do both, then please do! |
|