- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
I feel I need to step in and defend PHP and Flash. As a PHP developer by trade I feel it's a great language (sure, strict datatyping - among other things - would probably weed out the crap developers from the good ones but PHP is what it is) that can be picked up easily. What people do with it is a different story. I've seen much WTFery but that says more about the developer than the language.
Flash gets a bad name because of the horrible use and misuse of it. Flash, too, has its merits and, if done correctly, can be a huge asset to a company or website. A friend of mine works in Flash and can make highly stable, elegant, and organized AS3 interactive elements. My chief arguments against flash were navigation (you couldn't use browser forward/back buttons) and its speed (or lack thereof). He proved me wrong on both counts and showed me that a properly implemented flash movie is much like properly implemented AJAX; highly functional, very elegant, and less linear - more application-like. When Flash is misused, much like JavaScript, it can turn a website into a horrible mess.
Admin
There's really only one match on amazon for a PHP book with a Gary as co-author.
Admin
In what context have you seen this ?
Admin
I've seen complete nonsense code like that in all sorts of projects. A lot of times, it comes back from offshore teams, but I've seen so-called "experts" generate Javascript code that's so nonsensical that I couldn't even guess as to what they were trying to do.
Seriously, are you trying to say no one has ever handed you code that makes absolutely no sense whatsoever? You obviously haven't handled much of other people's code in that case.
Admin
Actually, it's common on Embedded Systems to avoid recursive code; there is typically only a small amount of memory available, and there aren't enough spare CPU cycles to do the type of bounds checking necessary to avoid a stack overflow.
Admin
Only if your compiler doesn't do tail call optimization. Which it should.
//I'm lookin' at you, .NET.
Admin
I was getting errors pointing to a line that said, essentially, "$fred = $bob + 1000" (I name my variables after my enemies) so I put in a debugging statement. In most sane languages, an "if" in a string context will return "TRUE" or "FALSE" and I wanted to echo that to my screen.
Just then the boss interrupted me and I never got to try it. Forgot about it and never removed it. Luckily that module never even gets called.
Was that so hard to understand? Geez, morons.
Admin
Rarely 6 various syntax errors in the same 20 bytes with random keywords and operators in it...
Admin
Really, "Gary"? A branching statement returns a value? Doesn't sound very sane to me.
Admin
Those who can't teach, become politicians.
Admin
My LinkedIn profile looks worse than Gary Mailers. I use it to keep track of my consulting jobs. Poor Gary.
Admin
What language does that work in, Gary?
Maybe you think you know many languages, when you actually don't. You do know what once you pick one language for one file, you have to stick to that language, right?
That echo if statement can work in perl, but perl doesn't have echo, it only has print. Then, isset can only accept a variable in PHP, so you can't do isset($bob + 1000). If you did mean it to be in perl, you could have done defined($bob + 1000), which would be allowed in perl but would always return true.
Admin
Naturally, since Perl is an interpreted language.
Admin
So "important" you hide behind an alias of "Anonymous" and jump to conclusions like this. Why not try technically testing people? Not that doing even that will define who is likely to work well on a large-scale project. I got 17/20 in a PHP test after just reading a book on it. No way could I call myself a proficient programmer in the language although given time and the manual I could probably come up with something that works adequately.
I counted the jobs on my CV in the last 10 years and the count also came to 11. 6 month contracts used to be very very common. I've also had 3 jobs in the last year due to them all being WTF jobs... well the last one would have been a great place to work 8 years ago when the development was actually done. In another one, for a well known media company, I was asked by the team-leader to write them a test system with a very loose spec, and the team-leader promptly left and the remainder of the team didn't really know what I was doing, and were surprised it wasn't exactly the way they'd have done it. I also got yelled at by a junior developer there who made himself my senior for daring to write in the documentation that some code was portable.
Presumably you never came from the "contract" era that was the late 1990s. Subsequently the jobs did get a bit shorter but there has occasionally been the WTF job pop up that just didn't work out. Perhaps read this board a bit more to see the kinds of environments we have had to work under at times.
Admin
Yep. It interprets bytecode. And what's the name for a tool that converts source code to bytecode?
Admin
In case you forgot, Gary's resumé now boasts "15 years experiance in the industry", as well as "prolific author and speaker".
Admin
Admin
Admin
Admin
Is the guy in question Gary Mailer? from "Beginning PHP, Apache, MySQL Web Development"
Admin
Admin
I think vulputate means "to cut off your fox" or something.
Admin
"A branching statement returns a value? Doesn't sound very sane to me."
Ruby can. Its cool.
Admin
Admin
Wow. I remember that PHP book. It sucked... Hard.
I also know a fail Java guy who has several publications and a fail security chick who has a litany of publications.
I guess those who can, do, and those who can't co-author crappy books.
Admin
Actually, I think it's the other way around.
Admin
Oooh, I think I might know the real "Gary". I tech-edited a PHP book co-authored by a Big Expert who mostly seemed to go around giving talks at conferences.
And by tech-edited, I mean re-wrote his chapters and his code. Which were laughable. The Big Expert seemed to have learned some C code once, decided PHP was the more or less the same, and bloviated from there.
He still got the book credit, though.
Admin
It has always been difficult for me to write a nice essay, and even when I did, it often didn't turn out well. After careful consideration, I made the decision to use this service write my essay for me cheap uk https://www.rushmyessay.co.uk/ , and I was pleasantly delighted. The subject was challenging, but these experts handled it and swiftly gave me a lengthy essay that I really loved. I heartily suggest them!
Addendum 2022-10-25 19:56: It has always been difficult for me to write a nice essay, and even when I did, it often didn't turn out well. After careful consideration, I made the decision to use this service write my essay for me cheap uk https://www.rushmyessay.co.uk/ , and I was pleasantly delighted. The subject was challenging, but these experts handled it and swiftly gave me a lengthy essay that I really loved. I heartily suggest them!
Addendum 2022-10-25 19:57: It has always been difficult for me to write a nice essay, and even when I did, it often didn't turn out well. After careful consideration, I made the decision to use this service write my essay for me cheap uk , and I was pleasantly delighted. The subject was challenging, but these experts handled it and swiftly gave me a lengthy essay that I really loved. I heartily suggest them!