Post by Era » 05 May 2018, 04:03
nnnik wrote:Era wrote:My dear Mr. ? SwagFag:
Functions can be provided with input/output descriptions via comments...so you don't need to tax your pretty head with reading the code within. I/O comments are quite like OOP in that way, without the messy code hiding and cascade. You can tell people what to put in , and what to expect out. Just like a laxative. Get it?
So it's okay if functions are black boxes but if classes are it isn't?
Also please stop that belittling tone with our helpers.
1. Functions are not encapsulated, thus the code is visible, readable, modifiable. So, they're not black boxes as are inherited objects hidden away somewhere up the chain of inheritance.
2. As for my tone, if you read my initial message you'll see that I was complementary and respectful. The tone became a bit dark as others got snide with comments like: "trite," "artificial," utter nonsense," "no brainer," "he was just trying to troll."
Anyway, OOP mostly serves purposes unrelated to personal, individual coding. It's at base a clerical system, an effort at version control when people program in groups. Plus its theoretical abstractions appeal to academics and its complexity creates job protection via obscurantism.
[quote="nnnik"][quote="Era"]My dear Mr. ? SwagFag:
Functions can be provided with input/output descriptions via comments...so you don't need to tax your pretty head with reading the code within. I/O comments are quite like OOP in that way, without the messy code hiding and cascade. You can tell people what to put in , and what to expect out. Just like a laxative. Get it?[/quote]
So it's okay if functions are black boxes but if classes are it isn't?
Also please stop that belittling tone with our helpers.[/quote]
1. Functions are not encapsulated, thus the code is visible, readable, modifiable. So, they're not black boxes as are inherited objects hidden away somewhere up the chain of inheritance.
2. As for my tone, if you read my initial message you'll see that I was complementary and respectful. The tone became a bit dark as others got snide with comments like: "trite," "artificial," utter nonsense," "no brainer," "he was just trying to troll."
Anyway, OOP mostly serves purposes unrelated to personal, individual coding. It's at base a clerical system, an effort at version control when people program in groups. Plus its theoretical abstractions appeal to academics and its complexity creates job protection via obscurantism.