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.
Would have written it something like this. Don't get why they made the parentheses mandatory though, in JavaScript I would have written it without them.

For some totally subjective reason I find switch(true) or match(true) weird 🙈 But it definitely is better than a nested ternary in a single line 🙂
October 22, 2025 at 10:47 AM
When they are spread over multiple lines and indented correctly they are find IMO.
October 22, 2025 at 9:21 AM
I also like them to be as short and clear as possible. I don't like it when it feels like computers have a personality, I prefer them to be very blunt.
May 14, 2025 at 6:14 AM
Using mastodon instead of bluesky would be a start 😉
March 3, 2025 at 9:47 AM
Yeah, totally agree with that, that's also why I would use the AWS SDK, which handles signing the request. But I was specifically talking about elastica or elasticsearch-php, I am not aware of similar functionality in these libraries.
February 27, 2025 at 7:10 AM
Genuine question: When do you think it would be useful? I just checked the examples on www.elastic.co/guide/en/ela..., and I don't see anything that would warrant pulling in another dependency. The code shown there is not much simpler than using any HTTP client to send those requests.
Getting started | Elasticsearch-PHP [8.17] | Elastic
www.elastic.co
February 26, 2025 at 10:25 AM
I am also trying to avoid those SDKs as much as possible. That also includes stuff like elastica, since this is a very thin layer around the HTTP API. I don't see how these dependencies are helping, and it makes changing the actual dependency hiding behind the SDK even harder.
February 26, 2025 at 8:38 AM
At least for me the problem is that many people set up something like this for every project, even if HTML+CSS (maybe with a few sprinkles of JavaScript) would have been more than good enough. And compared to that a framework is definitely complicated 😉
February 17, 2025 at 10:50 AM
OK, just read it again, I'm not sure if he is talking about login or registrations anymore… Still, I don't like it in either case, and lots of websites do this with login screens as well…

I wasn't sure if I wanted to share the article, but since you ask: www.smashingmagazine.com/2017/05/bett...
Better Form Design: One Thing Per Page (Case Study) — Smashing Magazine
Adam Silver redesigned Boots.com so that each panel became its own page, removing the need for accordions and AJAX. This inconspicuous and humble UX pattern is flexible, performant and inclusive by de...
www.smashingmagazine.com
February 11, 2025 at 8:20 AM
Oh, and something I forgot (and did not test yesterday) is that apparently the debugging experience is not that nice currently, at least that's what this issue suggests: github.com/helix-editor...
Debugging overhaul and redesign · Issue #5950 · helix-editor/helix
Description The current debugging experience is less than ideal. While challenges are expected with TUI editors, the current experience is, to put it bluntly, raw. It is hard to launch or stop sess...
github.com
January 15, 2025 at 9:04 AM
And another thing I am a bit afraid of is that vim is installed on almost any server out there, so it would be nice not to lose the muscle memory of using vim...
January 15, 2025 at 9:04 AM
The x key for selecting entire lines works in a really strange way, since it behaves differently depending on if the line you start selecting on is empty or not: github.com/helix-editor...
`x` on blank line selects including the following line · Issue #3077 · helix-editor/helix
Summary Having the cursor on an empty line and pressing x, the newline character plus the following line is selected. Reproduction Steps I tried this: hx test.go Move cursor to a blank line Press x...
github.com
January 15, 2025 at 9:04 AM
I am a big proponent of using a .editorconfig file to ensure that the most basic code formatting is the same for everyone working on the same project. However, #helix does not support that yet: github.com/helix-editor...
January 15, 2025 at 9:04 AM
Biggest issue for me is when using #helix with #phpactor auto completing variables always results in two dollar signs. I am going to write an issue about this the next days, since this is obviously a bug (not sure if in #helix or #phpactor though). But there are also other things missing.
January 15, 2025 at 9:04 AM
I mean I still see chatbots today, but most of the time it is just annoying that they are blocking some UI elements I would rather use 🙈
January 10, 2025 at 9:00 AM