Hacker News new | ask | show | jobs
by curious16 1111 days ago
What language do you work in now? If it is an imperative language do you avoid state as much as possible?
1 comments

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).