Advertisement · 728 × 90

Posts by Johannes Ewald

Oh ok, that’s a political reference, I didn’t get that. Nevermind 😃

1 year ago 1 0 0 0

I have a vague idea, but I always forget what is what 🥲

1 year ago 1 0 1 0

I thought esbuild produces a single file but maybe there‘s an option

1 year ago 1 0 1 0

What tool does Node use under the hood?

1 year ago 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.

1 year ago 2 1 2 0

Is it? Did you check every digit? 😃

1 year ago 1 0 0 0

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

1 year ago 3 0 0 0
Advertisement

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 😅)

1 year ago 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):

1 year ago 3 0 0 0

That’s so cool to see it in a real-world project 😃

1 year ago 0 0 0 0

Thank you! 🙏 So it‘s not useless 😌

1 year ago 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 :)

1 year ago 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?

1 year ago 0 0 1 0

Hat mich auch erwischt 😅🥵

1 year ago 1 0 0 0

Not sure what you mean. I don’t see any error in my playground…

1 year ago 0 0 1 0

I agree! Comments should mostly explain the Why, not the What 😃

1 year ago 0 0 0 0
Advertisement

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.

1 year ago 1 0 0 0

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

1 year ago 0 0 1 0

This hurts 🤦‍♂️

1 year ago 6 0 0 0

Nice!!

1 year ago 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 😃

1 year ago 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

1 year ago 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.).

1 year ago 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.

1 year ago 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.

1 year ago 2 0 1 0

Very interesting, you covered everything 😀

1 year ago 2 0 1 0
Advertisement

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?

1 year ago 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!

1 year ago 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.

1 year ago 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.

1 year ago 1 0 1 0