this post was submitted on 18 Jul 2023
746 points (93.2% liked)

Programmer Humor

37270 readers
29 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
(page 2) 45 comments
sorted by: hot top controversial new old
[–] MajorHavoc@lemmy.world 2 points 2 years ago

In this thread: A lot of developers who don't understand that my burning hatred of VBScript, and JavaScript's subsequent redemption of my sanity - do not combine to cause me any less bunring hatred toward JavaScript.

Yes, the meme is objextively false. I was there, and none of us dressed that well.

Cliff notes for any newbies trying to navigate what to think of all this:

  • VBScript was deeply flawed.
  • JavaScript is deeply flawed.
  • TypeScript exists for a bunch of really good reasons.
  • Old programmers only bitch about new technology and old technology.
  • To get as much hate at JavaScript gets, it has to be useful. JavaScript is incredibly useful.
[–] Cosmocrat@lemmy.dbzer0.com 2 points 2 years ago (1 children)
[–] barryamelton@lemmy.ml 2 points 2 years ago* (last edited 2 years ago) (1 children)

Wasm is the stack created by the Wasm architecture spec and its instructions, an interpreter for that (think VM), and whatever language you are compiling into Web Assembly (js, go, rust, python, c#...). More and more languages are gaining support to compile them to Wasm (the same way they can be compiled to amd64, arm architecture, etc).

It's like comparing apples with a grocery store. Also, yes Wasm is better!

[–] superminerJG@lemmy.world 2 points 2 years ago (1 children)

once webassembly can directly interface with the DOM I will happily switch to writing my webapps in C++

[–] barryamelton@lemmy.ml 1 points 2 years ago* (last edited 2 years ago)
[–] dark_stang@beehaw.org 2 points 2 years ago

I love javascript and how loosey goosey it is, I must be the odd one out. Then again my apps tend to be database driven so it's mostly just a UI and very thin API layer.

[–] nothacking@discuss.tchncs.de 2 points 2 years ago* (last edited 2 years ago)

Here is a random rant on JS (among other things): https://10maurycy10.github.io/misc/in_defence_of_c/

[–] vext01 1 points 2 years ago

It's a gross language, but then is it any worse than Lua?

[–] BillTheTailor@lemmy.ml 1 points 2 years ago (1 children)

Don't blame the tool just because you lack the skill or training to use it well.

load more comments (1 replies)
[–] RagingRobot@lemmy.world -1 points 2 years ago (1 children)

That's only what people inexperienced with JavaScript say lol. I have used it for many things over the past 15 years I have been an engineer. Frontend and backend and on different client device and I love it more and more everyday. It's just easy to use. You can still use all of the same oop patterns you would use in any other language but it's not as strict out of the box so I guess that's fine that people might not be aware but it's pretty powerful now for such a high level language.

[–] Swiggles@lemmy.blahaj.zone 4 points 2 years ago

I worked on projects using C++, C#, PHP, Python and JavaScript, also Typescript. I learned programming with C. So I am at least at a professional or competent level at each of them.

The language I am most productive in is JS. There is barely any boilerplate, it is easily writeable and supports multiple paradigms. Personally I prefer Typescript and I make it a requirement for projects I lead. I use it for everything unless it is a native application in which case I use C++. Just the language features of JS, compatibility, tooling, platforms where you can run it and so on makes it easily the most useful language on the list. I don't even consider Python, C# or Java over JS. None of them are any faster or better designed languages, except for C# and that's mostly improved by TS.

load more comments
view more: ‹ prev next ›