IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Which one?
Are you talking about "split world" or "payroll"? The split-world was mostly to stimulate discussion, not be a final answer; and the payroll example has runnable source code (the specs are mostly R. Martins's, not mine).
________________
oop.ismad.com
New Neither
I've seen enough of your writing about programming to know what I think about it. I don't need to read any more.
===

Kip Hawley is still an idiot.

===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Thank you, that was very helpful
I wonder what your idea of good paradigm/technique criticism/comparison is? If I do it all wrong, let's see WHO does it right? I haven't seen anything done well. Bertrand Meyer was often touted, but he uses unrealistic change patterns and crippled procedural code to promote OO.
________________
oop.ismad.com
Expand Edited by tablizer June 19, 2007, 04:20:37 PM EDT
New No, thank *you*
That post was a perfect example of the sweeping condemnation you favor, while requiring exhaustive detail from your detractors. IOW that's why I don't bother any more.
===

Kip Hawley is still an idiot.

===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New Burden Of Proof
You want to explain why OO sucks, show us. Show us a large OO project that's broken and has caused problems. Show us how your alternative procedural implementation is better.

You're the one making the assertion. Burden of proof is with you.


Peter
[link|http://www.no2id.net/|Don't Let The Terrorists Win]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
[link|http://kevan.org/brain.cgi?pwhysall|A better terminal emulator]
[image|http://i66.photobucket.com/albums/h262/pwhysall/Misc/saveus.png|0|Darwinia||]
New thats easy c++ :-)
Quantum materiae materietur marmota monax si marmota monax materiam possit materiari?
Any opinions expressed by me are mine alone, posted from my home computer, on my own time as a free american and do not reflect the opinions of any person or company that I have had professional relations with in the past 51 years. meep

reach me at [link|mailto:bill.oxley@cox.net|mailto:bill.oxley@cox.net]
New idontnowatumeenbox.c++isorlrite
ihavdisidedtofolourleed¬usepropringlshnemore.spcsrso20thc.


Peter
[link|http://www.no2id.net/|Don't Let The Terrorists Win]
[link|http://www.kuro5hin.org|There is no K5 Cabal]
[link|http://guildenstern.dyndns.org|Home]
Use P2P for legitimate purposes!
[link|http://kevan.org/brain.cgi?pwhysall|A better terminal emulator]
[image|http://i66.photobucket.com/albums/h262/pwhysall/Misc/saveus.png|0|Darwinia||]
New C is a crippled language because it is a crippled language
It is NOT the pinnical of procedural by a longshot.
________________
oop.ismad.com
New I have always considered C to be . . .
. . "Pascal by hackers for hackers". Deliberately dangerous and self obfuscating. I've never looked at C++ but I'm sure it just expands on the underlying problems.

In the next to last issue of Computer Languages magazine the "Advanced C" columnist admitted he teaches C because that's where the demand is, but for all the contract programming he does he uses Pascal. That way when a client asks for a modification a year later he can figure out how the program works in 10 minutes instead of a week.

My personal opinion is that much of the buggyness of PC software is due to the insistence of programmers that it will be written in C.

Another commentator in Computer Languages lamented it was really hard to promote Modula II because none of the houses doing successful work in that language would admit in public to using it - they considered their use of Modula an important trade secret.
[link|http://www.aaxnet.com|AAx]
New I disagree.
C++ doesn't just expand on the underlying problems of C.

It creates whole new categories of problems as well.
Regards,

-scott anderson

"Welcome to Rivendell, Mr. Anderson..."
New ICLPRD (new thread)
Created as new thread #287463 titled [link|/forums/render/content/show?contentid=287463|ICLPRD]


Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please



-- "Anything but Ordinary" by Avril Lavigne.

· my ·
· [link|http://staticsan.livejournal.com/|blog] ·
· [link|http://yceran.org/|website] ·

New Nah, Pascal was a teaching language
C was warmed over stylized PDP assembler. It was ported to 8 and 16 bit processors and provided a faster time to proof of concept (although a lot of the initial embedded stuff went to production with C code.)

Later, it just got popular. Go figure...
C and C++ are ok languages, but they are still just languages. Do it right and it works well. Do it sloppy and it will savage you. Same as human languages...

I, personally, never understood the evangelism of certain languages. Some are good for specific things, but generally you can get most languages to do most general tasks. Interpreted languages are not going to work well in drivers, and assembler isn't going to work well in web design (I don't know, maybe it could, but there are better languages available.) Whatever... horses for courses...


New According to Nicholas Wirth he did not . . .
. . write Pascal as just a teaching language.

Of course for efficient PC programming it needed some "extensions", which were pretty much finalized in Borland's Turbo Pascal. Personally I've done a lot of passing complex structured variables as pointers, type casting and other behavior considered improper - but not GOTO, no never!

Actually, even type casting was included in formal Pascal, but by a means so awkward and obscure as to assure nobody used it.
[link|http://www.aaxnet.com|AAx]
New So who are you going to believe?
Nicholas Wirth or 20 year old Usenet gossip? I mean really...

Turbo Pascal was a fun language/package. I seem to recall that it came on a single floppy with room to spare. It could do fun things with VGA colors and curses style windows. It was specified as the required language for a program I had to write for a customer who had to convert the output of some kind of 20 bit processor (probably an in-house bit slice design). TP only had 16 bit signed integers so I ended up converting values by bit shifting 16 bits and multiplying by a real to get a final result. It was interesting but I was hardly impressed with the language. Outside of playing though, that was all I really did with it, so I don't have a real informed opinion.

In that time frame, I used mostly PLM and assembler. When I moved into unix systems, C was sort of a natural progression. When I went into OS/2 and Windows world, C/C++ compilers were readily available and I knew the language so I used them. I still like C and C++ for driver work and low level services and such. I don't do much high level web or data base stuff any more.

I still maintain that most languages are useful if used properly. I will probably never be able to use english to win this arguement though...
New Nah, you probably won't: "Argument". HTH! :-)
New Early versions had only 16-bit integers . . .
. . and that was a bit of a problem. Later versions added the 32-bit LONGINT data type which made usability much better.
[link|http://www.aaxnet.com|AAx]
New Maybe not originally, but when he wrote Modula II
...he wrote it because Pascal wasn't flexible enough as a general purpose language; it was best used as a teaching aid (much like Java is today).
jb4
"It's hard for me, you know, living in this beautiful White House, to give you a firsthand assessment."
George W. Bush, when asked if he believed Iraq was in a state of civil war (Newsweek, 26 Feb 07)
Expand Edited by jb4 June 21, 2007, 11:32:50 PM EDT
New I gotta say that...
...anyone who says that Pascal is more readable than C would also believe that COBOL is more readable than FORTRAN.

So what? They both impinge heavily on the braincells of the reader.
jb4
"It's hard for me, you know, living in this beautiful White House, to give you a firsthand assessment."
George W. Bush, when asked if he believed Iraq was in a state of civil war (Newsweek, 26 Feb 07)
New It's that stupid single exit point from a function
I always though PASCAL what very much like C, except braces were words.

Except for the single exit rule.

It claims to save the confusion of figuring out what bit of code did the return, but it adds lots of complexity / if/then/elses / gotos (gasp) to every friggen function to get around it.
New I've got NO PROBLEM with that
In fact, every coding standards/guidelines that I have anything to do with routinely prescribe "every block should have one way in, and one way out" Not a big fan of trap door exits, you see....
jb4
"It's hard for me, you know, living in this beautiful White House, to give you a firsthand assessment."
George W. Bush, when asked if he believed Iraq was in a state of civil war (Newsweek, 26 Feb 07)
New You ever have nested while and for loops?
With a decision or 2 inside it?

Single point of exit either requires numerous flag variables that have nothing to do with the program logic - they are there as an artifact of the language itself. Additional tests at each loop level to determine whether you broke out of the loop via a decision in the loop or a loop fall out.

Or, shudder - goto - that bounces you to the bottom.

Or, my favorite solution, named loops and a "last NAME;" statement, which allows a clean breaking out of nested loops.

Whether or not you have a problem with this is not the issue. I've seen a far better way and now know better. Far less code, much cleaner and easier to code and maintain.
New "Numereous flags"
mah-noor. Except in some very unusual circumstances, the exit can be controlled by exactly 1 flag. And by namingthe flag correctly (e.g. something like failure or done ) it might even self-document.

The answer to your question is yes. Now I got one for you: Ever debugged/refactored a 16-greenbar-page function cock-full of trapdoor exits, and where you get to page 14 or so and have absolutely no idea what the conditions are that have gotten you to this place in the code, because the berk who wrote it was overly enamored with taking his/her ball and bat and going home at the slightest provocation?

Didn't think so...
jb4
"It's hard for me, you know, living in this beautiful White House, to give you a firsthand assessment."
George W. Bush, when asked if he believed Iraq was in a state of civil war (Newsweek, 26 Feb 07)
New Didn't think so?
Hah.

Wimp.

[link|http://z.iwethey.org/forums/render/content/show?contentid=266834|http://z.iwethey.org...?contentid=266834]

Just because some idiot uses certain features unwisely does not mean the language should be designed for the idiot.

Because if you really want to split hairs on this one, I've got some stories of longjmp usage.

Or in MS-DOS days, poking a few values in a certain register and jumping to zero. hhhheeeeeeheheheheehe. Warm boot from my program as a last ditch effort.

Sometimes when you setup public workstations that's all you can do.
New That's a good way out.
Although it sometimes feels a little clunky. However, sometimes that's all the language has available.

I like Icon's approach. It's a bit tricky to describe but the idea is that you can pass breaks up several layers all at once. And you can make the last one do a next, instead. It's really elegant. However, due to other qualities of the language, it doesn't get used all that much. This is because things like goal-directed evaluation and expression back-tracking and generators are usally used to implement the kind of logic and loops that people need to put in trap-door exits for. :-/

Wade.


Is it enough to love
Is it enough to breathe
Somebody rip my heart out
And leave me here to bleed
 
Is it enough to die
Somebody save my life
I'd rather be Anything but Ordinary
Please



-- "Anything but Ordinary" by Avril Lavigne.

· my ·
· [link|http://staticsan.livejournal.com/|blog] ·
· [link|http://yceran.org/|website] ·

New It is not the pinochle of procedural by a longshot, either.
jb4
"It's hard for me, you know, living in this beautiful White House, to give you a firsthand assessment."
George W. Bush, when asked if he believed Iraq was in a state of civil war (Newsweek, 26 Feb 07)
New All these years and you still misunderstand my opinion
I think paradigm benefits are largely subjective. People really want to model their own mind. If OO better models your head, fine; just don't extrapolate that onto everybody else.

[link|http://www.geocities.com/tablizer/science.htm|http://www.geocities...lizer/science.htm]
________________
oop.ismad.com
New Not misunderstand ... DISAGREE
===

Kip Hawley is still an idiot.

===

Purveyor of Doc Hope's [link|http://DocHope.com|fresh-baked dog biscuits and pet treats].
[link|http://DocHope.com|http://DocHope.com]
New If something is objectively better, then you should show why
________________
oop.ismad.com
     Seriously, Bryce, I'm not saying this to be mean, but... - (CRConrad) - (34)
         You mean the "payroll" example? Not very specific - (tablizer) - (31)
             What are you on about? No, absolutely not "Payroll example"! - (CRConrad) - (1)
                 Okay, I see it now - (tablizer)
             Wow, deja vu (hypothetically) - (drewk) - (28)
                 Which one? - (tablizer) - (27)
                     Neither - (drewk) - (26)
                         Thank you, that was very helpful - (tablizer) - (25)
                             No, thank *you* - (drewk)
                             Burden Of Proof - (pwhysall) - (23)
                                 thats easy c++ :-) -NT - (boxley) - (19)
                                     idontnowatumeenbox.c++isorlrite - (pwhysall)
                                     C is a crippled language because it is a crippled language - (tablizer) - (17)
                                         I have always considered C to be . . . - (Andrew Grygus) - (15)
                                             I disagree. - (admin) - (1)
                                                 ICLPRD (new thread) - (static)
                                             Nah, Pascal was a teaching language - (hnick) - (5)
                                                 According to Nicholas Wirth he did not . . . - (Andrew Grygus) - (4)
                                                     So who are you going to believe? - (hnick) - (2)
                                                         Nah, you probably won't: "Argument". HTH! :-) -NT - (CRConrad)
                                                         Early versions had only 16-bit integers . . . - (Andrew Grygus)
                                                     Maybe not originally, but when he wrote Modula II - (jb4)
                                             I gotta say that... - (jb4) - (6)
                                                 It's that stupid single exit point from a function - (crazy) - (5)
                                                     I've got NO PROBLEM with that - (jb4) - (4)
                                                         You ever have nested while and for loops? - (crazy) - (3)
                                                             "Numereous flags" - (jb4) - (1)
                                                                 Didn't think so? - (crazy)
                                                             That's a good way out. - (static)
                                         It is not the pinochle of procedural by a longshot, either. -NT - (jb4)
                                 All these years and you still misunderstand my opinion - (tablizer) - (2)
                                     Not misunderstand ... DISAGREE -NT - (drewk) - (1)
                                         If something is objectively better, then you should show why -NT - (tablizer)
         Perhaps, more examples of naivity? - (warmachine) - (1)
             Lots of 'em-they're the very ones I want him to (re)consider -NT - (CRConrad)

Bestowing a cruddy-green patina to this over-polished line of deductive reasoning.
320 ms