I like to ask a variety of questions, sometimes silly, serious, and/or strange. Never asking in an attempt to pester or “just asking questions” stuff.

I’m generally curious and/or trying to get a sense of people’s views.

  • 91 Posts
  • 305 Comments
Joined 11 months ago
cake
Cake day: July 29th, 2023

help-circle





















  • One is simply organizing your code by having a bunch of operations that could be performed on the same data be expressed as an object with different functions you could apply.

    Not OP, but also interested in wrapping my head around OOP and I still struggle with this in a few different respects. If what I’m writing isn’t a full program, but more like a few functions to process data, is there still a use case for writing it in an OOP style? Say I’m doing what you describe, operating on the same data with different functions, if written properly couldn’t a program do this even without a class structure to it? 🤔

    Perhaps it’s inelegant and terrible in the long term, but if it serves a brief purpose, is it more in the case of long term use that it reveals its greater utility?



  • More and more I’ve been listening to podcasts or treating Youtube videos like podcasts. It lets me multitask in a way that sitting down and trying to watch something just doesn’t.

    How much of them do you catch as you’re multitasking? Any time I try this I’m astounded at my unwitting ability to almost entirely tune out whatever they’re talking about, defeating any point to playing the podcast outside of giving myself some background noise.