GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   All your PHP scripts will blow up one day! Seriously! (https://gfy.com/showthread.php?t=1142043)

blackmonsters 06-02-2014 07:54 AM

Quote:

Originally Posted by CyberSEO (Post 20108317)

Not bothering to click something with no explanation.

.

milambur 06-02-2014 09:02 AM

Yay I'm good, used !== FALSE even in some code from 2006 I checked. :thumbsup

Given the range of values functions can return it is always best to do proper checking.

One huge problem that isn't as common but that I still see from time to time, is failing to prevent code injection.

adultmobile 06-02-2014 09:28 AM

Quote:

Originally Posted by edgeprod (Post 20107702)
Can you give an example of a problem in adult that you're solving in a different language because PHP couldn't get the job done?

You can write anything with any language over any hardware. Even on a 1960's turing machine... there's another thread about old Apple and I posted a video of 3d effects running nice on commodore 64. But, for how long more it is worth to code on c64?

Humans write in the language they know better, it is a fact that lots of 30+ years old adult site developers know PHP best, so they will use PHP, either good or bad way, depends by the human. MtGox was a PHP masterpiece :)

If you ask me, I know C, C++, Java, Python and even Assembly better than PHP, in fact when I have to edit Konrad's PHP's (I will not comment lol), I need google and stackoverflow access "to be sure", or ping him in ICQ. If I have to do a web scraper, chat bot or mass mailer, I use Python - just because in PHP I would be slow and include bugs. I know also C, but it would be overkill, I wrote sites in C cgi's in 1990s just because I was lazy to learn Perl as I knew C from before: Perl guy in the company joked on my 10 pages of C code to make a web form, but for me it was easier than write 3 lines of Perl at the time. Arabic people find easier to write in Arabic than English, it depends by humans.

If you ask most of the people in this thread, they'll use PHP for doing the same stuff I do in Python (and before I done in C). So who knows more Ruby will use Ruby and so on, my point it was on the future, long term, adult kept achored to PHP legacy code and developers. Do we have so many new young developers joining new adult business, except a few PHP guys hired to maintain old PHP code of old adult companies?

