Live data from Hacker News

Viewing profile — bedobi

bedobi

HN member
Joined
Tue, Feb 12, 2019, 6:13 AM UTC
HN karma
2,606
Public activity
705 items

About bedobi

No profile information was provided.

Recent public activity

  1. comment
    Comment #48194304

    I'm a Software Engineer and I think the author is probably right that many Software Engineers are misguidedly placing too much weight on their ability to read and write code. The v…

  2. comment
    Comment #48151797

    [flagged]

  3. comment
    Comment #48151374

    [flagged]

  4. comment
    Comment #47976792

    I switched from e3 (NOT eb3) to h1b and then they did the $100k eo, so it doesn't feel like a good idea to remain on h1b. Now, my us citizen spouse and I are filing a spouse based …

  5. comment
    Comment #47966137

    yes, which is why Monad should be an interface that types like List, Option, Result etc implement, instead of flatMap being just a random discrete function that exists on random ty…

  6. comment
    Comment #47963769

    Here’s my monad tutorial for programmers A monad is anything you can flatmap with The monad of list is you flatmap a list on a list and instead of getting a list of lists, as you w…

  7. comment
    Comment #47876644

    At a previous job, our build pipeline * Built the app (into a self contained .jar, it was a JVM shop) * Put the app into a Ubuntu Docker image. This step was arguably unnecessary, …

  8. story
  9. comment
    Comment #42799733

    Your price could simply be an interface that both Student and Employee implements, and at the call site, you simply call foo.calculatePrice - Student will calculate it one way and …

  10. comment
    Comment #42793819

    for one, see the reply from the handle cryptonector further up > Inheriting from a class creates dispatch problems, and there's instance variables/fields/whatever to deal with. Nev…

  11. comment
    Comment #42793785

    this! with interfaces, you get all the benefits and none of the negatives

  12. comment
    Comment #42788748

    I agree that there are better ways to model roles and FGA the point of the example wasn't to be an idiomatic solution to that problem, but to illustrate the pointlessness of inheri…

  13. comment
    Comment #42788671

    I happily admit it's more than possible to come up with examples that make inheritance shine. After all, that's what the authors of these books and articles do. But most of them pu…

  14. comment
    Comment #42788584

    > The alternative is that you wind up implementing the same 5-10 interfaces repeatedly for every different object you create. if both Student and Employee need to implement those i…

  15. comment
    Comment #42788548

    I see no need for inheritance there, that can and should be done using interfaces eg in the contrived example I gave, any of all three of the User, Student and Employee can impleme…

  16. comment
    Comment #42787080

    Do yourself a favor and wear yourself off all this SOLID, Uncle Bob, Object Oriented, Clean Code crap. Don't ever use inheritance. Instead of things inheriting from other things, f…

  17. comment
    Comment #42698762

    This is a solved problem and it's astonishing the world hasn't just adopted the Dutch traffic engineering standards outright. It's FASTER for cars and safer for people.

  18. comment
    Comment #42690645

    London Underground destroys all other transit on the planet when it comes to noise, and ironically, it's not even the trains themselves, it's the effing speakers MIND THE GAP loude…

  19. comment
    Comment #42562275

    Even if the post accurately reflects your lived experience, if it's AI generated, ultimately it is just that, generated by an AI, who is not you. People can smell that from a mile …

  20. comment
    Comment #42560773

    A lot of Robert C Martins pieces are just variations on his strong belief that ill-defined concepts like "craftsmanship" and "clean code" (which are basically just whatever his opi…

  21. comment
    Comment #42452851

    The sane thing to do is to let lower layer functions return Either then, in the HTTP layer, your endpoint code just looks like return fooService .getFoo( fooId ) //Either .fold({ /…

  22. comment
    Comment #42445423

    that's easy to fix, just make the light brighter

  23. comment
    Comment #42353888

    > everyone there is contributing to the energy by actually having a good time, instead of being preoccupied with showing people who are not with them that they are having a good ti…

  24. comment
    Comment #42331867

    the disconnect here is you have a status quo biased thinking the current state of things is, roads get all the money and transit and bike infra get scraps and are poorly run (so ar…

  25. comment
    Comment #42331148

    you're just being obtuse in the realm of infrastructure investment, all of that is overnight vs eg the yet another additional bridge to nowhere they're currently building that is t…