Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Considered Harmful

Name: Anonymous 2010-04-17 8:38

What do you consider Harmful /prog/?

Name: Anonymous 2010-04-17 8:45

that phrase

Name: Anonymous 2010-04-17 8:47

Considered harmful considered harmful.

Name: Anonymous 2010-04-17 10:07

Yes/No/Maybe

Name: Anonymous 2010-04-17 11:24

Dijkstra considered harmful.

Name: Anonymous 2010-04-17 11:27

>>1
OOP

Name: Anonymous 2010-04-17 11:32

Rats are harmful in theory, but can be nice in practice.
http://www.flickr.com/photos/necilbug/sets/72157606088048834/

Name: Anonymous 2010-04-17 11:35

>>3
Considered harmful considered harmful considered harmful.

Name: Anonymous 2010-04-17 11:56

this slogan is fucking used up, please stop

Name: Anonymous 2010-04-17 12:10

>>9
Complaining about considered harmful considered harmful considered harmful considered harmful.

Name: Anonymous 2010-04-19 17:49

Name: Anonymous 2010-04-19 17:59

>>11
The world would be a better place today if Dijkstra had inserted the word "Computed" into the title.

Name: Anonymous 2010-04-19 18:14

>>12
Except that it's not about computed gotos.

Name: Anonymous 2010-04-19 18:22

glBegin()/glEnd()

Name: Anonymous 2010-04-19 18:35

>>13
Except nothing. It doesn't matter what it's about--nobody reads it (as nobody should--but they should also refrain from reading the title.)

If you do actually read (and comprehend) the text, however, you'll find he qualifies the problem with its undisciplined use, and in particular he complains of implementations that reflect a convoluted program design, or more likely a convolution of program design (which is much worse.)

In other words, spotting a goto and complaining about it reflexively is not the kind of license his position afforded, and in fact commits the same kind of sin he complains of: ignorance.

Name: Anonymous 2010-04-19 19:13

>>15
The funny thing about "goto considered harmful" is that people take this as gospel, but when treat his criticisms of e.g. break as "Well, Dijkstra was a nut", even though they are fundamentally the same argument.

I'm personally against the use of "arbitrary" gotos in modern programming languages (IIRC even C restricts it to the same function), because it doesn't play well with higher level features. A more modern goto like "call-with-current-continuation", which can play well with higher level features, is fine with the same caveats on undisciplined use.

Name: Anonymous 2010-04-19 19:18

Goto Considered Harmful is the Strunk and White of programming papers.

Name: Anonymous 2010-04-19 19:22

>>17
too true, saved to quotes.txt

Name: Anonymous 2010-04-19 19:24

>>17
and as such, is only read by faggots

Name: Anonymous 2010-04-19 19:42

>>17
Not even.

Name: ​​​​​​​​​​ 2010-10-24 14:43

Name: Anonymous 2011-01-31 21:02

<-- check em dubz

Name: Anonymous 2011-02-04 11:34

Name: Anonymous 2011-02-04 15:38

Name: Anonymous 2012-02-29 12:25

Goto is harmful for novices. Once you know what everything is used for, goto is an excellent tool.

Don't change these.
Name: Email:
Entire Thread Thread List