The statement about 80% of sites use PHP it may be true, but of these, 1% are really custom new sites and 99% are very old sites or Joomla, WordPress, Drupal installs. My adult sites are in PHP, because based on older PHP cam scripts or tubes, but most of mine (and friend's) mainstream stuff is not PHP.

My point it was: taking in consideration only the 100% custom new sites done from scratch, no simple CMS installs... ask a younger geek, wanting to do his cool stuff for free, or being funded some million dollar by venture capital guys, he (and his banker) may wish to use Ruby on rails, Node.js and fancy Scala, perhaps Python, all other than PHP.

We talk of web development. If you take the TIOBE index: http://www.tiobe.com/index.php/content/paperinfo/tpci/ that is in general, include apps, in fact Objective C and C++ is high, that's not web sites - not good data source. A more web-oriented stat, also more young-oriented, it is github:

https://github.com/search?q=NOT+bigboobs

545,532 JavaScript (that's lots of node.js on server)
444,109 Ruby
392,490 Java
275,635 Python
271,465 PHP
(there C# is low for political reasons, but C# is actually cool and used in web).

This is the mainstream ranking; PHP is the least used web language. Compare with adult (99% PHP, 1% C like CJ's and trafficholders), something is wrong. We all agree trained humans can write good PHP code (even if PHP it calls for bugs as it is conceinved), still in mainstream there is a real discussion "what language we use", while in adult there isn't.

adultmobile 06-02-2014 09:45 AM

PS: A someone may have noted, I hate editing PHP myself. If you are a PHP guy making no bugs and available for hourly remote work, I may have some task to give. Anyone interested please write to info [at] tubecamgirl or info [at] chatgf . Understanding one or more of: wowza , node.js , Flash actionscript it is a plus. I don't pay in bitcoins.

edgeprod 06-02-2014 09:59 AM

Quote:

Originally Posted by KlenTelaris (Post 20107924)
Nop he described it pretty accurate.The reason why facebook is in php it's because it's founder was php programmer so it was an obvious reason to use it.If i would build something new,i would always use PHP simply because i have expertise in it and while other languages are better and faster,those advantages are not big enough to justify learning and using them.

It's not about being BETTER, it's about maintainability, extensibility, and using the right tool for the job. Code in whatever you're comfortable with, but I code with a team, and the problems we're solving in adult just don't have the SCALE necessary for Python or other languages. As a former Python team member, don't you think I'd use it if it was more appropriate? :winkwink:


Quote:

Originally Posted by adultmobile (Post 20108475)
You can write anything with any language over any hardware. Even on a 1960's turing machine... there's another thread about old Apple and I posted a video of 3d effects running nice on commodore 64. But, for how long more it is worth to code on c64?

That's very cool. I remember the C64/C128 demo scene, and was active in ACiD and iCE for some time myself. I was a young buck, but I loved it. I had quite a C64 setup back in the day.


Quote:

Originally Posted by adultmobile (Post 20108475)
Humans write in the language they know better, it is a fact that lots of 30+ years old adult site developers know PHP best, so they will use PHP, either good or bad way, depends by the human. MtGox was a PHP masterpiece :)

Great point: when the only tool you have is a hammer, every problem looks like a nail.


Quote:

Originally Posted by adultmobile (Post 20108475)
The statement about 80% of sites use PHP it may be true, but of these, 1% are really custom new sites and 99% are very old sites or Joomla, WordPress, Drupal installs. My adult sites are in PHP, because based on older PHP cam scripts or tubes, but most of mine (and friend's) mainstream stuff is not PHP.

You're absolutely right, and this is a great point; I hadn't considered that.


Quote:

Originally Posted by adultmobile (Post 20108475)
My point it was: taking in consideration only the 100% custom new sites done from scratch, no simple CMS installs... ask a younger geek, wanting to do his cool stuff for free, or being funded some million dollar by venture capital guys, he (and his banker) may wish to use Ruby on rails, Node.js and fancy Scala, perhaps Python, all other than PHP.

You're right about this. However, I always am thinking about testable, maintainable code. I don't want to maintain my own code forever, I want to hand it off to more junior developers. I use what everyone knows, and I make very effective products with PHP. When I'm coding SOLELY for personal use, yes, I use Node.js and Python -- it just makes more sense in those cases.

freecartoonporn 06-02-2014 11:03 AM

Quote:

Originally Posted by blackmonsters (Post 20108256)
That's where I find the bad code that everybody copied.

:1orglaugh

Disclaimer : Stackoverflow is rock solid but nothing is 100%

so answers with most votes are usually correct.

ref : https://www.google.com/#q=find+string+in+variable+php

1st result: http://stackoverflow.com/a/10920750/1642018

2nd result: http://stackoverflow.com/a/4366748/1642018

blackmonsters 06-02-2014 11:40 AM

Quote:

Originally Posted by freecartoonporn (Post 20108609)

Yes, answers with the most votes are usually correct.

Correct is related to the questions asked though.
If you use the code for something different than the question then you have to consider what may be different.

Mutt 06-02-2014 12:10 PM

Quote:

Originally Posted by adultmobile (Post 20108475)
My adult sites are in PHP, because based on older PHP cam scripts or tubes,

You sound like you're an expert coder - why did you use off the shelf cam scripts rather than doing it yourself?

dicknipples 06-02-2014 01:07 PM

Quote:

Originally Posted by adultmobile (Post 20107695)
Really the problem with adult industry it is that it uses PHP.
Check any mainstream startup launched in the past 3 years and they use all except PHP really.

Weird, I know many mainstream startups in the past 3 years who use PHP. MailChimp for one. Not to mention my own startups.

blog.mailchimp.com/ewww-you-use-php

Quote:

Originally Posted by KlenTelaris (Post 20107924)
Nop he described it pretty accurate.The reason why facebook is in php it's because it's founder was php programmer so it was an obvious reason to use it.If i would build something new,i would always use PHP simply because i have expertise in it and while other languages are better and faster,those advantages are not big enough to justify learning and using them.

No, Facebook isn't in PHP because Zuck was a PHP programmer. Zuck was also a perl programmer, but Facebook isn't in perl now is it? Despite all that, after the original PHP code was leaked, they completely rewrote the system from the ground up back in the earlier days, before their current scale... They had some and still do of the best programmers in the world working for them, if they wanted to switch to something else they could have.

In fact, they're so dead set on using PHP that they're creating some of the best stuff to come out for PHP, HipHop VM, which is amazing, and more recently better type hinting and that in Hack, their PHP language.

edgeprod 06-02-2014 01:16 PM

Quote:

Originally Posted by Bowser Koopa (Post 20108784)
blog.mailchimp.com/ewww-you-use-php

Interesting; thanks for that article. It definitely gives some food for thought. It's always nice to hear from the "been there, done that" crowd about what decisions they made, and why.

Klen 06-02-2014 01:32 PM

Quote:

Originally Posted by Bowser Koopa (Post 20108784)
Weird, I know many mainstream startups in the past 3 years who use PHP. MailChimp for one. Not to mention my own startups.

blog.mailchimp.com/ewww-you-use-php



No, Facebook isn't in PHP because Zuck was a PHP programmer. Zuck was also a perl programmer, but Facebook isn't in perl now is it? Despite all that, after the original PHP code was leaked, they completely rewrote the system from the ground up back in the earlier days, before their current scale... They had some and still do of the best programmers in the world working for them, if they wanted to switch to something else they could have.

In fact, they're so dead set on using PHP that they're creating some of the best stuff to come out for PHP, HipHop VM, which is amazing, and more recently better type hinting and that in Hack, their PHP language.

Well maybe other programmers which worked with Zuck on facebook were php only ?

edgeprod 06-02-2014 01:42 PM

Quote:

Originally Posted by KlenTelaris (Post 20108834)
Well maybe other programmers which worked with Zuck on facebook were php only ?

Why are we making wild assumptions here?

Klen 06-02-2014 01:44 PM

Quote:

Originally Posted by edgeprod (Post 20108848)
Why are we making wild assumptions here?

Nobody can actually know what was real reason anyway so assumption is only thing what you can do.

edgeprod 06-02-2014 01:48 PM

Quote:

Originally Posted by KlenTelaris (Post 20108850)
Nobody can actually know what was real reason anyway so assumption is only thing what you can do.

Why do you say that? Engineers from Facebook have done interviews about it; search Google. Besides, I still don't see what the point is: are you running a site the size of Facebook? Then it shouldn't be in PHP, unless you implement the technology they have to mitigate PHP's shortcomings when it approaches massive scale. If not, then why does it matter? It's good enough for 80%+ of the web.

dicknipples 06-02-2014 02:34 PM

Not to mention the next biggest site running on PHP is Wikipedia. And they don't use HHVM or Hack. All they use is a typical LAMP based stack.

mediawiki.org/wiki/Manual:Installation_requirements

dicknipples 06-02-2014 02:36 PM

Basically what I am getting at here is: Don't discredit a perfectly good language because of a bunch of asinine developers who don't even make up 1% of the community, let alone the professional ones.

All languages have their strengths and weaknesses. It's all about picking the best one for your project and going with it.

PHP, Python, Ruby, Lisp, Haskell, Java, JavaScript, or Brainfuck. The choice is yours. Make a smart decision.

For the record I am a professional PHP developer working on a multi-million dollar company who's whole technology is built on top of the latest standards and best practices of PHP. Our system handles hundreds of thousands of dollars a month in transactions without so much as a hiccup.

Klen 06-02-2014 02:37 PM

Quote:

Originally Posted by Bowser Koopa (Post 20108937)
Basically what I am getting at here is: Don't discredit a perfectly good language because of a bunch of asinine developers who don't even make up 1% of the community, let alone the professional ones.

All languages have their strengths and weaknesses. It's all about picking the best one for your project and going with it.

PHP, Python, Ruby, Lisp, Haskell, Java, JavaScript, or Brainfuck. The choice is yours. Make a smart decision.

My choice is PHP, dont know for others lol
And here is one funny pic regarding languages :
http://vintage-digital.com/hefner/mi...rogrammers.jpg

CaptainHowdy 06-02-2014 02:49 PM

Welcome to the zoo, Bowser Koopa ...

Varius 06-02-2014 06:21 PM

Am I the only one annoyed by the fact haystack comes before needle :upsidedow

adultmobile 06-02-2014 06:21 PM

Quote:

Originally Posted by Mutt (Post 20108694)
You sound like you're an expert coder - why did you use off the shelf cam scripts rather than doing it yourself?

Expert people are effective, and so do not re-invent the wheel. Also "coder" is generic, for example the developer of a 3d videogame may be unable to write an easy web site, and vice-versa - it is even hard to find a single person able to write both iOS and Android apps, or a single developer using well 2+ languages, so much different info it needs to be known.

Really, my sites was based on existing scripts, but ended up 80% different: one started from a tube script and ended as a cam site! This is starting from template (for ex. users db and backoffice admin), to build an unique product quicker. Time to market, want you launch a few sites now or one only years later?

The main point of programming it is the code reuse, i.e. to produce the most results in least effort and time. You may write from scratch small specific tasks (you not find done by others with google search), but if there's a ready open source code, use it. Especially a cam site is product of teams of developers across years, hardly a single one, unless recycled pieces. If there's commercial code with source license for less $$ than the worth of you rewriting it, buy the code, and you're more smart than wanting to rewrite all from scratch.

A guy can still demonstrate he can rewrite all from scratch, but this a no-profit activity, like "demo scene" or hack compos, the opposite of what commercial developer are supposed to do. More LEGO blocks a developer knows and compose together, quicker (cheaper) you solve problems, because you write the least code lines, just few glue between blocks others provided and tested: http://en.wikipedia.org/wiki/Code_reuse

Why use Wordpress when you can rewrite it in PHP, and why to use PHP when you could use C. So 80% of the sites run wordpress, joomla, drupal, in turn made in PHP, in turn made in C, in turn calling libs calling OS (linux etc.) which calls firmwares calling assembly opcodes, in turn easier representation of binary numbers, ran by processor and chips.

So the guy who write "all from scratch" should really send own binary opcodes to a CPU and hardware to simulate an operating system and web server and apps on top of it; anyone? While this example looks obviously silly, it helps to figure the "why don't you write all yourself" question: because it is not effective, but instead more expensive, at least in 2014, given there's so much free ready code you can't even keep updated on all of it.

That was not the case in 1995 when I was writing sites, indeed, in C language, already was a big improvement from assembly I used before, but while this is cool to talk about in retrocomputing meetings, if you do sites as real job, you more likely do quick and cheap with PHP on the web, as long as you know PHP (and its frameworks), than in other ways. And in adult that's PHP-only due to historical reasons, in mainstream it is diversified.

Said this, web development itself it is a mess, not just PHP, but for ex. Javascript (see: http://wtfjs.com ), Internet Explorer vs Firefox vs Chrome versions, and google SEO. SO in all this mess you can well overlook an !== FALSE or so.

dicknipples 06-02-2014 06:24 PM

Quote:

Originally Posted by Varius (Post 20109230)
Am I the only one annoyed by the fact haystack comes before needle :upsidedow

Nope, because I use a proper IDE/Editor that has code completion on both a language and project level.

RyuLion 06-02-2014 06:24 PM

Only if a monster triggers a trap..

edgeprod 06-02-2014 07:30 PM

Quote:

Originally Posted by Varius (Post 20109230)
Am I the only one annoyed by the fact haystack comes before needle :upsidedow

The annoying part is that it's inconsistent. In other built-in functions, it's reversed. *twitch*

sarettah 06-02-2014 07:53 PM

It really all depends on whether you are looking for a needle in a haystack or looking in a haystack for a needle.

It really does make perfect sense.

Seriously.

:helpme

.

dicknipples 06-02-2014 08:33 PM

Quote:

Originally Posted by edgeprod (Post 20109304)
The annoying part is that it's inconsistent. In other built-in functions, it's reversed. *twitch*

Here's a little tip to help you remember:

Array functions are $needle, $haystack

String functions are $haystack, $needle

sobecash 06-02-2014 08:33 PM

Quote:

Originally Posted by edgeprod (Post 20108799)
Interesting; thanks for that article. It definitely gives some food for thought. It's always nice to hear from the "been there, done that" crowd about what decisions they made, and why.

Lengthy thread, well worth the read. There were some points I was waiting for a quote from "The Mythical Man-Month".

Several things which were not raised included:
-- porn industry introduced a lot of innovations which are now used by other internet marketers;
-- most PHP are self-taught, with almost no programming background other than HTML, Javascript and CSS (which are interpreted or script languages);
-- most startups are small and remain small, and don't have the manpower, skill and training to go to any other language other than what is readily available; and
-- and yes, most PHP code have errors due to the inherent weakness of the language, and then coded by people who don't know what happens when there's no validation.

Bottom line people will still use PHP because they don't know anything else.

Again, thanks for the heads up. Will keep that in mind when I'm debugging PHP code.

dicknipples 06-02-2014 08:43 PM

Quote:

Originally Posted by sobecash (Post 20109356)
-- and yes, most PHP code have errors due to the inherent weakness of the language, and then coded by people who don't know what happens when there's no validation.

I disagree. Anybody who's anybody worth anything in the PHP development world are firm followers of the PHP-FIG standards, and basically call phptherightway.com their manual. I personally will not work with, or hire anyone to join my team who does not follow those proper rules and guidelines.

edgeprod 06-02-2014 09:45 PM

Quote:

Originally Posted by Bowser Koopa (Post 20109366)
I disagree. Anybody who's anybody worth anything in the PHP development world are firm followers of the PHP-FIG standards, and basically call phptherightway.com their manual. I personally will not work with, or hire anyone to join my team who does not follow those proper rules and guidelines.

We enforce them at LeadWrench right now.

rowan 06-03-2014 05:07 AM

Quote:

Originally Posted by Varius (Post 20109230)
Am I the only one annoyed by the fact haystack comes before needle :upsidedow

IIRC with some functions it's haystack,needle and in others it's needle,haystack. No one ever complimented PHP for being consistent. :pimp

edit: I see this has already been pointed out.:thumbsup

Quote:

Originally Posted by edgeprod (Post 20109304)
The annoying part is that it's inconsistent. In other built-in functions, it's reversed. *twitch*


dicknipples 06-03-2014 07:36 AM

Quote:

Originally Posted by rowan (Post 20109657)
IIRC with some functions it's haystack,needle and in others it's needle,haystack. No one ever complimented PHP for being consistent. :pimp

Actually, even with that it's still pretty consistent, like I stated before, Array functions are $needle -> $haystack, and String functions are $haystack -> $needle

thumbuilderic 06-03-2014 10:50 AM

Quote:

Originally Posted by edgeprod (Post 20109304)
The annoying part is that it's inconsistent. In other built-in functions, it's reversed. *twitch*

Was just going to say, depends on the function. And that's what makes it frustrating! The standard library is replete with examples like that.

thumbuilderic 06-03-2014 10:51 AM

Quote:

Originally Posted by edgeprod (Post 20109412)
We enforce them at LeadWrench right now.

That's a good thing!

blackmonsters 06-03-2014 10:51 AM

Quote:

Originally Posted by Bowser Koopa (Post 20109795)
Actually, even with that it's still pretty consistent, like I stated before, Array functions are $needle -> $haystack, and String functions are $haystack -> $needle

Why didn't they let us chose like this :

stripos(needle=$input, haystack=$pile);
stripos(haystack=$pile, needle=$input);

:1orglaugh

Or why not just make something that regular people understand like

Find $this in $that;

Too much like COBOL I guess, tech people feel too "untechy" when using COBOL.

:1orglaugh

thumbuilderic 06-03-2014 11:20 AM

Quote:

Originally Posted by edgeprod (Post 20107884)
I'm sorry, but that's a ridiculous comparison. Bring me a site doing the volume Facebook is, and we'll talk. Until then, you're over-engineering and making maintenance more of an issue than it needs to be. PHP is widely used and well represented in the development community. Getting another coder to extend or repair your code is very easy. By moving to another language, you unnecessarily narrow your potential candidates and/or raise their average price.

Don't "solve" non-problems; adult isn't that sophisticated, nor are its problems overly-complex to address. PHP scales very well for all but the largest applications, and I won't pretend it doesn't.

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.

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.

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.

edgeprod 06-03-2014 01:49 PM

Quote:

Originally Posted by thumbuilderic (Post 20110194)
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 (Post 20110194)
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 (Post 20110194)
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.

mafia_man 06-03-2014 02:03 PM

That's some shitty code...

KaliC 06-03-2014 02:35 PM

Wow good stuff, php is growing with it's popularity. Hopefully the coders will grow as well.

edgeprod 06-03-2014 03:38 PM

Quote:

Originally Posted by KaliC (Post 20110457)
Wow good stuff, php is growing with it's popularity. Hopefully the coders will grow as well.

Yeah, pretty soon PHP will be big. :Oh crap Wait, what? :1orglaugh

thumbuilderic 06-04-2014 09:22 AM

Quote:

Originally Posted by edgeprod (Post 20110401)
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.

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.

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.

My bad for taking your commentary so personally. That was kind of lame of me.

My convictions for one language over another are limited to the scope of the project. PHP's ubiquity makes it the most attractive language in many cases, but not all, at least for my needs. My caution to anyone looking to begin a project is to pick the best language/platform/environment for the job and consider all the variables.

You're right that adult doesn't handle interesting problems most of the time. Pretty much anything can be done in the LAMP stack.

edgeprod 06-04-2014 09:43 AM

Quote:

Originally Posted by thumbuilderic (Post 20111580)
My bad for taking your commentary so personally. That was kind of lame of me.

My convictions for one language over another are limited to the scope of the project. PHP's ubiquity makes it the most attractive language in many cases, but not all, at least for my needs. My caution to anyone looking to begin a project is to pick the best language/platform/environment for the job and consider all the variables.

You're right that adult doesn't handle interesting problems most of the time. Pretty much anything can be done in the LAMP stack.

No harm, no foul. Like I said, my focus is always on maintainability and extensibility, with scalability being a third concern.


All times are GMT -7. The time now is 05:15 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123