• 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle

  • While I agree with some of the premises here, I personally disagree that comments are even mostly a problem (a code smell). IMO they’re just as often bad as code is. A developer in a rush, or simply not taking enough care in their work, can produce both bad code and bad comments.

    Perhaps someone who is trying to take care can do more harm in the comments area, when they should be perhaps looking at writing self documenting code, but in my experience they usually go hand in hand.

    I use quite a lot of comments in my code and I wouldn’t regard it as code smell or even messy. I often use comments to logically separate more complex sections of functionality… or discussing how it works and why it’s necessary to exist in the first place. Code can’t always tell you why it’s there…

    I also use docblocks in some libraries, even though types are available, as the published package benefits from having an API document published alongside it. The comments there facilitate its construction.

    I know this article wasn’t bashing every use of comments in code but I feel like it didn’t account for all the positive uses of them either. Teaching developers that a language feature is just mostly bad is irresponsible - we should be encouraging good comment use alongside clear code.


  • Yep. He took a massive ego trip early on and immediately came across as someone I don’t particularly want to side with.

    I’m a web developer and fundamentally disagree with his take on what JavaScript can do on the client side. I see what he’s getting at but I think he’s wrong. JavaScript can certainly detect access to resources (ads in this instance) without violating any enforceable policies. Half the internet does error handling with JS for things that won’t load - how can this be construed as violating eprivacy? Nonsense.

    That being said I’d love for this feature to go away and would be happy to see YouTube and Google go pound sand… but this feels like a stretch. It was inevitable enshittification imo.







  • I run a second Unraid server with a couple of backup-related applications, as well as Duplicati. I have my main server network mounted and run scheduled jobs to both copy data from the main pool to the backup pool, as well as to Backblaze. Nice having the on-site backup as well as the cloud based.

    I occasionally burn to 100gb blurays as well for the physical backup.




  • I’d highly recommend these - they’re not all strictly electronic but I feel there’s overlap at least:

    • Sasha - Scene Delete
    • Jon Hopkins - Immunity
    • Daniel Avery - Drone Logic
    • Bonobo - Black Sands
    • BT - This Binary Universe
    • Boards of Canada - Tomorrow’s Harvest
    • Hugo Kant - Far From Home
    • Bicep - Bicep
    • Sub Focus - Sub Focus

    Bonobo spans genres but he’s probably my favourite artist right now. His Late Night Tales entry (not electronic) was one of the best albums I’ve ever heard.