4 ms·
From my experience: 1. Don't try to be clever. Unless there's a really good tangible tradeoff, do things the boring way. Ideally try to avoid language-specific
by trinovantes 6y ago
From my experience:
1. Don't try to be clever. Unless there's a really good tangible tradeoff, do things the boring way. Ideally try to avoid language-specific features just to save a few keystrokes
2. Write as much stateless code as possible. Use function parameters instead of class members. If this results in too many parameters, it might be a sign that the function is too bloated
- NicoJuicy 6y agoYou are writing functional code mostly?
- trinovantes 6y agoCurrently, I'm mostly writing 2d/3d graphics code (C++) I did briefly write some Haskell/Erlang in my undergrad programming language theory course and carried some of the functional paradigms into my professional career though trial-and-error and advice from my mentors