Life as a Web Developer - Page 2
Blogs > tofucake |
AssuredVacancy
United States1167 Posts
| ||
Deleted User 61629
1664 Posts
| ||
tofucake
Hyrule18938 Posts
On July 07 2010 03:41 Inori wrote: Except I'm a professional PHP developer ^^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())); 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. | ||
Deleted User 61629
1664 Posts
| ||
tofucake
Hyrule18938 Posts
| ||
nath
United States1788 Posts
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) | ||
tofucake
Hyrule18938 Posts
| ||
michiko
United States75 Posts
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
Hyrule18938 Posts
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. | ||
Deleted User 61629
1664 Posts
| ||
sluggaslamoo
Australia4494 Posts
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. | ||
Hokum
Norway9 Posts
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. | ||
haduken
Australia8267 Posts
| ||
evanthebouncy!
United States12796 Posts
I couldn't stop laughing for 1 minute | ||
evanthebouncy!
United States12796 Posts
| ||
Adeny
Norway1233 Posts
| ||
wanderer
United States641 Posts
...or is it dumb because they didnt do it the fancy way | ||
Adeny
Norway1233 Posts
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
Hyrule18938 Posts
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. | ||
Adeny
Norway1233 Posts
| ||
| ||