Skip Navigation
If Inheritance is so bad, why does everyone use it?
  • The general idea is to not test things that need to be mocked, keep all logic out of those and keep them at the edges of the application. Then you test the remaining 90% of your code which would ideally be pure functions that don't need mocks .

    The remaining 5% can be integration tests which doesn't care about DI.

    In reality this doesn't always work, because sometimes it's better to write a complex query with logic and let your database do the processing.

  • Elixir vs Go: what to learn in 2024
  • What's your background? I've mainly used language with huge standard libraries and Go's intentionally small standard library feels very unergonomic sometimes (I miss sets).

    Elixir feels very ergonomic to me, but a lot of programmers struggle with the lack of typing.

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)FU
    FunctionalOpossum @programming.dev
    Posts 0
    Comments 3