3 ms·
Important not to mistake fluency for favourite. I code mostly in python but I am attracted to lisp and Haskell. Because they have beautiful simplicity in the f
by ggm 9y ago
Important not to mistake fluency for favourite. I code mostly in python but I am attracted to lisp and Haskell.
Because they have beautiful simplicity in the first case and interesting outcomes in the second. I continue to struggle to achieve expressiveness in either. Maybe before I die.
But my real favourite is awk. Because it was the first language I used with a hash structure and so let me explore writing code which did content addressed things like count uniques over stdin string streams from logs. All kinds of languages had functions and procedures and fancy schmancy if then else but having dynamically sized data which indexed off data.. that was electrifying. Perl had them after and I suspect that in part accounted for it's popularity. Every scripting language since has too.
- odonnellryan 9y agoThere is this oddness between how programming in Haskell feels and programming in Python. Each time I go back to Haskell to try and learn a bit more about that environment, I find the mindset carrying over to what I write in Python.
- ggm 9y agoSomething to look forward to! Thinking in yield() generators goes naturally to composition of functions. That's about my limit.
- tome 9y agoI spent a few years as a Python developer followed by a few years working with Haskell. Now I've gone back to Python and I'm a much better Python developer because of my Haskell experience. In fact I think I'm even better than I would have been if I'd swapped my Haskell time for more Python time.