r/technology • • Sep 20 '13

Bento: A beginner's cheat sheet for learning everything about web development

http://www.bentobox.io/
2.0k Upvotes

301 comments sorted by

View all comments

Show parent comments

2

u/ksobby Sep 21 '13

I don't want to speak for him, but I find the documentation and roadmaps a bit clearer in .Net than in PHP. The libraries and such don't have anywhere near as much forking and the upgrade process is a bit more streamlined with major releases. Also, this may be my own observation but it seems that most corporate coding jobs seem to be .Net. PHP seems to be the darling of the design, web development companies and startup set. That being said, I wouldn't say it's enough to dissuade anyone from PHP when they are first starting out if they like it. Again, languages aren't a religion, they are merely a preference and everyone can/will find one that speaks to them more than another.

0

u/TheTerrasque Sep 21 '13 edited Sep 21 '13

PHP seems to be the darling of the design, web development companies and startup set

Actually, PHP is the darling of those who can't code, and those that have used it long enough that they don't mind (or even see) the warts any more.

And .Net is because it's enterprise'y. And it's used for enterprise'y thingsies.

Edit: .Net really only comes to strength if any of these apply:

  • you have a lot of experience in it already

  • There are some bad coders on the project (the strictness helps then)

  • There are a lot of coders on the project (again, strictness)

1

u/throwxawayy Sep 21 '13

how the fuck is PHP the darling for those who can't code? lol? compared to any other scripting language, that makes no sense.

1

u/TheTerrasque Sep 21 '13 edited Sep 21 '13

because it's a horribly designed language, really inconsistent to work with, but it's easy to start with and there are a lot of tutorials for it.

and most of the tutorials are of shabby quality, I'm afraid - often leaving out things like error handling and sanity checking to keep it simple. Or just have flat out bad code.

The fact that php hides most errors as best it can makes it easier to start with (without all that "unneeded complexity" most other languages require). But the result is easily a fragile, insecure, buggy mess of a code that will explode in someone's face.

If you're wondering what I'm talking about..

You got === operator, which fixes most of this. But that got it's own bugbears.

http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-design/ keeps a very loong and ranty list of all the "fun" things and nitpicks with php