• 0 Posts
  • 124 Comments
Joined 1 year ago
cake
Cake day: April 28th, 2025

help-circle






  • It puts it even more into context when you realize the old testament was before the Romans had written laws etc - so it also acted as a standard what to do and what not.

    A law book, if you will, but without the clear separation from other stuff, and the threat of a magical being being angry at you for not following it probably helped with a tribe of people being in remote places on behalf of being sheepherders etc.


  • Not a problem, ignore the edgelording, you’ll be fine.

    A lot of people don’t understand that readability is about how fast someone can correctly understand that whole class/file/etc afterwards. Sometimes using enums improves that, sometimes not.

    For enums specifically, it is good to be aware what you do with them. Often it directly maps to a decision. E.g. enum ExportType with values JSON/XML/CSV - instead of passing an enum value to a big function with 3 different paths, you could have 3 classes that have a common interface, and pass one of those to the function to use. That is nicer sometimes, other times not.

    Another thing is that enums are often used to have a small INT DB column, which is not supposed to represent a number (like for math and stuff) but different options. In that case, yeah enum is perfect to describe in code what those numbers actually mean.

    But yeah, it all comes down to: After you write it, look at your code and see if it makes sense quickly - if not, adjust.







  • Two camels are sitting in the basement and are splitting [like e.g. with an axe] petroleum. One says to the other “Hey, it’s Christmas tomorrow!”. The other one answers" I know, I came here on my bike."

    I did my best with that translation, but there are subtle hints that these things relate to each other, that would take way more words in English.

    E.g. the “eh” widens the meaning to something along the lines of “It doesn’t matter because I already made the decision to come on my bike anyway”.

    So I guess the joke is a bit that it’s the framework of a cohesive conversation, but it goes by so fast (3 quick sentences) that you kinda only realize that it was nonsense when it’s already over. It has dad joke vibes, too, only German jokes are more about unexpected content than puns.

    Compare also (again doing my best on translation)

    A ball rolls around the corner and tips over

    Or the “poem” (cause it rhymes in german):

    It was dark, the moon shone bright,
    When a car drove lightning fast
    Slooowly around the corner.
    Inside people sat while standing,
    Silently engrossed in conversation.
    While a rabbit who was shot dead
    Was ice skating on the sandbank.






  • It’s much easier to imagine/relate.

    Somebody’s blind? Ok close your eyes, so that’s what that’s like. Somebody can’t walk well? A lot of people might have gotten a taste without even trying, by getting their leg in a cast while having an accident as a child.

    Obviously that doesn’t encapsulate the whole experience of someone who can’t “switch it off” ever - but neurodiverse, you can’t really get a feel for it. Probably the same in both directions, by the way.