Jeroen (@jeroen_dev) profile picture
Joined February 2019
Photo by Jeroen (@jeroen_dev)Photo by Jeroen (@jeroen_dev)Photo by Jeroen (@jeroen_dev)
Jeroen retweeted
Where the hell is that console.log coming from? Add this script via the --import CLI argument and it will show you where those console methods are being called.
18
41
2
522
71,632
If being sentient is the condition for granted unalienable rights to AI, then we should give rights to all humans first. If you defend AI rights without defending human rights, the logical conclusion is that you have a hidden agenda.
My new essay @TheHill argues we need an AI rights movement. AIs are no longer just tools. They are quickly becoming digital minds integrated in society as friends and coworkers. The future turns on whether and how we include them in the moral circle. 🧵thehill.com/opinion/cybersec…
1
8
26
6,846
A common mistake in React: Mixing fetching, formatting, logic, and JSX. This works fine in small components. But it’s hard to maintain and test as complexity grows. Instead, keep components simple: ✅Avoid embedding complex logic in JSX ✅Extract state management to custom hooks ✅Extract plain logic to classes or pure functions
21
68
1
535
147,133
1/ What makes a great developer experience? Here are some of my opinions on what separates great frameworks, libraries, APIs, and documentation from the rest. leerob.io/blog/developer-exp…
13
64
12
345
Would it be nice if the code we wrote automatically turned into architecture diagrams? I recently discovered a Github repo that does exactly this: Diagram as Code for prototyping cloud system architectures.
86
825
66
5,220
Jeroen retweeted
Next.js Layouts RFC ◆ Nested routes / layouts ◆ Designed for Server Components ◆ Fetch in layouts while avoiding waterfalls ◆ React 18 features – startTransition, Suspense ◆ Client and server routing ◆ 100% incrementally adoptable nextjs.org/blog/layouts-rfc
59
420
147
1,876
I analysed how the top-1000 packages on packagist use #PHP attributes. Here are a couple of numbers:
1
12
1
63
You can use Enums instead of Models for your implicit bindings 🚀 Just create an Enum definition, and then type hint the enum class into your route callback function If the value of parameter is not defined in the enum, Laravel will return a 404 HTTP response #Laravel #php
31
1
111
Grouping by concern is a huge benefit to the discoverability of your codebase and helps new developers onboard quicker. At the top they see which high-level things are relevant to them while allowing them to dig deeper with high precision.
5
1
1
10
A common objection against decoupling is: but we'll never switch to a different database, ORM, framework, etc. Who does that? 1. I've done it, more than once (and even a major upgrade can feel like a complete switch). 2. I don't decouple because I need to switch. See below.
Also, for me, applying these patterns is not about preparing for a database switch. It's to separate domain logic from infrastructure, so 1. I can invoke/test it in isolation 2. It's clear what external services my app relies on 3. It's clear why I need them (abstraction).
2
16
2
53
💫 iterator-funtions is a package to help working with generators and other iterators. It's a familiar API based on array functions. 👌 Iterators help with preserving memory while working with large datasets. github.com/doekenorg/iterato…
2
10
Jeroen retweeted
the french vaccination ad campaign is just *so good*
942
53,714
8,710
139,766
In the article you will work through three projects with increasing complexity. These projects are as follows: 1. A single container Vue application 2. A multi container Express API 3. A full-stack CRUD application with nginx as a reverse proxy https://teapawt.net/t.co/y7GQn36upo
1
61
1
170
The use of mocking frameworks can hurt the maintainability of your code. I wrote a blog post (2000+ words, with code samples) about testing without mocking frameworks: blog.frankdejonge.nl/testing… #php #testing
9
48
11
163
We all need some wins these days, am I right? I’m gonna give away a Statamic license ($199) every day this week. Follow & retweet and I’ll pull one at random each day around 6pm EST. 😘
11
260
9
153
📗We're raffling 5 copies of The Object Design Style Guide by @matthiasnoback matthiasnoback.nl/book/style… 🎁 To enter RT this tweet. We'll pick the winners early next month. Come see Matthias speak and teach a workshop at @fullstackEU 🎟 Tickets available: fullstackeurope.com
2
32
3
3