Recent submissions

Comment · 1 year ago
I personally believe ActiveRecord is a gigantic anti-pattern and should be avoided at all costs (by anyone, ever). And I also happen to have had very bad experiences with ORM and feel like most of the time they are not needed at all. So yes. But even if you want an ORM, there's a few popular ORM libraries. You can just include one and start using it, no need to use a framework for that (for ActiveRecord I wouldn't know).
Comment · 1 year ago
My advice is to just use standard library `database/sql`. Every abstraction on top adds extra complexity and isn't really necessary. Just execute a query, map the results, and there you go.
Comment · 1 year ago
> While you’re still researching the best SQL library for a project

People do this? In every language I've worked with, there's practically just one SQL library to use. And you just write a query, execute it, and map some results. Very basic.

Comment · 1 year ago
Could you give a few examples what such frameworks provide that you need, that Go plus a few simple libraries doesn't provide?
Comment · 1 year ago
> If I want an all inclusive MVC (or similar) web development framework with all batteries included

I think that maybe you shouldn't want that. Go is a simple language with a very extensive standard library. It's quite easy to do most things you would want by just writing some code, leveraging the standard library, and maybe including a handful of external libraries. Frameworks are not needed and will eventually just get in the way.

Comment · 1 year ago
You might not need a cache. In my previous company (~7 years) all teams around me were introducing caches left and right and getting into a lot of complexity and bugs. I persevered and always pushed back adding caches to apps in my team. Instead focusing on improving the architecture and seeking other performance improvements. I can proudly say my teams have stayed cached-free for those 7 years.
Comment · 1 year ago
What does integrated with KDE mean? I use Firefox, but cannot imagine any type of integration that I really need.
Comment · 1 year ago
> That looks like more XSS vectors.

Could you elaborate on that? I don't understand how this leads to more XSS vectors.

Comment · 1 year ago
You're mistaken. This is no joke.
Comment · 1 year ago
Was it your intention that the dancing stick figure gives people nightmares?
Comment · 1 year ago
stick is life
Comment · 1 year ago
I forgot to follow up on this, I don't know how to make HN give me some kind of a notification on replies to my comments.

I should have been a bit more clear. I love memory safety. But I dislike a lot of other aspects specific to Rust. I would much prefer e.g. C with memory safety (somehow). So that is, for me, why not Rust. Rust is more more than just memory safety.

Comment · 1 year ago
Last I checked WASM applications are single threaded, not sure if that's changed. GC is concurrent, but not parallelized.
Comment · 1 year ago
Zig is a completely different language than Rust. Memory safety is just one aspect. I personally find Rust to be very difficult to read and can never manage to be productive in it.
Comment · 1 year ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton