3 ms·
I still use PHP a lot. PHP's problems are largely user driven. What drove you away in 2004 is likely still there. The community is still full of people who h
by lugg 8y ago
I still use PHP a lot.
PHP's problems are largely user driven.
What drove you away in 2004 is likely still there.
The community is still full of people who have no idea.
Laravel is still king.
Noun driven OO is still perceived as a good idea.
But on the flip side, the language has some nice features now and performance got a big boost too.
Still a couple of things missing but it's getting there.
- kibibu 8y agoComposer is new since 2004, which is pretty great
- h1d 8y agoNot too serious but I want to stop using a language still forcing me to type semi colons. CSS -> Stylus. I don't even have to type brackets and colons and not just semi colons. JS -> JS (TS). Some people may not be aware but you can fully write JS by omitting semi colons. (Except on a few occasions* but I can write a project without one just fine and decent editor will warn you when you're supposed to have one, like IntelliJ and derivatives. Configure it to not prefer semi colons and 1 shortcut key to reformat the code and all stripped.) PHP -> Ruby, Python, JS all don't ask you for semi colons. Array expression is also too verbose in PHP. Java -> Kotlin. HTML -> Pug/Slim/Etc. While there's no semi colon, the verbosity of HTML is insane, people will appreciate the simplicity of template engines like Pug and never look back. Bash -> Bash. They didn't have one decades ago... * https://flaviocopes.com/javascript-automatic-semicolon-insertion/ https://flaviocopes.com/javascript-automatic-semicolon-inser... (some random blog explaining JS semi colons)
- lugg 8y agoI'm a big fan of standardjs. Beats prettier and the rest. Takes more of a go fmt approach. While debating myself on whether to learn rust or go next I fell into clojure. I'll probably pick go up next and then rust.
- stephenr 8y ago> I want to stop using a language still forcing me to type semi colons. Fuck it, go one step further and stop using languages that expect you to use any formal syntax. Just write down "Computer do this thing! Now, good and bigly like!" and then wait for it to happen. Of all the fucking complaints about a language "requires semicolons" is the most ridiculous thing I've heard (and no you're not the first place I've heard it, but it's still as ridiculous now as it was the first time I heard it). > Ruby, Python, JS all don't ask you for semi colons. Except, JS does require semicolons, it just happens to be able to insert them for you in some situations. > Array expression is also too verbose in PHP Array syntax in PHP is the same as in JS: `['foo', 'bar', 'bar'];`. Oh that nasty semicolon is the "verbose" part I bet?
- h1d 8y ago> Array expression I meant as in $hash['member'] vs hash.member
- stephenr 8y agoWell that isn't even an Array in Javascript, so already I'm beyond caring what you mean.
- halfnibble 8y agoI understood that "array expression" meant "associative array", and that the closest equivalent in JavaScript is an Object. But I don't consider myself a PHP guru.