Daniel Rotter
danielrotter.at
Daniel Rotter
@danielrotter.at
Studied and lectured Computer Science at fhvorarlberg, coorganizes VlbgWebDev and AgentConf, programming in #php, #symfony, #laravel, #javascript, #vuejs.

Currently working at Yummy Publishing, previously valantic, Sulu and MASSIVE ART.
Another nice example baked into #PHP why having different return types for the same function is a really bad idea. It just results in way more effort to do things right everywhere this function is used.
October 27, 2025 at 2:26 PM
The other day I read a post about an organizer's experiences organizing a meetup. Since mine felt totally different, I thought it might make sense to write that down too. That's what I did in my blog post: danielrotter.at/2025/08/11/d...

#Meetup
Don’t be shy, start your own meetup!
You might think that starting your own meetup might be very hard. Let me tell you the story about the VlbgWebDev meetup, which might change your mind.
danielrotter.at
September 1, 2025 at 7:45 AM
Object creation in tests is tedious, especially when using the constructor, which might change and force you to update many tests.

Hence I like using creation methods to decouple tests from the constructor.

✍️ I wrote a blog post for more details.

danielrotter.at/2025/06/29/t...

#Testing #PHP
Test creation methods on steroids with named parameters
Creation methods are a well-known pattern in testing. But they are even more powerful when used with named parameters.
danielrotter.at
July 7, 2025 at 6:43 AM
Recently I had to send multiple #curl requests in a single #PHP script. Unfortunately the API was a bit confusing to me. Therefore I have written down how that worked, both for you and my future self

🔗 danielrotter.at/2025/04/12/b...
Batch curl requests in PHP using multi handles
Sending many requests in a PHP script might not be a straightforward task, especially if you want to do that in a performant manner.
danielrotter.at
April 16, 2025 at 6:46 AM
💬 Writing changelogs is probably not the favorite task of any developer. But instead of relying on another dependency, it's quite easy to create changelogs with command line tools.

✍️ I have written a blog post showing how I handle this.

🔗 danielrotter.at/2025/03/05/a...

#git #GitHub #vcs #unix
Automatically generate changelogs with git
Generating changelogs is a rather tedious task for developers. But with a bit of discipline it becomes a one-line script.
danielrotter.at
March 17, 2025 at 7:05 AM
Reposted by Daniel Rotter
General AI nit: I'm uncomfortable with it being so agreeable, complementary, and optimistic. Sometimes I want it to be like, "I dunno about that, sounds like a bad idea, but ur the boss."
February 19, 2025 at 3:55 AM
When developing software we use all kind of indirections. Most of the time way to early, causing code to be much more complex than the required.

✍️ Since I ran into such situations, I decided to write them down in a blog post.

danielrotter.at/2025/02/05/t...

#Development #PHP #JavaScript #CSS
The problem with indirections
Indirections are invaluable for programming, since basically every programming concept makes use of one. However, we should still be careful when using them.
danielrotter.at
February 12, 2025 at 12:49 PM
Just read an article claiming that users are not bothered by login screens being split into two forms (one for username and one for the password). Is it just me, or is that completely untrue? I find that pattern extremely annoying, especially when using password managers...

#UX #UI
February 11, 2025 at 7:11 AM
Yesterday I've tried to use #helix instead of #Neovim yesteday for half a day, and even though I like quite some aspects of it (less configuration required, integrated file pickers including support git and buffers) I gave up at some point. 🧵
January 15, 2025 at 9:04 AM
Is it just me, or is the "Show less like this" button in the discover #Bluesky feed not working at all? I am clicking it a lot, and I still see loads of similar messages. It's so bad that there is hardly anything I click "Show more like this" on...
December 16, 2024 at 10:21 AM
TIL that there is a `:Rex` command in Neovim, which opens the netrw explorer and positions the cursor where it was before. That's a total game changer!

#Neovim #TIL
December 12, 2024 at 1:24 PM
Reposted by Daniel Rotter
Honestly, the bad uses of useEffect, useState, and hard to debug re-renders working in the spaces I mentioned above, gave me a large amount of fatigue around React. Just dealing with a large, moving team falling on their face with too many renders in non-obvious ways. Ugh.

So yeah, good thread.
December 10, 2024 at 9:12 PM
Reposted by Daniel Rotter
There are tasks where AI is meaningfully useful for me, but always as an add-on. I got logged out of GitHub Copilot for some reason and I couldn't be bothered to log back in, and so I just didn't use it for a week
December 3, 2024 at 7:12 PM
Reposted by Daniel Rotter
I don't see an AI product that has managed to make its AI "sticky" yet. Like if *all* AI disappeared tomorrow, it really wouldn't break anything for me

All the products I use that have any AI, already need to be able to do things without AI, and usually they aren't much more difficult
December 3, 2024 at 7:07 PM
Whenever a website scrolls somewhere when I click a link I don't trust that I have ended up where I am supposed to. Is that just me?

#Accessibility #Usability
November 26, 2024 at 12:48 PM
From now on I promise to try to close terminal windows using ctrl+d instead of typing `exit`, to avoid having a history filled with `exit`.

#CommandLine
November 26, 2024 at 11:49 AM
Finally moved my website (danielrotter.at) away from #Jekyll. Instead I am using #pandoc with a custom template to render #Markdown and a few bash scripts to generate the sitemap and RSS feed. And while I've been at it, I also moved from #GithubPages to my own server.

#IndieWeb
Daniel Rotter
A blog about web development in general and about PHP, JavaScript, Linux and its command line in particular.
danielrotter.at
November 24, 2024 at 10:40 AM
Reposted by Daniel Rotter
In person.
Where do you think the most educated discourse on tech trends is happening today?
November 18, 2024 at 6:05 PM
Since early in my career I enjoy testing, but often it does not get the necessary attention.

I guess that's because writing good tests is hard. In order to avoid common mistakes I wrote some tips that can help writing high quality tests.

danielrotter.at/2024/10/19/w...

#Testing #PHP #JavaScript
Writing high quality tests
Tests often do not get the attention they deserver especially during code reviews, even though there are some things a reviewer could look out for.
danielrotter.at
November 13, 2024 at 8:13 PM
Reposted by Daniel Rotter
While perusing BlueSky, I came across this meme.

I feel so included! 🥰

😂⚰️
November 7, 2024 at 9:11 PM