this post was submitted on 22 Oct 2023
632 points (95.8% liked)

Programmer Humor

32394 readers
841 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] 10 points 1 year ago (1 children)

Why would you be using JS in this scenario?

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

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

[โ€“] [email protected] 2 points 1 year 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 1 year ago (1 children)

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

[โ€“] [email protected] 2 points 1 year 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.

[โ€“] [email protected] 1 points 1 year ago* (last edited 1 year 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.