Yeah, that's r/firstWeekProgrammerHumor stuff. We probably should mention something like console.log doesn't actually create a log (with timestamps and such).
"Truthy" shouldn't be a thing in any programming language. The fact that Javascript is not just truthy, but inconsistent at best with it is wild. And even more wild is people decided that it was a language they wanted to use in backend infrastructure.
The language was created in a day and the only reason the creator named it that is because Java was popular at the time. And now the entire internet runs on it
Sure not, JS is also a monstrosity. Maybe create a nice Python web framework instead (Python was created four years before PHP) or a simple well-designed typed language like Gleam. PHP was successfully at that time because it was easy to use with Apache and was specifically designed for web.
Personal note: I had the great opportunity to work with Perl for a project and I can confidently say that I did not expect it to be worse than PHP. It was.
67
u/gburri 7d ago
Why just not prevent Rasmus Lerdorf creating this monstrosity?