Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: OneWingedShark
"You have a problem. You decide to solve it using a regular expression. Now you have two problems."

-Author Unknown

A collary, seen recently:

"You have a problem. You decide to solve it using threads. problems Now have two you."

80 posted on 02/03/2013 12:40:44 PM PST by tacticalogic ("Oh, bother!" said Pooh, as he chambered his last round.)
[ Post Reply | Private Reply | To 79 | View Replies ]


To: tacticalogic
"You have a problem. You decide to solve it using a regular expression. Now you have two problems."
-Author Unknown

A collary, seen recently:
"You have a problem. You decide to solve it using threads. problems Now have two you."

Hm, I can see that; concurrency isn't really taught well -- and it's sad that a lot of languages rely on the OS-thread/library method rather than designing for it.
Because if it was a language-level part of the language you could apply static-analysis (and, prior that, design the threading to eliminate some of the common errors encountered w/ threading). [Ada's TASK construct, using rendezvous, and more recently [Ada 95] protected objects, are examples of the language addressing the problem.]

But it seems that "the industry" will be sticking with the add-on/afterthought method for a while. :|

81 posted on 02/03/2013 1:00:50 PM PST by OneWingedShark (Q: Why am I here? A: To do Justly, to love mercy, and to walk humbly with my God.)
[ Post Reply | Private Reply | To 80 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson