• 0 Posts
  • 55 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle









  • Running is not as extreme as you think, a lot of it is just carrying on the momentum of the truck after you jump off, other tham that it’s mostly just brisk walking.

    The heavy stuff depends, regulations typically impose a limit on weight but a lot of people don’t follow it. You learn to use proper lifting form quite quickly though or you’ll get a hernia

    Src: did it for 3years as student job




  • noli@programming.dev
    cake
    tomemes@lemmy.worldSociety is strange
    link
    fedilink
    arrow-up
    20
    ·
    3 months ago

    Did it as a student job for 3 years. I was paid roughly 50% more than with all other student jobs.

    Honestly collecting garbage is not even that bad. I got paid to do fitness all day, spending time outside while chatting with my coworker. The people sorting the trash, that was who we felt bad for. They had all the downsides of the job with none of the benefits.



  • Depends on how deep down the rabbit hole you want to go :p

    • creating a new variable that contains the updated value
    • recursion (e.g. it’s not possible to make a loop that increments i by 1, but it is possible to turn that loop into a function which calls itself with i+1 as argument)
    • avoiding typical types of operations that would update variable values. For example instead of a for loop that updates every element of a list, a functional programmer will use the map function, which takes a list and a function to apply to each element of that list to create an updated list. There’s several more of these very typical functions that are very powerful once you get used to using them.
    • monads (I’m not even gonna try to explain them as I hardly grasp them myself)


  • In functional programming, everything is seen as a mathematical function, which means for a given input there is a given output and there can be no side effects. Changing a variable’s value is considered a side effect and is thus not possible in pure functional programming. To work around this, you typically see a lot of recursive and higher order functions.

    Declaring all values as const values is something you would do if you’re a diehard functional programmer, as you won’t mutate any values anyway.


  • noli@programming.dev
    cake
    toScience Memes@mander.xyztemperature
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    4 months ago

    It’s all learned behaviour. If you grew up with F that makes total sense and C sounds ridiculous. If you grew up with C that’s totally intuitive for anyone, just as much as F, so using a scale that has no point outside of the weather sounds dumb. Neither system is more intuitive by any means. Both systems ave benefits and downsides.

    Whenever I talk to americans and they use F I need to convert it because I grew up with C and that just makes more sense to me, even if I know the “0-100 F is according to human experience” thing. Like sure, 80F is hot, but how hot is it? Oh 27C that’s hot but not extreme.

    Arguing one or the other is superior is not only pointless but also just silly