• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:34
CEST 14:34
KST 21:34
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
BSL 2025 Warsaw LAN + Legends Showmatch0Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
ASL20 General Discussion ASL TICKET LIVE help! :D Soulkey on ASL S20 BW General Discussion NaDa's Body
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues BSL 2025 Warsaw LAN + Legends Showmatch
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Path of Exile Borderlands 3 General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread UK Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
I <=> 9
KrillinFromwales
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2576 users

Life as a Web Developer

Blogs > tofucake
Post a Reply
Normal
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
Last Edited: 2010-07-06 21:34:07
July 03 2010 15:33 GMT
#1
So I recently started my new job as a web developer at a company that does auto financing. One of the internal tools they use is a system designed by a guy named Bob. Bob is not good at PHP. Below is an unedited snippet of his code, which is present in almost every single one of about 3000 files (the $message assignment is different on every page, but basically the same). Retarded spacing aside, it's just dumb. Also, the passwords are stored in plaintext.


....and this is just the start. The rest of the code is worse.

$systempath           =  $_SESSION[ 'systempath'         ];
$systemname = $_SESSION[ 'systemname' ];
$systemid = $_SESSION[ 'systemid' ];
$userid = $_SESSION[ 'userid' ];
$userpassword = $_SESSION[ 'userpassword' ];
$username = $_SESSION[ 'username' ];
$systemaccesslevel = $_SESSION[ 'systemaccesslevel' ];
$loginstatus = $_SESSION[ 'loginstatus' ];
$message = $_SESSION[ 'message' ];

$message = 'Perform Loan History Processing';

// set the session variables

$_SESSION[ 'systempath' ] = $systempath;
$_SESSION[ 'systemname' ] = $systemname;
$_SESSION[ 'systemid' ] = $systemid;
$_SESSION[ 'userid' ] = $userid;
$_SESSION[ 'userpassword' ] = $userpassword;
$_SESSION[ 'username' ] = $username;
$_SESSION[ 'systemaccesslevel' ] = $systemaccesslevel;
$_SESSION[ 'loginstatus' ] = $loginstatus;


[Update]
switched quotes to codes. Now you can see the dumb spacing.

*
Liquipediaasante sana squash banana
ilovezil
Profile Blog Joined August 2006
United States4143 Posts
July 03 2010 15:41 GMT
#2
ya, simply terrible!



??
RumZ
Profile Blog Joined March 2010
United States956 Posts
July 03 2010 15:43 GMT
#3
Wow.... that is going to take some time fixing eh?

It could be worse, I am doing some network administration on a server client setup that has not been updated from service pack 0 in 2 years on windows xp, the computers are also running incompatible version of symantec endpoint protection, and not only are they not supported anymore, each client is running a different version of the software.


But, I digress, I think your problem is way more painful if not able to be dealt with systematically.
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
July 03 2010 15:44 GMT
#4
lol

I guess its a good place to ask, which one is the best programming practice for php: use directly the $_SESSION[] variables or pass its content to a common variable?

eg. use $_SESSION['username'] all over the code or $username = $_SESSION['username'] and use $username for the rest of the code?
"When the geyser died, a probe came out" - SirJolt
Count9
Profile Blog Joined May 2009
China10928 Posts
July 03 2010 15:55 GMT
#5
Well... at least you know he read the PHP in 20 minutes book =) It's usually better when they write horrible code, and then leave you awesome comments with justifications.
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
Last Edited: 2010-07-04 13:17:20
July 04 2010 13:09 GMT
#6
You guys haven't see the javascript yet. EVERY SINGLE LINE HAS AN EXPLANATORY COMMENT.

// resets the flag indicating whether the up or down key has been pressed
isKeyUpDownPressed = false;




On July 04 2010 00:41 ilovezil wrote:
ya, simply terrible!



??

He sets some variables, and then without changing any of them (sans $message), he sets them back again. It's a waste of space and processing power.


On July 04 2010 00:44 fabiano wrote:
lol

I guess its a good place to ask, which one is the best programming practice for php: use directly the $_SESSION[] variables or pass its content to a common variable?

