• 1 Post
  • 21 Comments
Joined 1 year ago
cake
Cake day: August 7th, 2023

help-circle







  • Yeah, for this reason null shouldn’t be part of any production code. If there’s the possibility of having a null value, you need to check every variable or returned value to be safe.

    These monads tell the consumer of your functions to do something (a check for emptiness or wait for it to be ready, or iterate it) to access the value inside. In a safe language, if the value is not wrapped by a monad, then you should expect to access it without issues.

    I kind of get why people don’t want to call them monads, since it sounds like a heavy term and more things to learn that are not strictly “necessary”, but the earlier you learn about their importance, the earlier you can use any of their benefits in your codebase.



  • That’s good, I think having a powerful phone if you can use it comfortably is great.

    In my case, I started having wrist pain from just using the phone.

    The ideal situation for me is that there are several options coexisting for everyone to choose, so I could get a small phone with some compromises and you could get a fully capable bigger phone also.