Johannes Ewald @johannesewald.de · 01/04/2025Oh ok, that’s a political reference, I didn’t get that. Nevermind 😃 000
Johannes Ewald @johannesewald.de · 01/04/2025I have a vague idea, but I always forget what is what 🥲 100
Johannes Ewald @johannesewald.de · 19/03/2025I thought esbuild produces a single file but maybe there‘s an option 100
Johannes Ewald @johannesewald.de · 19/03/2025What'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. 221
Johannes Ewald @johannesewald.de · 14/03/2025Yes, it was meant to be abstract, not about TypeScript. 020
Johannes Ewald @johannesewald.de · 13/03/2025Is 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 😅) 320
Johannes Ewald @johannesewald.de · 13/03/2025Why "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): 040
Johannes Ewald @johannesewald.de · 23/02/2025To 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 :) 100
Johannes Ewald @johannesewald.de · 23/02/2025As 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?angular.je 100
Johannes Ewald @johannesewald.de · 21/02/2025Not sure what you mean. I don’t see any error in my playground… 100
Johannes Ewald @johannesewald.de · 19/02/2025I agree! Comments should mostly explain the Why, not the What 😃 000
Johannes Ewald @johannesewald.de · 12/02/2025This 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. 010
Johannes Ewald @johannesewald.de · 10/02/2025I don’t know but I wish they’d use Array<Type> as the canonical form :) 100
Johannes Ewald @johannesewald.de · 08/02/2025I 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 😃 010
Johannes Ewald @johannesewald.de · 08/02/2025That‘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 130
Johannes Ewald @johannesewald.de · 07/02/2025Regarding 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.). 010
Johannes Ewald @johannesewald.de · 07/02/2025Regarding 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. 210
Johannes Ewald @johannesewald.de · 07/02/2025Regarding 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. 120
Johannes Ewald @johannesewald.de · 05/02/2025JavaScript 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? 220
Johannes Ewald @johannesewald.de · 04/02/2025I 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! 110
Johannes Ewald @johannesewald.de · 04/02/2025@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. 010
Johannes Ewald @johannesewald.de · 04/02/2025Totally 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. 110
Johannes Ewald @johannesewald.de · 31/01/2025Ha, I was about to recommend Firefox to you, but the UI is not exactly like you described (tabs from different profiles are mixed together) 000
Johannes Ewald @johannesewald.de · 27/01/2025I really like this form of collaboration among "competitors" 👍 041
Johannes Ewald @johannesewald.de · 26/01/2025Interesting 😀 Why did you choose a class with static members? Wouldn‘t an object be more straightforward? 100
Johannes Ewald @johannesewald.de · 26/01/2025Yes, I already read it :) Not sure I really like one of these options 😅 100
Johannes Ewald @johannesewald.de · 26/01/2025Now with erasableSyntaxOnly I‘m asking myself: What‘s a good alternative to enums? Union types are ok, but I personally prefer to reference the enum options (and also be able to count remaining references). Is there a good package that solves enums on runtime? 201
Johannes Ewald @johannesewald.de · 21/01/2025Showing a photograph of the salute is not forbidden. It’s forbidden to publicly perform it. 260
Johannes Ewald @johannesewald.de · 17/01/2025Apparently it is aligned to the edge of the packaging. The closer the score is to the edge, the better 😉 000
Johannes Ewald @johannesewald.de · 14/01/2025Thanks for clarifying it. It also caught my eye but I wasn’t sure whether it‘s just another "hidden" web feature that already existed since day 1 😃 000
Johannes Ewald @johannesewald.de · 13/01/2025The key is when to ask for feedback. I don’t think there‘s a universal rule that applies to all problems, but for most coding work it should be between 1-3 days. I try to push a draft PR at the end of every work day (which doesn’t work out all the time, but that’s the goal I‘m aiming for) 010
Johannes Ewald @johannesewald.de · 13/01/2025I agree. I think this applies to the field of coding as well. When there‘s a tough problem, I like to do a kick-off meeting in the beginning and then to work on my own. Some people prefer to pair all the time and it stresses me out 😃 100
Johannes Ewald @johannesewald.de · 09/01/2025But it would be nice if TS knew how map.has() works 😃 000