5 ms·
Now days the only valuable thing a naysayer can say anymore regarding PHP is the inconsistent naming and needle/haystack placement, which really makes no differ
by Killswitch 13y ago
Now days the only valuable thing a naysayer can say anymore regarding PHP is the inconsistent naming and needle/haystack placement, which really makes no difference other than to be a slight annoying having to go to php.net/function_name and just make sure it's right.
- reustle 13y ago> which really makes no difference other than to be a slight annoying having to go to php.net/function_name and just make sure it's right. I can't tell if this is a joke or not
- Killswitch 13y agoOh no, I forgot the variable placement in a function, this language sucks! ಠ_ಠ
- deleted 13y ago[deleted]
- egeozcan 13y agoWhy would you keep looking at php.net when there are better, modern, easier to write alternatives? Cheap hosting? Come on, we're living in the days of 5$ VPSs.
- Killswitch 13y agoOf course, I sometimes forget if a function is function_name or functionname so I may as well just give up and just spend all my time learning a new language, all because I can get a VPS for $5... Sounds logical. Let me tell my boss he's gonna pay me to learn a new language because I couldn't remember a function name and tell all my clients they're gonna pay me to rebuild all their stuff in another language for the exact same reason!
- egeozcan 13y agoIf you already have a PHP shop with paying clients, well, there's no reason for you to. However, you have to be living with the fact that someone of equal talent as you would have a significant advantage to you, just by using modern tools.
- Killswitch 13y ago"Modern tools" what is PHP the rock wheel or something? Get over yourself.
- egeozcan 13y agoIt is an old language, which keeps getting bent to fit the new development practices. Of course it's not just a rock wheel, it has rubber around it.
- stephenr 13y agoan "old" language? compared to what? Ruby appeared in 1995, the same as PHP JavaScript appeared in 1995, the same as PHP Python appeared in 1991, four years earlier
- egeozcan 13y agoThey had no problems with breaking the compatibility when being developed and they were better designed to start with. PHP started as a quick and dirty alternative, therefore gained respectable traction, became worse by trying to answer all needs, now it tries to be like others. Why? I don't hate PHP. I love it for what it helped create (most of the popular websites is a start). It's just isn't the best at anything anymore.
- stephenr 13y agoI never mentioned compatibility. someone said it's old, and i refuted that point, as its the same age or younger as three of the languages most often compared to it
- stephenr 13y agoWhy do either when a decent IDE will let you use whatever fucking language you want and give statement completion and hinting. Fuck me it will even insert the braces and parenthesis that are apparently the bane of ruby and python developers lives.
- egeozcan 13y agoBecause you don't always get to use an IDE and want your code to be readable? Just saying.
- stephenr 13y agoWhat do you mean "don't always get to use an IDE"? Do you work for north koreans or something?
- egeozcan 13y agoNo, for example when I'm on battery, or working on a remote server. Collaborative coding tools are also missing most of the IDE features. Why would I want to make myself dependent on an IDE?
- stephenr 13y agoi am completely not getting the link between an IDE and your battery? "working on a remote server" ? you mean editing files on a production box? there is a reason people use revision control and deployment processes you know. As for "collaboration", IDE's like Komodo have built-in collaboration for pair programming etc. I wonder if you can see the irony when you say you can't use an IDE because a collaborative tool doesn't support it, but then say you don't want to be dependent on a specific tool?
- egeozcan 13y agoUsing IDEs lead to higher CPU usage, that makes the battery die faster. Remote servers are not always production boxes. They may be CI systems or you may need to help a colleague. I'm not becoming dependent on a tool, there are a lot of tools with different features and I switch them all the time. I, for example prefer sublime text for a lot of tasks, and until recently, it didn't have proper PHP auto-completion. Depending on other tools because a language is quirky? No, thanks.
- toupeira 13y agoSo how about PHP having two separate error handling mechanisms for no good reason?