View Single Post
Old 06-03-2014, 01:49 PM  
edgeprod
Permanently Gone
 
Industry Role:
Join Date: Mar 2004
Posts: 10,019
Quote:
Originally Posted by thumbuilderic View Post
I feel like you've all but called me an idiot here. I realize that the opinions about languages can inspire some passionate responses, and that's good.
Let me start out by saying: absolutely not. I don't punish intelligent opinions with personal attacks. If you didn't have a point, I'd definitely have been less accepting of your argument. My replies are geared toward the people reading your comments, not at you making them. One of the problems with the lack of technical sophistication on GFY is that people see a complex technical point, read about one line of it, and then run with the opinion they immediately form. So, with you making these statements, those of us in development will have to hear "but PHP sucks for all sites!" for a long time. If I don't respond with a very strong statement, that's their take-away. I hope that makes sense, and you aren't offended.


Quote:
Originally Posted by thumbuilderic View Post
It's very obvious to me that you are one of the few out there who believes in doing things the right away, according to style guides, PSR, etc. That's awesome, and I sincerely applaud you for that. These are things I also care about, and it frustrates me when I read others' code which is inconsistent, messy, or overly complicated without reason.
Agreed. I enforce these standards in our employees, and deliver them when I am working for a client. It makes the code maintainable, scalable, and extensible. Otherwise, you're just kidding yourself. As you know, a number of well-known projects in adult don't begin to meet proper standards, and are so poorly coded as to be embarrassing to anyone competent. Not naming any names, but I'm sure half a dozen immediately pop into your mind.


Quote:
Originally Posted by thumbuilderic View Post
However, Scala and Java have their own pros and cons, and my experience has been positive. We are working on some large-scale applications and the decision to use Scala has been paying off. The JRE is portable, eliminates (in many cases) some extra overhead (web server, e.g. massive .htaccess files), and gives us almost out of the box a very scalable, stateless environment that can expand and contract effortlessly.

It's really about using the best tool for the job. I still write a lot of PHP and I still endorse it for certain projects.
I'm a programmer, not a web developer, so C++, Python, Java, etc, are my go-to tools for most problems that need solving outside of the web sphere. My point is just that adult does not solve complex (or even interesting) problems in 90% of cases, and PHP *is* the correct language for maintainability and extensibility, if not for scalability (which most projects here don't even need).

Often, it's more important that someone else can work with your code, than the language being a better choice for X, Y, or Z reason.
edgeprod is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote