this post was submitted on 16 Jul 2023
712 points (92.4% liked)
Programmer Humor
32426 readers
625 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Yeah, gonna have to disagree. If I had to choose between JS and Python, I'd shoot myself in the head.
So you choose JS.
Python is cool IMO, got loads of libraries and gets your little app up in notime.
Not for larger projects though.
JavaScript is like the unsafest language I have touched in the last 20 years, yikes!
Still would use it as a web front end instead of python ofc.
Before 3.9 the lack of type hints made it a nightmare for large projects. Strong typing is, among other benefits, a way of self documentation and helps IDEs with auto-complete. If I use Python I always use type hints and if I have to use JS sigo with Typescript instead
Python without type hints is torture. I always need to have the fucking docs opened for anything, and if the docs are bad you're screwed, get ready to read the source code. Like fucking hell man, just let me autocomplete this shit...
What languages did you use 2 decades before?
What languages did you use 2 decades before?
Turbo Pascal, Go, assembler and Basic I guess :-D
Well, it's not like you have any option. Browsers only run Javascript, right?
Well you can do it the 'old' way serving front (pages) from the back like PHP did it.
Ah ok, server side rendering with no JS. I mean, server-side rendering is good. But a front with no JS? Idk, the page would feel pretty outdated. I wonder if there modern front-ends with zero js.