Talk:Schlemiel the Painter's algorithm: Difference between revisions

Content deleted Content added
Doesn't quite work: strcat does have to start from the begining and Schlemiel is Pandemic/widespread
OldCodger2 (talk | contribs)
m Doesn't quite work: PS I know whereof I speak,and I even created an account too
Line 56:
strcat() isn't calculating the length: it's merely looking for the terminating NUL. Also, it doesn't have to walk back to the start of the string; at the next call, <em>it's already there</em>. One can only assume that there is some sort of teleportation device in use here… [[User:Dsalt|Dsalt]] ([[User talk:Dsalt|talk]]) 12:49, 12 December 2009 (UTC)
 
uh, dude, you better read Joel again... strcat does indeed start over at the begining with each new request (I'm guessing that you are not actually a programmer?). strcat does not and cannot retain any knowledge about the previous state of the strings that it has been handed, therefore it must start at the begining. IMHO this is a classic example of why C is a very defective language and a blight upon the computer industry. In reference to the debate about about how widespread the problem is, yes, it is indeed a pandemic, strcat is used everywhere, as are c-strings, which is the actual root of this problem, and many other related problems such as the endless number of buffer overflow exploits, all being caused by this fundamental bad design of the C language. OldP.S. Codger I [[Special:Contributions/50am speaking from the prespective of someone who has actually designed a computer language, so I do have expert knowledge of this subject.47 I am not just some blithering idiot with an ego and an opinion to pontificate as so many random commentators tend to be.2 That comment is not aimed at you Dsalt, but just a general observation about the state of the internet in which everyone on it seems to think that their opinions all have equal merit, they don't.7 [[User:OldCodger2|50.47.2.7OldCodger2]] ([[User talk:50.47.2.7OldCodger2|talk]]) 20:3448, 3 June 2012 (UTC)
 
== Can't we take down the notability banner yet? ==