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.

  • 4 Posts
  • 35 Comments
Joined 1 year 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?






  • While I don’t disagree with most of what you mention, I do have to ask on a couple points…Isn’t it probably significantly more expensive for them to make foldable screens than to make a smaller phone? Also wouldn’t a larger device mean more materials involved which may mean similar or just as high costs as to engineer something more compact?

    Also these are open questions, I’m not expecting you personally to know one way or another, your comment simply inspired them. If someone else has some insight on them, would be interested to read it!