Whoever did this is going straight to hell

Status
Not open for further replies.

Gogol

Administrator
Staff member
Moderator
Executive VIP
Jr. VIP
Joined
Sep 10, 2010
Messages
11,808
Reaction score
26,653
J/K about going to hell, but seriously??

I found this somewhere I cannot mention. I don't think this is going to jeopardize anything, so I am posting this openly.


SERIOUSLY?

What are your elseif statements doing here?






Guys and girls, this is why AI is not gonna take over anytime soon. :-|
 
Last edited by a moderator:
J/K about going to hell, but seriously??

I found this somewhere I cannot mention. I don't think this is going to jeopardize anything, so I am posting this openly.


SERIOUSLY?

What are your elseif statements doing here?



View attachment 322255


Guys and girls, this is why AI is not gonna take over anytime soon. :-|
AI would laugh at this, wtf is this
 
Real life code, no kidding. I obviously cannot show the whole source because of client confidentiality but someone from bhw did this. Damn... Just when I thought I had seen it all. :eek:
this is the real definition of spaghetti code, throw some code to look l33t
 
I didn't understand anything
That is the problem. It is perfectly fine to not understand it. But I see some people providing services that they have no idea about (No AI doesn't fix anything). That was the whole point of this thread, and very well pointed out dude. :D
 
They should be called out tho as this is clearly scamming the client.
hmmm I pointed that out to the client in private. I have no idea who did this, personally, but this is the next level nastyness haha. :p
 
hmmm I pointed that out to the client in private. I have no idea who did this, but this is the next level nastyness haha. :p
Indeed, it's clear that the person who created this work haven't had even a basic understanding of the code they provided. Like none at all.
 
CODE QUALITY!!!
No it is fine. We should always waste memory so that the server companies can earn their bread. :)

#CreateEmployment
Memory? Not much seems to be wasted. But I can imagine it being 500 conditions.

I had this type of stuff on WordPress at agency I worked at.

Since then never did commercial coding again.

These jobs pay like $500 per month here. Pointless.
 
CODE QUALITY!!!
This is why kloc was discontinued ;)
Memory? Not much seems to be wasted. But I can imagine it being 500 conditions.
Technically, yes in this case. if condition checking should be fast enough. But this same coder can do even nastier shit, we dunno. How about

elseif ($row = whatevershitthatgetsamillionrowfromthedatabase())

?

Pretty sure who doesn't have a basic understanding of the syntax/logic/how stuffs work will make even more disasters.
 
This is why kloc was discontinued ;)
Kloc is slang term for shit in Polish.


How about

elseif ($row = whatevershitthatgetsamillionrowfromthedatabase())
Maybe he will not be stressed one day and start thinking more creatively and with more thorough research. I believe it's just tight deadlines and inadequate payment that does that to people.

He could google refactoring. That would open many doors to him.

I say "he" cause I'm used to guys in programming.
 
I strongly disagree. It is better to not do the project for what you cannot, than scamming someone for even a $. Like Lucky said, this is scam. Who wrote this code has no idea about branching and code flow. They should not be coding.
tight deadlines and inadequate payment that does that to people.
 
Status
Not open for further replies.
Back
Top