• 0 Posts
  • 9 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle




  • Not true, in the absolute worst case, unknown is what you should be reaching for, but it’s pretty rare that you can’t create some kind of type to interface with JS if it’s not already got types. You can even use jsdoc comments as type hints in the JS too if you own that code.

    My not particularly hot hot-take: There’s basically no legitimate use case for any apart from “I don’t have time to type all this now, because I’m converting a massive project from JS to TS”



  • 9point6@lemmy.worldtoProgrammer Humor@lemmy.mlMy poor RAM...
    link
    fedilink
    arrow-up
    13
    arrow-down
    1
    ·
    edit-2
    1 year ago

    I will say that unless something’s changed in Windows recently, the win32 API webview is still a vestigial version of internet explorer due to Microsoft’s obsession with non breaking changes (not saying that’s a bad thing)

    Given I lived through those years as an engineer, I completely understand people wanting to avoid that particular ancient eldritch horror.

    Edit: apparently there’s webview2 now based on edge (and therefore chromium), I take it all back


  • 9point6@lemmy.worldtoProgrammer Humor@lemmy.mlMy poor RAM...
    link
    fedilink
    arrow-up
    84
    arrow-down
    2
    ·
    edit-2
    1 year ago

    Wouldn’t it be great if there was a way for all these electron apps to share the same runtime so people don’t have to bundle it with their applications.

    You know, I bet if the applications without the runtime are small enough, you could probably stream them directly from the internet without even downloading anything up front!

    I guess that shared runtime would need some way to browse the applications…

    ^(vscode gets a pass)