Based Count head admin.

Some of the tools I’ve created:

I speak: 🇮🇹 🇬🇧 🇫🇷

  • 0 Posts
  • 16 Comments
Joined 1 year ago
cake
Cake day: July 17th, 2023

help-circle
  • Interesting. Like I said in another comment in Italian it means exactly what I said. From the first line on the topic on Italian wikipedia:

    A vasistas (also written wasistas) is a type of window that is also opeaneable on the inside […]. The system allows the door to rotate down and the opening is delimited by special stops, called opening delimiters.

    But apparently, after reading the French wikipedia page they use that word for something else. So it appears that we did steal the word from them, but used it to describe something different.










  • Then I guess this is what you get for talking about something without knowing what it is lol.

    As another user pointed out, TypeScript is a different language (.ts extension) that extends JavaScript, meaning JS code is valid TS code, but TS adds various language features for type checking. Your editor is then able to interpret your code according to these type structures and warn you if you are making any stupid type errors like this one:

    The problem many people have with TS (such as the “big projects” mentioned by Fireship) is that sometimes you end up having code that works but still have to do some weird type gymnastics to please the TS compiler and have it remove any errors and warnings.

    That being said, frameworks that “create really weird undecipherable minified JS” do have their place, as they allow you to seamlessy do things that would be either very inelegant and verbose or significantly more complex in vanilla JS, but I won’t bore you with an excessively long wall of text.

    PS: I love your Czech flag website. Had me jump on my chair when the music started blasting through my headphones.



  • There’s no real alternatives to JS “for websites” (meaning on the frontend, the part of your code that gets executed on your client’s browser). That’s what JS was invented for and what it does best.

    I say “no real alternative” because technically we also have WebAssembly, which is a tool that allows you to run code written with any language on the web, but if you indeed are a beginner approaching to web development you should just forget about this for now and stick to JS as you learn.

    Of course this doesn’t mean that you can’t use Python on your backend, your server.


  • I think there’s a positive coming from this competition, though. Apparently this infighting has re-lit the want for type annotations to be embedded in vanilla JS (ECMAScript proposal). I feel like this would be the ideal scenario: things working right out of the box without needing a compile step or additional tooling.

    You can get as close as it gets to this experience by using alternative runtimes such as Deno or Bun, which have native TS support (meaning you can just execute a .ts file without having to transpile it), but of course as soon as you have to write code for a browser you are back in the middle ages.