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

help-circle
  • I believe there was an experiment making weather data more accessible through the URL bar, e.g. when people start searching for weather there, which could be useful. Presumably, telemetry like this can help determine which of such features to prioritise.

    I could indeed also imagine ads, but then not based on keeping a file on you with all your interests and sharing that with advertisers, but by locally choosing between a couple of categories of ads and showing the ones that are related to your current search, without anyone having to know what you’re actually searching for.










  • 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.


  • Theoretically, yet everything I make by myself turns out ugly with it. Tailwind has just enough constraints to protect me from my own dumb stylistic choices.

    I’d also even argue that my source is less indecipherable - the challenge in reading CSS is not how it’s laid out, but forming a mental picture of how the rules combine to shape your layout, and meanwhile, it does remove an abstraction that I was no longer using (in certain projects - I wouldn’t use Tailwind everywhere).






  • 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!