Live data from Hacker News

Viewing profile — kelafoja

kelafoja

HN member
Joined
Fri, Mar 14, 2025, 9:05 PM UTC
HN karma
23
Public activity
17 items

About kelafoja

No profile information was provided.

Recent public activity

  1. comment
    Comment #43765568

    You know that there are more friendly sounding ways to give this suggestion, right?

  2. comment
    Comment #43765553

    > A procedual implementation will necessarily have the same essential complexity as the regex it replaces I don't think I fully agree with this, and I don't see a basis for why thi…

  3. comment
    Comment #43765539

    That is quite a generalization. The regex engine is tested, but my specific regular expression isn't. My ability to write correct regular expressions is weak, so there can be many …

  4. comment
    Comment #43750627

    My problem is that regexes are write-only, unreadable once written (to me anyway). And sometimes they do more than you intended. You maybe tested on a few inputs and declared it fi…

  5. comment
    Comment #43693796

    I agree, there are only superficial similarities. Like they're all 3 C-based. And Go and Rust both compile to machine code. I believe once one of the creators of Go mentioned that …

  6. comment
    Comment #43515361

    Thanks. I was starting to get pretty insecure about it. I don't actually know why in my brain it was tightly linked to only database access. It makes perfect sense to apply it to o…

  7. comment
    Comment #43506822

    Naturally, Repository is a pattern for data(base) access, so it should have nothing to do with objects that are not persisted. I used "entity" as meaning a persisted object. That w…

  8. comment
    Comment #43505014

    Thanks, that makes a lot of sense. I don't have a whole bunch of experience with SQLAlchemy itself. In general, I prefer not to use ORMs but just write queries and map the results …

  9. comment
    Comment #43504950

    Thanks. In my mind, anything about complex structures of (abstract) classes and/or inheritance trees has nothing to do with a Repository pattern. As I understand it, Repository pat…

  10. comment
    Comment #43504532

    Could you give me some insights what the possible alternative was that you would have rather seen? I am either now learning that the Repository pattern is something different than …

  11. comment
    Comment #43504502

    What is the alternative that you use, how do you provide data access in a clean, separated, maintainable way? I have seen it a lot in my career, and have used it a lot. I've never …

  12. comment
    Comment #43503551

    Could you explain how repository pattern is a "huge overkill that adds complexity with very little benefit"? I find it a very light-weight pattern and would recommend to always use…

  13. comment
    Comment #43464141

    I was so in love with Delphi 7 (didn't care much for Delphi 8, didn't try any version after). I don't think I've ever been more excited about a programming language/environment as …

  14. comment
    Comment #43444167

    But the explicit goal of this project is not to evolve, but to rewrite 1:1. Also making progress bars and colors does not require Rust, it's equally possible in C, C++, Zig, Go, Sw…

  15. comment
    Comment #43440744

    Missing squeel (sql) and chason (json).

  16. comment
    Comment #43403889

    Perhaps for those who would not like to buy cars from China.

  17. comment
    Comment #43367324

    One of things I find challenging is understand the meaning of the word "scales". It is sometimes used differently in different contexts. Can it be performant in high load situation…