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

help-circle



  • I’m not sure when something counts as hype vibes and what the problem with that would be.

    It’s a pretty good editor, way faster than VSCode on my machine, but I’m also missing a bunch of features. Those seem unimportant enough compared to the speed for now, so I’ve switched, but switching editors is easy, so I might switch back later. And if other editors get on my radar, I might try them for a bit too. Hype or not, no real harm done.




  • that will /should probably make their way into JS.

    Not really, IMHO. The main advantage of TS is that it will help you catch errors without having to run a particular piece of code - i.e. you won’t have to move to the third page of some multi-page form to discover a particular bug. In other words, it helps you catch bugs before your code even reaches your browser, so it doesn’t bring you much to have them in the browser.

    (There is a proposal to allow running TS in the browser, which would be nice, but you’d still run a type checker separately to actually catch the bugs.)



  • TypeScript sometimes is the testing ground for the future features of ECMAScript

    They have an explicit policy to only include features that are stage 3 already (i.e. that are pretty much certain to land in the language as-is). The only times they’ve diverged from this is long in the past (I think enum is the main remnant of that, for which I’d recommend using unions of literal string types instead), and experimentalDecorators under pressure from Angular - which has always been behind a flag explicitly named experimental.

    So I really wouldn’t worry too much about that.


  • Then why do you think most business are already writing a separate Android app rather than just optimising their mobile website?

    But “make the mobile version not take up as much screen-space” is not as simple as simply zooming out and just hiding some icon labels. And just the fact that people interact by touch rather than with a mouse and keyboard is already a major adjustment.

    Anyway, I’ll leave it at this, since I feel like there’s not much to gain here for me from the discussion anymore :) Cheers!