theoriginalbit, on 17 November 2013 - 06:45 PM, said:
I have a memory of testing that out, but not a whit of memory as to what the result was. I must've shuffled that code in there later on thinking I knew what I was doing.
theoriginalbit, on 17 November 2013 - 06:45 PM, said:
Anyway, yeah, that's a good spot for it.
Symmetryc, on 17 November 2013 - 08:23 PM, said:
I do get how OOP would be implemented here (my worry re function duplication wouldn't've applied even if true, given that I only have one block on screen at a time), what I don't get is the "why" (... given that I only have one block on screen at a time). But thanks.
I suspect it boils down to what one's familiar with, or one's personal style. For example, I find the system of applying functions to button objects a right nuisance to read, because although it's very clear that there's a selection of buttons and the program is checking to see if any have been clicked, it becomes a royal nuisance to work out what they do - I'd rather have all that code in the one place then spread out at intervals throughout the source. It's like the difference between reading a regular book or a "choose your own adventure" novel to me, and when a function is only called from one specific place in the code then the whole thing seems like a waste of time.
Dunno.