Real programmers are language agnostic. Anyways what's the project?
Programmer Humor
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
We're writing an online banking service entirely in brainfuck. Backend, frontend, even middleend if we have to
I enjoy the contradiction of middleend
The middlemiddle
E: My backend don't middlemiddle, it forks
For something you're getting paid for, sure. But if you're contributing in your free time for fun or whatever, presumably you'd prefer to use a language you actually like.
Real programmers will write in a way that user’s resources are not being wasted because you need a full browser, a JS runtime, and DOM juggling, to show even the simplest application.
It’s not rare for simple JS applications to consume over half a gigabyte of RAM on startup, and way more CPU than their native counterparts. That this was normalized and even defended is stupid.
I think you’re thinking of Electron apps, but that’s not really a criticism of JavaScript, that’s a criticism of Electron. There are plenty of JS platforms that don’t require a browser/DOM. React Native is the biggest example. Also, GJS if you want native Linux apps.
Node does not require an excessive amount of resources.
Yes and no. "Real" programmers care about engineering choices ; and JS is the cardboard of programming languages.
Perfect for packaging (which in this metaphor is UI), horrible for building a bridge with. And vice-versa, I wouldn't try and make amazon packaging out of reinforced concrete.
Sorry, but Rust triggers me way too much.
JS has saved me many hours of mind-numbing, error-prone manual keyboard work by giving me a way to hack together a simple bit of automation as a web page.
Even when a computer has been ham-fistedly locked-down by an overzealous IT department, I can almost always still access a text editor and a browser that will load local HTML files.
Add to that the beauty of bookmarklets.
It's silly that IT departments forces us to resort to techniques used before browser extensions became a thing, and it's ironic that it's because they don't know how to code, but here we are.
I worked in heavy JavaScript codebases back in the IE days and wasn’t too crazy about it. Then JIT compilers like v8 came along and made it run a lot faster and TypeScript also made it more usable for larger codebases. I now consider TypeScript among my favorite languages. I’ve also written a lot of Go lately, and while I appreciate its speed and smaller memory footprint, the missing language features kind of grate on me and I don’t mind taking a bit of a performance hit for the (IMO) superior ergonomics of TypeScript, especially for workloads where I/O is more of the bottleneck than compute.
agreed. typescript is excelent, especially if you make it strict and know a bit of complex types to make sure things stay put.
Chiming in as a professional TS dev. It's really a joy to do web dev work in the post TS world.
Feels the same whenever a project is written in python, but I uninstall it too.
why?
Same, so I’ll only answer for me: Python is dependency hell, also breaking existing code with every second update. Hard pass.
Python versioning is terrible
We are no longer in the Python 2 days. You have lots of wiggle room for using the version you want and are rarely forced to use specific releases.
There still plenty of "this version of pytorch doesn't run reliably with Python 3.12, please use 3.10", though. It's not all sunshine and roses.
pytorch is a unique kind of mess
breaking existing code with every second update
Still remembering python 3 release from 17 years ago?
Prissy little programmers
JavaScript really depends on the people writing it restricting themselves to a sane (ish) subset, just like C++
My personal gripe with JavaScript is how horribly slow it is. C++ at least has the merit of being fast once compiled. I wouldn't feel great contributing to a JS project knowing fully well that a rewrite in a faster language would be 10x as effective as anything I could improve as is.
If you care this much about JS being cringe I don't trust you to contribute good code to a project anyways
People on here really think the language determines the quality of the project lol
I like JavaScript a lot and would be excited by its use in this context.
Unless you are making a HTML/CSS only site (based) what do you want to use instead?
I'm in this photo and I don't like it.
More specifically, my programming background is in industrial automation and I'd like to add some more 'robust and flexible' algorithms to CoolerControl so I can control my system fans / temperature better, but it's written in a mix of TypeScript and Rust.
I've spent 20 years programming hard real-time z80 assembly and know quite a few higher-level languages. (Although I prefer the lower-level ones.) Not those ones, however, so it's not just a couple of hours work to raise a PR against that project. Going to need to crack some books.