Livejournal
Log in
Post
Friends
My journal
mightybaldking
Consider the following code...
Feb 25, 2009 22:52
Ignore the (egregious) logic errors, just look at the code itself (
Read more...
)
badcode
Leave a comment
Comments 8
It could be worse.
quotation
February 26 2009, 04:31:22 UTC
If I was allowed, I would *love* to show you code written by a 4.0GPA MIT grad.
Reply
Re: It could be worse.
mightybaldking
February 26 2009, 13:43:46 UTC
Was it "Brillant"?
Reply
Re: It could be worse.
mightybaldking
February 26 2009, 13:46:17 UTC
And, to be completely fair. I'm sure we've all written our fair share of WTF code.
Reply
mightydogking
February 26 2009, 05:05:15 UTC
You can't be fair, the PHP isn't the problem.
Reply
mightybaldking
February 26 2009, 13:43:19 UTC
This post was really more about the variable names than anything else.
I think it's code like this, from the early fortran and cobol days that makes people think that programming is hard.
Reply
mightycodking
February 26 2009, 15:35:42 UTC
Unless it's their first programming language, there's not much excuse for bad variable naming.
Incidentally, Lightfoot! 8^)
Reply
mightybaldking
February 26 2009, 18:12:11 UTC
That was my addition. If they didn't come in from the form, they were supposed to block the request.
Reply
vandyke_brown
February 26 2009, 16:34:30 UTC
"Do you see the difference?"
Nope!
Reply
Leave a comment
Up
Comments 8
Reply
Reply
Reply
Reply
I think it's code like this, from the early fortran and cobol days that makes people think that programming is hard.
Reply
Incidentally, Lightfoot! 8^)
Reply
Reply
Nope!
Reply
Leave a comment