eg. use $_SESSION['username'] all over the code or $username = $_SESSION['username'] and use $username for the rest of the code?
Both are acceptable, but only in certain situations. If you're doing processing and only want to display something, using local variables is best. I only use SESSION scope variables for tracking things that rarely or never change (a user ID) or things I don't want to be exposed (redirect after login). Other things he used SESSION scope for are things that should never, ever, for any reason, be stored anyway (plaintext password). Much of what he does could be sped up by using relational databases.
Liquipediaasante sana squash banana
vnlegend
Profile Blog Joined December 2006
United States1389 Posts
July 04 2010 13:56 GMT
#7
I don't really understand what this means but the guy could just be older and not too good with new technology.

** 30 years later **
16-yr old kid looks at tofucake's work: Who the hell wrote this dumb ancient code?

But anyway, looks like a good opportunity to get credit for making improvements.
Marines > everything
thedeadhaji *
Profile Blog Joined January 2006
39489 Posts
July 04 2010 14:17 GMT
#8
btw I like your ID
Count9
Profile Blog Joined May 2009
China10928 Posts
Last Edited: 2010-07-04 14:40:57
July 04 2010 14:39 GMT
#9
Wow, awesome, don't know how I missed this >.> I love thedailywtf, this is just as bad as some of code they got on there. (Of course, I don't have to work with this guy)

Maybe he auto generated some of those javascript things :/
tarpman
Profile Joined February 2009
Canada719 Posts
July 04 2010 16:38 GMT
#10
yeah, this sort of thing smells like copy-paste to me. likely he copy-pasted a bunch of stuff, tweaked it until it sort of worked, and then never touched it again :D
Saving the world, one kilobyte at a time.
QueueQueue
Profile Joined July 2009
Canada1000 Posts
July 04 2010 16:41 GMT
#11
On July 04 2010 22:09 tofucake wrote:
You guys haven't see the javascript yet. EVERY SINGLE LINE HAS AN EXPLANATORY COMMENT.

Show nested quote +
// resets the flag indicating whether the up or down key has been pressed
isKeyUpDownPressed = false;




At least people won't be lost >.<
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
July 05 2010 20:54 GMT
#12
I want to submit something to DailyWTF...but I have no clue what to....it's all so bad.
Liquipediaasante sana squash banana
King K. Rool
Profile Blog Joined May 2009
Canada4408 Posts
July 05 2010 22:20 GMT
#13
lololol

Is bob still working there?
haduken
Profile Blog Joined April 2003
Australia8267 Posts
Last Edited: 2010-07-05 22:23:00
July 05 2010 22:22 GMT
#14
I've seen worse. I've worked on a project where the lead developer refused to use any control statements what so ever believing that they have a risk of malfunctioning. So the whole project was done assembly style except... in C#.

I still can't believe why this guy was hired and why he still works there.
Rillanon.au
NoHrt
Profile Blog Joined May 2010
Canada236 Posts
July 05 2010 23:37 GMT
#15
heh,

are you interested in assisting a fellow SC2 with your programming skills ? Im looking for help with a few things.

PM me if interested
l2sc.net | Lead Director | l2sc.tv NoHrt.518
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
July 06 2010 00:46 GMT
#16
No...Bob was fired. Actually, about half way through the project he stopped responding to emails and phone calls (he was a contract hire, apparently).

On July 06 2010 07:22 haduken wrote:
I've seen worse. I've worked on a project where the lead developer refused to use any control statements what so ever believing that they have a risk of malfunctioning. So the whole project was done assembly style except... in C#.

I still can't believe why this guy was hired and why he still works there.

That hurts to think about.
Liquipediaasante sana squash banana
michiko
Profile Joined April 2010
United States75 Posts
July 06 2010 15:07 GMT
#17
I like the comment line you showed, rofl.

I mean it is a great practice to comment lines of code often, but E-V-E-R-Y line?

Espcially, ROFL, when the line itself describes what it does

//This resets the is key down flag to not being enabled
isKeyDown=false;

ROFL? What coder couldn't decipher that without the //?
----

And yes, I love that first post you make. In PHP it is very dangerous to store information in the session variables, who knows when it'll get changed or w/e as you navigate through the pages.

It's also a bad idea to store important information in there (like you said, just a session_id variable, user_ids, web cart information).

User names and passwords, any customer information stored in session? Bad News Bears.

