Ask HN: Should orgs limit the number of languages/frameworks?
21–28 of 28 posts
Re: Ask HN: Should orgs limit the number of languages/frameworks?
#22Re: Ask HN: Should orgs limit the number of languages/frameworks?
#23The Cognitive Load Theory in Software Development - https://thevaluable.dev/cognitive-load-theory-software-devel...
Cognitive Loads in Programming - https://rpeszek.github.io/posts/2022-08-30-code-cognitiveloa...
Cognitive load - https://en.wikipedia.org/wiki/Cognitive_load
Re: Ask HN: Should orgs limit the number of languages/frameworks?
#24Re: Ask HN: Should orgs limit the number of languages/frameworks?
#25Re: Ask HN: Should orgs limit the number of languages/frameworks?
#26Re: Ask HN: Should orgs limit the number of languages/frameworks?
#27So all core tech uses a consistent language or framework eg
- Frontend: Typescript/React/Next
- Backend: C#/.NET or Python, Go
But people can go wild with things like developer tooling or non-core products and experiment. And I mean experiment:
- Try new frameworks, new languages, new paradigms, new targets, new platforms.
Let your devs build and experiment with chrome extensions, flutter apps, Swift games, Kotlin VPNs, Lisp DSLs, python TUIs, ascii games, anything just something different from normal work
If you just do bread and butter dev work 100% of the time and stay consistent with that, you will become a bread and butter shop, and you will stay a bread and butter dev. Period.
Sometimes life needs a bit of spice
At work we use Typescript, React, Next, backends are Node, Python, C# as the defaults.
But I want to build browser extensions for them in React to extend their online SQL editors. And I want to build TUIs with Go to monitor containers and orchestrate project starts. Maybe I’ll write a data processing command line tool in Lisp. I reckon go wild with developer tooling.
Re: Ask HN: Should orgs limit the number of languages/frameworks?
#28We have best practices, we have code examples, we have libraries all written in these languages/frameworks and it would take a _lot_ to consider leaving that behind for something new and shiny. Most importantly we have experience and expertise in these languages/frameworks, the improvement would have to be massive to consider retraining people.
Often there are hyper-specific examples where X language can do Y thing better than PHP but at the end of the day I’ll take a slower process in PHP over a different language because anyone on my teams can work in PHP whereas it’s going to be a small majority (or 1 person) who can work in the different language.
Put another way I’ll take a homogenous less than perfect (perfect = fastest/best language for each job) codebase over an unmaintainable Frankenstein codebase that falls apart when the person who wrote a certain component (and is the only one that understands it) leaves the company.
It’s the same reason I hate “clever” code. I’ll take 10 lines of easy to read/grok/change code over a one-liner every day of the week.