

What do you still need babel for?
The only features that come to mind for anyone who needs to reach out to babel today would be those working on the tc39 proposals themselves.


What do you still need babel for?
The only features that come to mind for anyone who needs to reach out to babel today would be those working on the tc39 proposals themselves.


What do you mean about animations?
Every use-case I can think about is already well supported by vanilla css/js without libraries or frameworks. (not including really out-there use-cases like game engines or image editors)
Can you give an example?


DOM attributes are built for browsers and frameworks to take advantage of.
The style of some of those frameworks to stick symbols in there is downright weird. But that only goes against those particular frameworks. It doesn’t impact how good DOM attributes actually are.


Svelte uses labels, so Svelte itself is weird compared to everything. Except in a way to assembly and 50s goto-control-flow styled code.


But why bother with creating a new language
I can just do
items.map(item => 〈Item key={item.id} item={item} /〉)
I don’t think this is a very good example. You’ve just said not to use a new language, then used JSX, a new language.


I have yet to be given an example of something a “general” intelligence would be able to do that an LLM can’t do.
Presenting…
Something a general intelligence can do that an LLM can’t do:
Play chess: https://www.youtube.com/watch?v=kvTs_nbc8Eg
Why can’t it play it? Because LLM’s don’t have memory, so they can’t work with logic. They are the same as the little “next word predictor” in your phone’s keyboard. It just says what it thinks is the most probable next word based on previous words, it’s not actually thinking or understanding anything. So instead, we get moves that don’t make sense or are completely invalid.


My long bet: The EU will force Google Search + Ads, to separate from Youtube within a decade.


Did you purge and update your filters?
Note: I’m not talking about turning filters off then back on, I’m talking about updating the version of each filter itself.


it looks like JS/TS with arrow functions.
JS/TS already has arrow functions.


That’s not pro, that’s just reckless gambling.


It sounds like to me that you’ve taken your knowledge of your commonly used languages for granted, and assumed a new language would be just as easy. But if you watch a developer who is dipping their toe into that ecosystem for the first time you’ll find them making mistakes and running into footguns you didn’t know were possible.
Regardless of the language, not having a proper guide leaves devs susceptible to the incorrect blogospam that’s out there, where engagement is rewarded over correctness.
Ignore all of the blogospam.
The two things you need to know:
Here’s my shortened version of number 2.
The beginning:
The false start:
The resumption:
async/await/Promise() syntax sugaring, to make asynchronous programming easier (rest/spread operator) syntax sugaring, to make destructuring and variadic functions easier?? Nullish coalescing operator syntax sugaring??=/&&=/||= Logical assignment syntax sugaringThe current state of things
Language-wise
Runtime-wise
Standard workflow
Tooling wise
For your simple fibonacci example:
console.log() and see result in browser’s console.Deno.serve() and see result in network requests/responsesconsole.log() and see result in terminal

This comment just seems weird no matter which angle I try to approach it from.
immature tooling ecosystem
It’s over a decade old now. I wouldn’t call that immature.
Looking at your linked comment…
following a basic tutorial somehow ended up spending multiple seconds just to transpile and run “Hello, World!”.
hello.ts containing: console.log("hello world");deno run hello.ts (time taken to run command: 0.037s)[…] 3 different ways of specifying the files and settings you want to use […] 3 incompatible ways to define and use a “module”
Yes, that tends to happen as ecosystems evolve over time. Typescript allows developers to use modern standards-compliant modules, while maintaining backwards compatibility for older code.
embracing duck typing means […]
One of typescript’s strengths is that its type system isn’t all or nothing. Typescript will support duck typers, but it isn’t forced or limited to that. You can add as much or as little typing as you want. In theory, this means that the language supports simple beginners up to experts creating turing-complete theorem solvers at compile time. In practice, this means a much smoother onboarding and porting experience.
Have a “generalized fibonacci” module taking 3 inputs […]
I’m not sure if this is the basic problem challenge or the hello world example was. It seems a bit ambiguous as to what you really want, but it’s easy to create a module that takes inputs and produces outputs while running on backend servers, in browsers, and in CLIs.


Honestly, the best thing to do is just to stream your gameplay to your own private youtube or twitch.
Then when the bug happens you can “clip” out the video and send them a link in the bug report.


I’m curious why people would downvote a request for port forwarding?




I thought I loved ts-node, since it’s a good patch over some annoying issues in node.
But I retried deno a few months ago (after having first tried it when it first came out) and I realised that I only ever liked ts-node, and that I actually loved deno.
Deno just ran ts as if it was ts-node without needing a dependency, or startup time, or any prior setup, and it did it so fast I thought something was wrong. It was great.


I absolutely understand OOP, its explosion took over everything that took a long time to recover from.
The problem with OOP is that it’s pushed as a cure-all both by teachers who do not the problems it solves and also do not understand its own limitations.
In almost every situation where OOP makes sense, something else makes more sense to use.


Interesting…
Every IDE and editor (gui and tui) I’ve used has always come preconfigured with a tab-size of 4.
The only thing I’ve ever experienced having a tab-size of 8 was github, and I thought that was just a problem with a setting from github’s size that I quickly set back to 4.
It seems that tui editors come with tab-sizes of 8 only when a config isn’t provided, and every environment I’ve used where I’ve used a tui editor has always come with sensible configs (for things like config location, language recognition for syntax highlighting, etc…) including a tab-size of 4.


The horizontal tabulation character moves the cursor to the next column which is a multiple of the tabulation length. See the examples here: https://en.m.wikipedia.org/wiki/Tab_key
Yes
Clearly the whitespace produced by each tab character has a different length.
No, each tab has the same size, the text rendered over the top of the tabs are not the same size.
Always remember the golden rule: Tabs for indentation, spaces for alignment.
I think you’re forgetting about the Animation API.
Example: making something flash once to get a user’s attention
Use CSS animations everywhere you can, but if you need to be able to hook into an animation (to dynamically change the speed, cancel something, sync animations together, etc…) you should be using the Animation API.
There’s never a need for jQuery.