Hell, I don't even use the $_[GET], i stick to POST so kiddies can't URL hi-jack my code.

---

Do you have a good source of code for properly storing passwords? I don't use plaintext, but I'm interested to hear your thoughts / methods on how to properly store, check and carry a PW value.

GOOD BLOG! 5/5!

tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
July 06 2010 15:18 GMT
#18
I'll post the creation bit here, and the whole password shpiel on pastebin. I create and store passwords based on SHA-1, with part of the SHA'd password used as the salt for SHA-ing the password to check it. Win.

function createpasswordhash($user, $raw_pass)
{
// this should ONLY be used to create NEW passwords, as
// the salt is based on the time
$salt = sha1($user . array_sum(explode(' ', microtime())));
$raw = $salt . sha1(sha1($user) . sha1($salt . $raw_pass));

return $raw;
}

The whole thing... http://pastebin.com/0dD00pu0
It makes use of my SQLController class for checking, but that should be easy enough to figure out. I can write up something about that later, though.
Liquipediaasante sana squash banana
michiko
Profile Joined April 2010
United States75 Posts
July 06 2010 15:30 GMT
#19
Awesome, great code. I won't steal - but that for sure helps!

I have one question:

$row = $DB->Fetch($query);

the "->"

I'm not a full-time coder, I do PHP contractually (soon-to-be full time, i hope).


Is that vanilla PHP? Are you using a framework? I recall -> calls being a big part of the Kohana framework.

$DB->Fetch sounds fricken awesome - for sure nicer than raw PHP MySQL queries...
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
July 06 2010 15:40 GMT
#20
-> is part of PHP's OOP syntax. Like I said, I'll post my SQLController class later. I don't mind if you use my password stuff, as long as you stick a comment in there attributing it to me.
Liquipediaasante sana squash banana
AssuredVacancy
Profile Blog Joined September 2008
United States1167 Posts
July 06 2010 16:01 GMT
#21
That man is a genius at coding. He's securing his job for life.
We spend our youth attaining wealth, and our wealth attaining youth.
Deleted User 61629
Profile Blog Joined March 2010
1664 Posts
Last Edited: 2010-07-06 18:52:45
July 06 2010 18:41 GMT
#22
--- Nuked ---
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
July 06 2010 18:53 GMT
#23
On July 07 2010 03:41 Inori wrote:
Show nested quote +
function createpasswordhash($user, $raw_pass)
{
// this should ONLY be used to create NEW passwords, as
// the salt is based on the time
$salt = sha1($user . array_sum(explode(' ', microtime())));
$raw = $salt . sha1(sha1($user) . sha1($salt . $raw_pass));

return $raw;
}

This is quite common with beginner coders really. Everyone has this period where they feel they need to reinvent everything and are smarter than everyone. I remember wondering why I'm the only one "smart" enough to use sha1(md5(base64_encode()));
Except I'm a professional PHP developer ^^
That's code I wrote when I was a beginner, I admit, but it's easy and copypasta is my friend. It's perfectly secure and quicker than using mcrypt. And the SHA'ing of multiple things is just for diversity. A 40 character salt is better than a 20 character salt, after all.
Liquipediaasante sana squash banana
Deleted User 61629
Profile Blog Joined March 2010
1664 Posts
Last Edited: 2010-07-06 19:03:10
July 06 2010 18:57 GMT
#24
--- Nuked ---
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
July 06 2010 19:16 GMT
#25
That's only true when the SHA hash is shorter than the source, so unless someone has a 28 character password (and I usually cap length at about 20 anyway), there's no impact on the security.
Liquipediaasante sana squash banana
nath
Profile Blog Joined May 2010
United States1788 Posts
July 06 2010 19:22 GMT
#26
meh...this isn't really bad. just overkill...

