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.
Jeroen retweeted
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…
Jeroen retweeted
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
Jeroen retweeted
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…
Jeroen retweeted
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.
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
Jeroen retweeted
I analysed how the top-1000 packages on packagist use #PHP attributes. Here are a couple of numbers:
Jeroen retweeted
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.
Jeroen retweeted
Just blogged: "Too much magic?" matthiasnoback.nl/2022/03/to…
Jeroen retweeted
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.
Replying to @matthiasnoback @szarektech @afrasiyab_haidr @symfony @taylorotwell @jeffrey_way @laracasts @LaraconEU
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).
Jeroen retweeted
💫 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…
Jeroen retweeted
ElasticSearch Driver for Laravel Scout laravel-news.com/explorer posted by @paulredmond
Jeroen retweeted
"Advanced Web Application Architecture" is on sale this week: leanpub.com/web-application-… Get it for $20!
Jeroen retweeted
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
Jeroen retweeted
Dockerizing a Laravel application in 15 minutes jeroeng.dev/blog/dockerizing…
Jeroen retweeted
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
Jeroen retweeted
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.
😘
Jeroen retweeted
📗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

























