• 7 Posts
  • 75 Comments
Joined 3 years ago
cake
Cake day: July 10th, 2023

help-circle




  • doesn’t he weasel out of the responsibility to give clear, logical, verifyable reasons for his position?

    Absolutely, if I remember right he leans back on having experienced bad comments more often than helpful ones. John questions this. I think it is close to dogma with Bob on this.

    Can you explain that more?

    And doesn’t the example with the prime number generation algorithm show clearly that omitting context just does not work for code?

    Quote from https://en.wikipedia.org/wiki/High-context_and_low-context_cultures

    High-context cultures often exhibit less-direct verbal and nonverbal communication, utilizing small communication gestures and reading more meaning into these less-direct messages. Low-context cultures do the opposite; direct verbal communication is needed to properly understand a message being communicated…

    Now I’m not making a strong claim that Bob and John are from different ends of the context spectrum. However it seems to me that Bob believes there is enough ‘context’ available in code and in coders themselves to communicate all meaning without comments.

    Even Bob’s diagram, to help explain the primes algorithm, assumes high context in the reader. It’s lacking any labels or key - we are just supposed to see what he means if we stare hard enough at it. If we are already immersed in the problem space then this might work but its so inefficient for anyone else.

    And once we step away from our code for even a short time we are that someone else. We are going to waste a lot of time rediscovering how the algorithm works. A case John makes convincingly I think.

    Code cannot replace comments. The primes algorithm avoids division I believe but this is not clear from the code alone. A reader might work this out eventually but a comment saves so much time. Could the code be refactored to clearly express the avoidance of division? Yes there’s probably a way, but imagine how bad that code would read and what a waste of time just to avoid a comment.


  • Perfect Days, 2023

    Really love this. It lures you in and casts a spell with its mindful observation of a few days in one man’s life. Feels timeless, the film seems to do little but so much is said. Director and star use the lightest touches to invoke something deep. The scenes with his sister are just beautiful in how they show us so much with so little. It’s just an exquisite film.

    One Battle After Another, 2025

    So good - how it’s told, the soundtrack, acting, just everything. Yes it’s characters are somewhat cartoonish and it covers a lot of ground without much depth but it’s a great ride so for me its forgiveable. Can’t wait to see it again on streaming.



  • Another thank you for posting this, made my day.

    I have read and followed a fair amount of Uncle Bob’s work but was not aware of Ousterhout till now. Bob says during the time the Clean Code book was written there was an anti-comment sentiment about and this matches my own experience. I agree with Ousterhout that it’s taken too far in his book though.

    I wonder if there is another factor at play - some people/cultures prefer high context communication and some less. Bob seems clearly to prefer low context i.e. the burden is on the (code) reader to educate themselves. Whereas John makes it a matter of professional behaviour that we make the next reader’s work as simple as possible by commenting code as appropriate.

    Surely it’s better to assume high context is needed and provide it (within reason) versus only catering for low context. As Bob discovered he became a low context person when he returned to his own code after some time had passed.





  • It’s definitely a flawed film but it produced emotion and did move me. The end is a real punch in the guts. It’s like a great ‘B’ movie maybe. They made some changes from the novel and I think they were a mistake:

    spoiler

    The major is elevated to a supreme leader, Garrety’s reason for going is much weaker, the end is changed (though I like the new ending)

    We don’t really get a strong sense of the physical suffering. The first third of the film is weakest I think but it improves from there. I appreciate that they hold focus on the walk, in fact we almost never look away from it. It did create interesting moments where we know a walker will die in the background and the others must keep walking, some interesting tension and reactions.

    Some of the gore seemed just for gore’s sake though. The deaths are senseless and shocking in their own right. I would watch it again if comes to streaming.



  • I know. The author suggests:

    Experiment with new-to-you version control systems like Fossil, Mercurial, and Pijul.

    The author is:

    learning about different version control systems. For example, the differences between Fossil and git revealed a lot of my biases towards git simply because it’s familiar (and Fossil seems really cool). Reading about the theory behind Pijul absolutely bends my brain into knots. I keep trying anyway because conflicts in git are frustrating and I’d like a better solution.

    The author says:

    It would be nice to move beyond git one day and have a better experience for managing complex codebases, and not on GitHub’s timeline.



  • If you’re temporarily away from home do you need to workout? Which is to say you could let yourself off doing this, perhaps. Maybe being away from home is enough change to deal with. You can pick your battles, energy is not infinite. You could spend the time reading about training instead in your room, or some other interest.

    I guess exercise enthusiasts would recommend keeping to your routine where possible, so maybe this is weighing on your mind and creating an internal conflict? I should go. You don’t have to live by that if you don’t want to though. It’s harder for you, make your own rules.

    That being said I agree with the comment elsewhere that you could also try small bites of it. You could just visit the gym and stay for a minute or two, then leave. Next day try again. If it doesn’t get easier then maybe it’s not the gym for you, too bright. too loud, or something else maybe. That’s ok. If it doesn’t feel right trust that feeling.

    Is there anyone who would go with you? A trusted friend who knows how difffcult this could be would be a great choice. Someone who understands if you need to leave suddenly, no questions.

    Some gyms might have a changing area you could retreat to. Having a refuge can be useful. Maybe headphones/earbuds and a familiar song/voice would help too.





  • Sorry re-reading my comments it’s not super clear what I meant: nowhere else in the table do they take account for the ‘hidden’ on-going maintenance of looking after a server/self-hosting. So this is the only row where they address ‘cost’ and I just thought it’s a bit optimistic to say replacing all of Spotify just costs a one time server setup and storage. I think you’re saying this row was only meant to indicate financial cost and I agree it’s basically accurate from that meaning. However this is only the ‘initial’ cost. For example a self-hosted server and storage will eventually have to be replaced whereas Spotify will just keep replacing their own servers and that’s already baked into the price of your subscription (caveat: that Spotify price will rise over time).

    It’s not a big point really, maybe I’m nitpicking.