but yeah i guess it wastes processing power, not that much though (don't lie to yourself, setting the variable again takes nothing)

comments aren't bad; where i work we have this 'genius' who is amazing at coding but his shit is impossible to decipher. we're lucky because he will just redo it form scratch instead of making it easy to modify so we could just modify it -.-

(I have extensive knowledge of PHP/SQL)
Founder of Flow Enterprises, LLC http://flow-enterprises.com/
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
Last Edited: 2010-07-06 19:27:22
July 06 2010 19:27 GMT
#27
This one page I'm working on now was originally 800 lines with 12 SQL queries. I have reduced it to 350 lines and 2 SQL queries, and still managed to add functionality. That's BAD.
Liquipediaasante sana squash banana
michiko
Profile Joined April 2010
United States75 Posts
Last Edited: 2010-07-06 21:31:00
July 06 2010 21:28 GMT
#28
So how long have you been PHP programming?

My only qualm with PHP is despite it being really easy/fun/extensive to learn and code in...I've heard that PHP coding is pretty entry level as far as a career goes.

A coding friend of mine started OFF in PHP and moved into other languages.

That said...I'm like ultra excited about an upcoming potential opportunity to start coding full-time, from part-time.

Also - and maybe this will help spark more of a debate, especially regarding life as a web developer - how much are we/you being replaced by the really smart coders?

As in - There are a dozen CMS and Web Cart framework applications that business people can purchase...

Why pay someone a pretty decent salary when you can just BUY the framework/CMS/Cart and install it yourself?

==

Just as our individual 'EXP' bars go up as we code, and become veterans from beginners....I feel that the whole industry of programming has that same EXP bar...and it is constantly weeding out the un-needed...Like poor Bob that wrote the silly code in the OP.

==

And Oh Yeah! PDO. I remember that stuff. I don't see why I would incorporate PDO functions into a Project that is going to stay strictly with MySQL. Am I missing something? Does it reduce lines of code that much? I'm by far the infant of the group - so i'll take knowledge spankings -

tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
Last Edited: 2010-07-06 21:41:40
July 06 2010 21:40 GMT
#29
I've been programming in PHP for about 8 years now? Something like that. The best analogy I can think of for PHP is one not many people understand (but all of you will!): It's like StarCraft - easy to get started in and damn hard to master.

And, once again, I'm not using PDO, just OOP.

As for being replaced....I'm one of the really smart coders doing the replacing. I know another 5 programming languages, I know how a CPU works (and can/have built a functioning computer, and I don't mean from parts off Newegg), and I have tons of experience. What I lack, being mostly self taught, is formatted knowledge about things. For instance, I used MVC style coding for 4 years before I knew what MVC style was. I also lack in some areas, but my primary job is getting me experience in those areas. And not to too my own horn, I know I still have a very long way to go before I'd ever even be able to consider maybe thinking about possibly calling myself an expert.

And yes! Networking is important. I've got friends in all kinds of tech jobs (mostly programming), from Northrup Grumman to the Canadian Government. References from those guys go a lot farther than a reference from your boss over at Best Buy.
Liquipediaasante sana squash banana
Deleted User 61629
Profile Blog Joined March 2010
1664 Posts
Last Edited: 2010-07-07 04:35:11
July 07 2010 04:32 GMT
#30
--- Nuked ---
sluggaslamoo
Profile Blog Joined November 2009
Australia4494 Posts
Last Edited: 2010-07-07 04:43:47
July 07 2010 04:36 GMT
#31
Dude that's nothing this is what I had to work with when I had to fix up someone's website that was never finished.


//checks what certificate they purchased
function ninjapants($g, $c) {
$co2 = ($c > 0) ? true : false;
$green = ($g > 0) ? true : false;

if($co2 && $green) return 1;
elseif($co2) return 3;
elseif($green) return 2;
else return false;
}

