• 0 Posts
  • 9 Comments
Joined 9 months ago
cake
Cake day: April 10th, 2024

help-circle




  • It was unbelievable cool, but not in a temperature way. It was a bit chilly but not that bad since it was summer. That also means no sundown so it was just a bit less light. We dug a hole in the snow to keep from the wind and with some thick sleeping bags in a waterproof bag it was quite comfy and warm.

    You are very far from any real civilization (no cellphone or anything) and that is completely refreshing. You just lay there listening to remote avalanches and the ocean, haven’t slept as good as there. Untill after a short night I woke up from snow drifting into my nose and it was time to go before the weather changed.

    Afterwards we took a swim in 4°C ocean water… That also sure was something :)

    Edit: I’ve written a small journal with some pictures on my blog if you’re interested…



  • As a life-long developer in OOP languages (C++, Java, C#, among others) I still think OOP is quite good when used with discipline. And it pains me that there is so much misunderstood hate towards it nowdays.

    Most often novice programmers try to abuse the inheritence for inpropper avoiding of duplicate code, and write themself into a horrible sphagetti of dependencies. So having a good base or design beforehand helps a lot. But building the code out of logical units with fenced responisbilities is in my opinion a good way to structure code.

    Currently I’m doing a (hobby) project in Rust to get some feeling for it. And I have a hard time to wrap my mind around some design choices in the language that would have been very easily solved with a more OOP like structure. Without sacrificing the safety guarantees. But I think they’ve deliberatly avoided going in that direction. Ofcourse, my understanding of Rust is far from complete so it is probably that I missed some nuance… But still I wonder. It is a good learning experience though, a new way to look at things.

    The article was not very readable on mobile for me but the examples seemed a bit contrived…