News for hackers. Stuff that matters.
Re:You Shouldn't Start with an SPA by throwitaway1123 on Friday February 02, 2024 @04:38PM (#39234791)
> programming with wet noodles

Very balanced mature technical argument.

Re:You Shouldn't Start with an SPA by rokkitmensch on Friday February 02, 2024 @11:03PM (#39237445)
Made sense to me!
Re:You Shouldn't Start with an SPA by lelanthran on Saturday February 03, 2024 @01:14AM (#39237966)
It's what we technical folk refer to as spaghetti code.
Re:You Shouldn't Start with an SPA by throwitaway1123 on Saturday February 03, 2024 @01:41AM (#39238080)
I'm familiar with the term, I'm just wondering what features of JS as a language necessitates code degenerating into spaghetti. The comment I was replying to was a bit light on technical details. I'm not convinced by someone broadly gesturing at a language and saying "it's all spaghetti code". It just reeks of snark, and feels like a very shallow dismissal of a programming language.
[dead]
Re:You Shouldn't Start with an SPA by throwitaway1123 on Tuesday February 06, 2024 @08:02PM (#39283156)
Not sure why your comment was downvoted to death.

> However if I had to guess code becoming spaghetti is more a symptom of collaboration between many individuals over a span of time rather than an issue with a specific programming language.

That's definitely one path towards spaghetti code. An inexperienced developer can make a mess of their own codebase without contributors also though.

I do agree that it's very rarely the result of an actual defect in the chosen programming language. You can write clean code in almost any general purpose programming language, and conversely, you can write bad code in any language as well.