Johannes Ewald's Avatar

Johannes Ewald

@johannesewald.de.bsky.social

I've been using Vim for about 2 years now, mostly because I can't figure out how to exit it. Co-founder of @peerigon. Previously working on @webpack.

268 Followers  |  285 Following  |  147 Posts  |  Joined: 02.11.2024  |  1.8325

Latest posts by johannesewald.de on Bluesky

Oh ok, thatโ€™s a political reference, I didnโ€™t get that. Nevermind ๐Ÿ˜ƒ

01.04.2025 22:56 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I have a vague idea, but I always forget what is what ๐Ÿฅฒ

01.04.2025 22:54 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I thought esbuild produces a single file but maybe thereโ€˜s an option

19.03.2025 19:38 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

What tool does Node use under the hood?

19.03.2025 19:37 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

What's currently the fastest way to transpile TS to individual JS files without type checking? We can't just strip types because we use enums.

19.03.2025 09:12 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Is it? Did you check every digit? ๐Ÿ˜ƒ

14.03.2025 12:21 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Yes, it was meant to be abstract, not about TypeScript.

14.03.2025 00:02 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Is this something experienced Rust developers would solve easily or is it something that is just really hard in Rust?

(Iโ€˜ve encountered this in my pet project and I gave up ๐Ÿ˜…)

13.03.2025 18:07 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 3    ๐Ÿ“Œ 0

Why "Choose the right tool for the right job" might be true, but unhelpful (and why choosing the right programming language is less important than people think):

13.03.2025 18:04 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thatโ€™s so cool to see it in a real-world project ๐Ÿ˜ƒ

25.02.2025 18:37 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thank you! ๐Ÿ™ So itโ€˜s not useless ๐Ÿ˜Œ

23.02.2025 18:05 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

To be fair: I donโ€™t maintain it anymore because I donโ€™t use it. I gave edi9999 maintainer rights but theyโ€˜re doing a great job as far as I can tell :)

23.02.2025 17:57 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

As far as I remember I needed a safe way to evaluate expressions without using eval(). I was using Angular.js in a different project back then so I decided to extract "the good parts" ;)

So nice to hear that itโ€™s still of great use for you ๐Ÿ˜Œ. Whatโ€˜s the topic of your talk?

23.02.2025 17:57 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Hat mich auch erwischt ๐Ÿ˜…๐Ÿฅต

21.02.2025 15:12 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Not sure what you mean. I donโ€™t see any error in my playgroundโ€ฆ

21.02.2025 06:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I agree! Comments should mostly explain the Why, not the What ๐Ÿ˜ƒ

19.02.2025 14:19 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

This summarizes my experiences with AI coding assistants so far. After my initial reservations, I started to appreciate them for quick feedback or easy refactorings.

Theyโ€™re impressive for the first 50% of the task, but I often hit the point where I think it would be faster now to do it by hand.

12.02.2025 20:28 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I donโ€™t know but I wish theyโ€™d use Array<Type> as the canonical form :)

10.02.2025 21:15 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

This hurts ๐Ÿคฆโ€โ™‚๏ธ

08.02.2025 22:14 โ€” ๐Ÿ‘ 6    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Nice!!

08.02.2025 18:14 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I hate that AIs are still bad at refactoring code. Thereโ€˜s so much refactoring thatโ€˜s too sophisticated for string replace but too dumb for humans ๐Ÿ˜ƒ

08.02.2025 11:08 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Thatโ€˜s what I did :) I decide against rules that complain about code that works and isnโ€™t flawed in some other way.
I asked @mattpocock.com the other day and he also turned it off

08.02.2025 10:36 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Regarding skipLibCheck: I agree with your sentiment but I often find myself turning it on it big projects. Itโ€™s mostly necessary because of conflicting types in node_modules (e.g. Cypress bringing their own type definitions for Mocha, etc.).

07.02.2025 22:35 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Regarding exactOptionalPropertyTypes: it sounded very promising, but it complained about lot of code that was just ok. Most of the time people donโ€™t distinguish between non-existing properties and undefined and itโ€™s kind of ok.

07.02.2025 22:35 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

Regarding noUncheckedIndexedAccess: Iโ€˜d turn it on. I donโ€™t think itโ€˜s about holes, but rather indices out of bounds. I saw several instances where it caught actual bugs in sloppy code.

07.02.2025 22:35 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Very interesting, you covered everything ๐Ÿ˜€

07.02.2025 22:35 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

JavaScript devs: when your backend is written in another language and it returns snake_case, do you transform them to camelCase or keep them as they are?

05.02.2025 09:44 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 2    ๐Ÿ“Œ 0

I gave it a shot:

So lassen sich mit CSS, JavaScript, SVG und Canvas bezaubernde Interaktionen und kleine magische Details gestalten.

Hier verrate ich meine besten Tricks!

04.02.2025 23:57 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@joshwcomeau.com Iโ€˜d go with this translation, it sounds very natural to me :)

Only change Iโ€˜d make: instead of "reizende Details schaffen kannst" Iโ€˜d use "reizende Details kreierstโ€œ, but thatโ€˜s just my personal taste.

04.02.2025 23:14 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Totally agree with this one :)

For the best result, youโ€˜d need to translate it more freely. The other translations here are correct, but they still sound translated.

04.02.2025 22:43 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

@johannesewald.de is following 19 prominent accounts