Re:Ask HN: Where did you first come across functional progra...
by jdale27 on Thursday June 01, 2023 @02:47AM
(#36148230)
My first programming course was CS 61A at Berkeley, taught with the textbook Structure and Interpretation of Computer Programs. I had tinkered around a bit with other languages before that, but hadn't got seriously into programming until that time. I consider myself very fortunate not to have been previously indoctrinated into imperative / stateful programming.
[ Parent
| on HN ]
Re:Ask HN: Where did you first come across functional progra...
by curious16 on Thursday June 01, 2023 @02:51AM
(#36148254)
What language do you work in now? If it is an imperative language do you avoid state as much as possible?
Re:Ask HN: Where did you first come across functional progra...
by jdale27 on Thursday June 01, 2023 @03:53PM
(#36156484)
Mostly Python. I do try to avoid mutable state as much as possible, and generally keep things functional (in the sense of functions used for the return values, not their effects). When there is mutable state, keep it as local as possible (within functions or classes).