DEV Community


Discussion on: What do you think about the idea that "there should be only one way of doing a thing" in programming languages?

ddaly profile image
David Daly

I think it depends - if there was only one way to do everything in programming, it would kill innovation and fun, but I see where it would be useful.

If you are trying to do something mission critical and very important (think encryption, security, etc...) there should only be one way that is adopted. This would mean that there would be less need to try and implement custom security code that probably won't be as secure as the "adopted standard" if there was only one way.

For anything else, I think its fine to have more than one way to do things. I think its situational, and there is room for both in programming.