this post was submitted on 22 Oct 2023
591 points (95.7% liked)

Programmer Humor

32011 readers
894 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 9 points 10 months ago (1 children)

Why would you be using JS in this scenario?

[โ€“] [email protected] 2 points 10 months ago* (last edited 10 months ago) (2 children)

Node.js, electron ๐Ÿคทโ€โ™‚๏ธ

[โ€“] [email protected] 2 points 10 months ago (1 children)

Something has gone horribly wrong if you're trying to do such optimisations when you've already chosen JavaScript...let alone Electron.

[โ€“] [email protected] 2 points 10 months ago (1 children)

And yet it happens, just look at the molasses that is Teams

[โ€“] [email protected] 2 points 10 months ago

Thankfully the only interaction I have with teams is when a supplier arranges the call. Once every two weeks. It grosses me out every time...and that's the Web app.

Do you really think they have done such optimisation efforts as minimising function calls? I can't imagine it's required for what is actually a fairly simple frontend app. The complexity is the enabling stack on the backend.

[โ€“] MajorHavoc 1 points 10 months ago* (last edited 10 months ago)

Good answer.

Even if it made me throw up in my mouth a little. /s

Edit: Not the concept of Electron, itself - but being asked to write highly performant code in Electron.