Viewing profile — w3news
w3news
HN member- Joined
- Mon, Jul 13, 2015, 10:05 AM UTC
- HN karma
- 165
- Public activity
- 41 items
- HN profile
- View on Hacker News ↗
About w3news
Recent public activity
-
comment
Comment #46271978
Thanks, I use JSDoc for several years, and also validate it with Typescript. So I just write plain Javascript with JSDoc, with no build step. Typescript only validates the types, a…
-
comment
Comment #45978647
Microsoft just fork Atom, and Atom had already good and a lot of extensions. Before Microsoft buy Github, there was no reason to switch to VSCode instead of Atom. When Microsoft bu…
-
comment
Comment #45100933
Next.js is indeed not very open for feedback. Next.js is also opinionated. So if you are using Next.js, you can use what they have and do it their way. If there is something, just …
-
comment
Comment #44579615
To be a better programmer, write little proofs in your code. We call that tests and types, proof that it should do what you expect. Especially when writing tests first, then types,…
-
comment
Comment #44394564
I remember that I did the same in 2005-2006, just combine XML with XSL(T) to let the browser transform the XML into HTML. After that, also combined XML with XSL(T) with PHP. At tha…
-
comment
Comment #41622649
Emission zone shouldnt be the issue, it is about the amount of cars and road safety for every user. Check e.g. the Dutch road design, where many kids ride bikes. This is already fo…
-
comment
Comment #39821080
When you build an API, please start with the OpenAPI specification, before you write any code for your API. It can be iterative, but for every part, just start with the OpenAPI, an…
-
comment
Comment #39667171
I like the idea, think about what you really need, keep it simple. I also try to move centralized computing to decentralized computing more and more. And that can also be done to l…
-
comment
Comment #39477971
So true, we build large complex frameworks, abstractions over abstractions. Try to make things easy to build and maintain. But I think the problem is that many developers that usin…
-
comment
Comment #39258744
Too mad that we have to hack our car to customize it. We can reinstall computers very easy, choose the OS you like. But cannot do something on our car. Old cars, you can modify eve…
-
comment
Comment #39257890
I love to build extensions. Such a nice thing they made website source easy to read and manipulate for your own usage, and can even share your modifications to build an extension. …
-
comment
Comment #39257863
There is a standard for browser extensions. I build also browser extensions before the standard. So you can build now a browser extension that works in Chrome, Firefox, Edge and Sa…
-
comment
Comment #39130251
Good old times, when the web was simple, and more decentralized
-
comment
Comment #38375502
ESM is a defined default you find back in ECMA specifications. That is why everybody should migratie. Node.je is also moving ESM to the default. If some systems dont do it, dont us…
-
comment
Comment #38371528
That it why i use native functions. No typescript syntax, no jest. For testing i use just the native test runner, and that works great with ESM. Jest has indeed still not good ESM …
-
comment
Comment #38362789
Why not using Node how it is designed, than ESM works great. For type checking on development, you can do it with ESLint and JSDoc in Typescript modus. You have the same type check…
-
comment
Comment #38275375
I was expecting nearly 100 Linux versions, but wow, it is even 100 if you just count all Linux versions as a single OS.
-
comment
Comment #38024160
It is type safety at runtime. Typescript gives you some type safety at develop time (like jsdoc also can do) But if I read it right, this helps you to generate OpenAPI spec to vali…
-
comment
Comment #37977253
Typescript wil not help, you can create the same mass. What me helped is to write almost all code functional and not oop. Every method had just 1 way data can in and out the method…
-
comment
Comment #37975383
Funny thing is that a lot of developers like that JavaScript received class support, and makes it easier to write oop. Many people dient understand 'this' in JavaScript, and ways a…
-
comment
Comment #36772439
Why need another dialect if you can just use Javascript. I think most people don't really know Javascript, and what is possible. Most arguments to use Typescript are not good argum…
-
comment
Comment #36772307
I think, if you write server code / command line apps. It is better to choose for Javascript over Typescript, so you don't have the translation, and you know the system where you r…
-
comment
Comment #36772222
I always say, Typescript is no language but a dialect. JavaScript is the official language that will used in production. You can talk in a dialect, but for official things you have…
-
comment
Comment #36396456
Isnt this make it possible to write easier bad designed code structures?
-
comment
Comment #30794817
JS: [b,a] = [a,b];