MAMEWorld >> The Loony Bin
View all threads Index   Threaded Mode Threaded  

Pages: 1

AWJ
Reged: 03/08/05
Posts: 936
Loc: Ottawa, Ontario
Send PM


Programmers: Is this true?
#285022 - 05/05/12 12:00 PM



Quote:


Imagine you have uh, a toolbox. A set of tools. Looks okay, standard stuff in there.

You pull out a screwdriver, and you see it’s one of those weird tri-headed things. Okay, well, that’s not very useful to you, but you guess it comes in handy sometimes.

You pull out the hammer, but to your dismay, it has the claw part on both sides. Still serviceable though, I mean, you can hit nails with the middle of the head holding it sideways.

You pull out the pliers, but they don’t have those serrated surfaces; it’s flat and smooth. That’s less useful, but it still turns bolts well enough, so whatever.

And on you go. Everything in the box is kind of weird and quirky, but maybe not enough to make it completely worthless. And there’s no clear problem with the set as a whole; it still has all the tools.

Now imagine you meet millions of carpenters using this toolbox who tell you “well hey what’s the problem with these tools? They’re all I’ve ever used and they work fine!” And the carpenters show you the houses they’ve built, where every room is a pentagon and the roof is upside-down. And you knock on the front door and it just collapses inwards and they all yell at you for breaking their door.

That’s what’s wrong with PHP.




I've never used PHP...



Vas Crabb
BOFH
Reged: 12/13/05
Posts: 4466
Loc: Melbourne, Australia
Send PM


Re: Programmers: Is this true? new [Re: AWJ]
#285026 - 05/05/12 12:20 PM


The problem with PHP is that the barriers to entry are very low, so it attracts bad developers. It's possible to write very nice PHP applications. It's very easy to write bloody awful PHP applications. It's possible to write bad code in any language, but a language with higher barriers to entry doesn't tend to attract the same bottom of the barrel developers. They're looking for something easy to get into. Yes, the language and library are quirky in places, and some things work differently to similar features in other languages. But on the whole, the biggest problem with PHP is the number of shit developers working with it. The language and library aren't as bad as people like to say.



Pi
Allergic to life
Reged: 09/20/03
Posts: 6449
Loc: Room 101
Send PM


I agree new [Re: Vas Crabb]
#285027 - 05/05/12 12:44 PM


PHP is nice to work with but it's also very permissive so you can write bad code easily. But the tools comparison is very far-fetched. It has some rough corners but overall it's a pretty complete package. With some discipline you can write great code, but that tells more about how good coder you are than how good the coding language is. Mr. Do can testify.



Wound up, can't sleep, can't do anything right, little honey / Oh, since I set my eyes on you. / I tell you the truth.
I can't get it right / Get it right / Since I met you...



italieAdministrator
MAME owes italie many thank yous, hah
Reged: 09/20/03
Posts: 15246
Loc: BoomTown
Send PM


Third'ed new [Re: Pi]
#285035 - 05/05/12 02:59 PM


> PHP is nice to work with but it's also very permissive so you can write bad code
> easily. But the tools comparison is very far-fetched. It has some rough corners but
> overall it's a pretty complete package. With some discipline you can write great
> code, but that tells more about how good coder you are than how good the coding
> language is. Mr. Do can testify.

A more proper analogy would be a toolbox filled with Harbor Freight Tools (Cheap Chinese Clone Tools). In experienced hands you can build a decent house with them. You'll just see a lot more crappy houses built with these tools, because they're cheap and inexperienced carpenters don't have to spend a fortune to get started.



mogli
MAME Fan
Reged: 01/26/08
Posts: 1956
Send PM


I wouldn't even use a tool analogy, then.... new [Re: italie]
#285119 - 05/06/12 04:06 AM


Maybe not use an analogy at all. Vas Crab and Pi summed it up pretty shortly.



Consider it high comedy....sincere tragedy....whatever...don't take it personally.

The Culture




italieAdministrator
MAME owes italie many thank yous, hah
Reged: 09/20/03
Posts: 15246
Loc: BoomTown
Send PM


Re: I wouldn't even use a tool analogy, then.... new [Re: mogli]
#285123 - 05/06/12 05:07 AM


> Maybe not use an analogy at all. Vas Crab and Pi summed it up pretty shortly.

The original question specifically referenced an analogy. I adjusted the analogy accordingly.

Maybe you should adjust your brain to just use my analogy.



TriggerFin
Gnu Truth
Reged: 09/21/03
Posts: 5266
Loc: Stuck in a hole
Send PM


Re: I wouldn't even use a tool analogy, then.... new [Re: italie]
#285155 - 05/06/12 01:43 PM


> > Maybe not use an analogy at all. Vas Crab and Pi summed it up pretty shortly.
>
> The original question specifically referenced an analogy. I adjusted the analogy
> accordingly.
>
> Maybe you should adjust your brain to just use my analogy.

That's the kind of thinking that has people use crap like PHP.



italieAdministrator
MAME owes italie many thank yous, hah
Reged: 09/20/03
Posts: 15246
Loc: BoomTown
Send PM


Re: I wouldn't even use a tool analogy, then.... new [Re: TriggerFin]
#285157 - 05/06/12 02:20 PM


> > > Maybe not use an analogy at all. Vas Crab and Pi summed it up pretty shortly.
> >
> > The original question specifically referenced an analogy. I adjusted the analogy
> > accordingly.
> >
> > Maybe you should adjust your brain to just use my analogy.
>
> That's the kind of thinking that has people use crap like PHP.

Then I must be on the right track...




mogli
MAME Fan
Reged: 01/26/08
Posts: 1956
Send PM


Re: I wouldn't even use a tool analogy, then.... new [Re: italie]
#285218 - 05/06/12 11:52 PM


> > > > Maybe not use an analogy at all. Vas Crab and Pi summed it up pretty shortly.
> Then I must be on the right track...

No, baby, you have to set dem a nue track. Which is what I was saying V and P did.



Consider it high comedy....sincere tragedy....whatever...don't take it personally.

The Culture




Bekki Doll
A cynical yet secular shiny retrogamer, thread ressurector and fan of the word "gay".
Reged: 01/28/12
Posts: 771
Loc: Freeport, PA
Send PM


Re: I wouldn't even use a tool analogy, then.... new [Re: mogli]
#285224 - 05/07/12 12:12 AM



Quote:


No, baby, you have to set dem a nue track. Which is what I was saying V and P did.




I can't help but think of FreeBASIC: It's very powerful, especially for quick'n'dirty programs. But it's entirely possible to write very poor code with it as well.

I'm a stickler for creating efficient code yet having a nicely formatted source code listing with lots of remarks and functional documentation. I'm sure that people who've dealt with BASIC (especially BASICA/GWBASIC) have seen very poor spaghetti code that may get the job done but it's just an outright pain to debug and adapt when improvements are needed.

--Bekki



Combating functional illiteracy with latex-clad drama since the '80s, because old video games rule!


Pages: 1

MAMEWorld >> The Loony Bin
View all threads Index   Threaded Mode Threaded  

Extra information Permissions
Moderator:  GatKong 
0 registered and 108 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 1290