Which programming paradigm had the most impact on you as an engineer and why?
1–10 of 91 posts
Re: Which programming paradigm had the most impact on you as an engineer and why?
#2Re: Which programming paradigm had the most impact on you as an engineer and why?
#3Re: Which programming paradigm had the most impact on you as an engineer and why?
#4For years I thought there must be something I don't grok about OOP. Some point where these design patterns click and make sense. Until I set out to learn OCaml, switched to F# because I was on Windows, and found https://fsharpforfunandprofit.com. All these concepts had really foreign sounding names, but they clicked right away. I finally found that there are people that think like me.
I'm happy functional programming is slowly taking off, influencing almost every modern language. So I guess I should have just trusted my intuition.
Re: Which programming paradigm had the most impact on you as an engineer and why?
#5Before: I was endlessly creating useless abstractions and going for cute and "elegant".
After: Simplest possible code.
The downsides:
1) One has to know good code from bad to evaluate if "simplest possible code" is not too simplistic and won't cause you problems a month, a year or 5 years later;
2) One is always bombarded by the "cute", "elegant", or plain meandering and unclear code. Unless one is at the top of technical peeking order of the company all the attempts to keep sanity will be in vain.
Re: Which programming paradigm had the most impact on you as an engineer and why?
#6Re: Which programming paradigm had the most impact on you as an engineer and why?
#7I don't think it'd be anything you could obviously point at in my code, but it's a day-to-day consideration that I have.
Re: Which programming paradigm had the most impact on you as an engineer and why?
#8I spent a few weeks constantly pairing and doing TDD with them, and while I don't think I could pair forever (maybe 2 days/week), I was amazed at how TDD could shift my approach to a problem. These days I'll still use it, even on personal projects (usually only integration tests), as a great way to reduce unnecessary complexity and increase my confidence in my own code.
Re: Which programming paradigm had the most impact on you as an engineer and why?
#9And everything that elixir and Erlang drags along with it.
Nothing comes close as yet in terms of what one can do this this.
Re: Which programming paradigm had the most impact on you as an engineer and why?
#10And many more from the excellent book “The Pragmatic Programmer”.