//generates the PDF file
function ninjagloves($type, $one, $two, $three, $four, $total, $five = ''){
$ski = array();
$ski[0] = 'This document confirms that';

$one = stripslashes($one);
$two = stripslashes($two);
$three = stripslashes($three);
$four = stripslashes($four);
$five = stripslashes($five);
$total = stripslashes($total);

$lah = $this->ninjapants($three, $four);

switch($type) {
case 'business':

... you get the idea


These guys still got paid around $10,000 for building a piece of crap that never worked.

Also I can't wait till PHP is replaced with Ruby (not RoR). PHP is the worst language ever (yeah I could write a whole book about it) and there will be less un-qualified script kiddies making websites.
Come play Android Netrunner - http://www.teamliquid.net/forum/viewmessage.php?topic_id=409008
Hokum
Profile Joined February 2009
Norway9 Posts
July 07 2010 08:08 GMT
#32
Even though the code you snipped is harmless, it is still copyrighted company code, and not something you should be posting on a public forum.

The internet is fun when it is anonymous and it is easy to take these things lightly, but if I was your manager, I would show you the door... something to think about at least.
1 day pass could be like 3 days of ramen
haduken
Profile Blog Joined April 2003
Australia8267 Posts
July 07 2010 08:12 GMT
#33
LOL, ninjapants.
Rillanon.au
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
July 07 2010 10:19 GMT
#34
ninjagloves!

I couldn't stop laughing for 1 minute
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
evanthebouncy!
Profile Blog Joined June 2006
United States12796 Posts
July 07 2010 10:20 GMT
#35
hahahha shit still laughing about ninjapants and ninjagloves
Life is run, it is dance, it is fast, passionate and BAM!, you dance and sing and booze while you can for now is the time and time is mine. Smile and laugh when still can for now is the time and soon you die!
Adeny
Profile Blog Joined January 2009
Norway1233 Posts
July 07 2010 10:55 GMT
#36
I'm going to name all of my functions and variables arbitrary words, too! BTW, why is there no coding thread here? We've got threads for most other hobbies, and there seems to be quite a couple of coders here. Anyone feel like starting one?
wanderer
Profile Blog Joined May 2007
United States641 Posts
Last Edited: 2010-07-07 11:11:40
July 07 2010 11:10 GMT
#37
i don't understand... is this dumb because white space matters in PHP? so what if he wants to take the extra effort into making it look pretty. i would if i had the time and liked my job.

...or is it dumb because they didnt do it the fancy way
Fuck you, I have a degree in mathematics and I speak 12 languages. (I called the World Cup final in 2008 btw)
Adeny
Profile Blog Joined January 2009
Norway1233 Posts
Last Edited: 2010-07-07 11:33:50
July 07 2010 11:25 GMT
#38
On July 07 2010 20:10 wanderer wrote:
i don't understand... is this dumb because white space matters in PHP? so what if he wants to take the extra effort into making it look pretty. i would if i had the time and liked my job.

...or is it dumb because they didnt do it the fancy way


He basically does this:
(pseudo, ofcourse)

a = b
b = a

Except for with all the variables, so the second set is completely unneccesary and does aboslutely nothing, it's equal to doing

a = a

which it obviously is already.
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
July 07 2010 11:52 GMT
#39
On July 07 2010 20:10 wanderer wrote:
i don't understand... is this dumb because white space matters in PHP? so what if he wants to take the extra effort into making it look pretty. i would if i had the time and liked my job.

...or is it dumb because they didnt do it the fancy way

Like the guy said, he did a = b, b = a. The problem with the whitespace is that he aligns EVERYTHING in the file, not just blocks. There's parts where there's 23 (yes, 23) tabs before the start of a line of code. That's already a line wrap on a 1660x900 monitor.
Liquipediaasante sana squash banana
Adeny
Profile Blog Joined January 2009
Norway1233 Posts
July 07 2010 12:02 GMT
#40
Probably been told, by some professor, some time, in the ancient past, that it HAS to be done that way. Poor soul.
michiko
Profile Joined April 2010
United States75 Posts
July 07 2010 14:37 GMT
#41
On the other hand - I think one thing that will save us professionals who aren't fucking (yes, fucking) super gosu at coding...Will be how quickly programming concepts evolve and in some instances forgotten.

+ Show Spoiler +
I am a bit jaded by some of the elitist mentality that coders have. Very, very few 'humble' coders out there. With a decently understanding of why; when you figure out a program through writing code it is a really rewarding experience and boosts the; "I r SmART" confidence.


Haha, like the MVC and PDO we discuss above. Both concepts I've studied and wrapped my head around. But BOTH, I certainly couldn't recall on a moment's notice.

Now that is surely attributed to the fact that I don't code in a MVC typically - the PHP I write uses a...I guess I'd call it...a Property Structure, like GETS and SETS. I also don't code all the time, so concepts I browse over are buried in the sands of life as months go by.

Coding mentalities and languages are certainly something you've got to flex and practice often to keep in-shape.

Someone above teases script kiddies - I guess I am slightly offended by that, I'm not sure if what I code could be considered just scripting...But what is wrong with that, even if so? As Tofu exclaims the high up elite coders are doing their best to eliminate script kiddies anyway.

And (this is extreme) i feel like, lol, you describe script kiddies as being like illegal immigrants or something, leeching jobs!
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
July 07 2010 15:59 GMT
#42
Plenty are. My job is one that was previously held by a script kiddie, and I was called in and interviewed over 3 weeks before I was hired (they reallllllly didn't want to get another kiddie). Most script kiddies think they are good programmers because the follow one of the primary tenants of programming: never rewrite code if you don't have to. The problem is...script kiddies don't understand the code they are using, whereas a real programmer will know exactly what's going on in there.
Liquipediaasante sana squash banana
michiko
Profile Joined April 2010
United States75 Posts
July 07 2010 17:11 GMT
#43
Good summary, surely it is far more complex than that, but great way to sum it up.

When you say that only a real programmer will know exactly what's going on in there, it begs the following question:

Why did someone, a proverbial 'real programmer', even ever structure a set of language or syntax rules that could be utilized by a 'script kiddie'.

There must be a marketplace and a demand for 'script kiddies', in which case, we/you should be thankful that there is a definable difference between the two...separating the men from mice so-to-speak.

As you can see, I'd be more fit for a Consulting / Managerial role of programming, rather than the strict science of logic's and syntax memorization required to be a 'real programmer' - lol.
tofucake
Profile Blog Joined October 2009
Hyrule19087 Posts
July 07 2010 17:35 GMT
#44
Every language is like that. Someone writes some useful piece of software or a helpful script (eg some Perl or BaSH script) and releases, and then it's out there. Script kiddies tend to have a very basic understanding of the tools they use, say...enough to change some parameters in a search or to use a hex editor to change the title of a program. A programmer knows enough about a tool to be able to completely rewrite it if need be.

As for a "demand for script kiddies", it is unfortunately very hard for non-technical people to tell the difference between a script kiddie and a programmer, which stacks the odds against us (since there are far more script kiddies than educated, experienced programmers).
Liquipediaasante sana squash banana
Normal
Please log in or register to reply.
Live Events Refresh
Map Test Tournament
11:00
$450 3v3 Open Cup
WardiTV301
IndyStarCraft 175
LiquipediaDiscussion
RSL Revival
10:00
Season 2: Playoffs Day 5
Cure vs TriGGeRLIVE!
Tasteless1087
Crank 955
Rex135
CranKy Ducklings115
3DClanTV 78
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Tasteless 1087
Crank 955
Lowko308
IndyStarCraft 175
Rex 135
StarCraft: Brood War
Britney 44539
Calm 7957
Horang2 4492
Bisu 1463
Hyuk 854
Stork 673
Snow 575
actioN 415
EffOrt 326
hero 321
[ Show more ]
Pusan 262
ZerO 248
Soma 245
Mini 225
Last 203
Light 154
Soulkey 146
Hyun 105
ggaemo 71
Liquid`Ret 70
Rush 60
Mind 52
ToSsGirL 47
Sea.KH 35
HiyA 34
JYJ33
Sharp 30
sorry 28
Free 24
sas.Sziky 23
Sexy 20
scan(afreeca) 17
Icarus 12
Terrorterran 11
SilentControl 10
Dota 2
singsing3279
qojqva1440
Dendi690
XcaliburYe205
Gorgc98
Counter-Strike
olofmeister1881
x6flipin619
hiko161
zeus110
markeloff91
edward0
Other Games
B2W.Neo845
DeMusliM411
Hui .206
Fuzer 161
Pyrionflax143
XaKoH 134
ArmadaUGS43
NeuroSwarm39
QueenE26
Trikslyr13
Organizations
StarCraft: Brood War
Kim Chul Min (afreeca) 1225
CasterMuse 19
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Nemesis2813
• Jankos1490
Other Games
• WagamamaTV205
Upcoming Events
The PondCast
26m
RSL Revival
21h 26m
Zoun vs Classic
Korean StarCraft League
1d 14h
BSL Open LAN 2025 - War…
1d 19h
RSL Revival
1d 21h
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
Online Event
3 days
Wardi Open
3 days
Monday Night Weeklies
4 days
[ Show More ]
Sparkling Tuna Cup
4 days
LiuLi Cup
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.