Linked by Thom Holwerda on Mon 3rd Sep 2012 20:46 UTC, submitted by MOS6510
General Development I like this one: "By definition, a program is an entity that is run by the computer. It talks directly to the CPU and the OS. Code that does not talk directly to the CPU and the OS, but is instead run by some other program that does talk directly to the CPU and the OS, is not a program; it's a script." Here's the other eleven.
Thread beginning with comment 533738
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Comment by Soulbender
by satsujinka on Tue 4th Sep 2012 01:04 UTC in reply to "Comment by Soulbender"
satsujinka
Member since:
2010-03-11

Yes, we are living in the future, so stop using exceptions and use maybes/tuples/multiple return values. Or really anything that doesn't turn your execution order into spaghetti.

Also the OOP opinion was actually very reasonable. The author was lamenting the simple fact that OO is too vague. It's hard to have rationale, scientific discussions about something when the proponents of it can't even agree what they're talking about.

Reply Parent Score: 2

RE[2]: Comment by Soulbender
by Soulbender on Tue 4th Sep 2012 04:12 in reply to "RE: Comment by Soulbender"
Soulbender Member since:
2005-08-18

Or really anything that doesn't turn your execution order into spaghetti.


Good thing that is impossible to do with return values, eh?

The author was lamenting the simple fact that OO is too vague.


Seriously, what does it matter? As long as the OO model in the language you use makes sense and you know when to use and when not to.

Reply Parent Score: 3

satsujinka Member since:
2010-03-11

None of the things I mentioned do it by default (you have to make the decision to have spaghetti code.) try/catch/finally does it by default. That's the whole reason you people use it.

The definition of OO matters when we want to have serious discussions about it. It's sort of hard to judge the merits of something that lacks a solid definition.

Reply Parent Score: 1

sherriffwoody Member since:
2012-05-25

As some new to code. I'd like an explanation or a link to one, sounds interesting..

Reply Parent Score: 2

satsujinka Member since:
2010-03-11

About what? Error handling? OO being a poorly defined concept that no two people agree on? (well, that's an exaggeration, I'm sure you can find two people who agree; the point is simply that there's a lot of dispute even between proponents.)

Reply Parent Score: 1