3 ms·
> (PHP devs memorize the common functions.. Nope (c) Me, after 5 years on trying to but still falling back to googling every 20 minutes despite years and years
by out_of_protocol 7y ago
> (PHP devs memorize the common functions..
Nope (c) Me, after 5 years on trying to but still falling back to googling every 20 minutes despite years and years of using the language.
... And just writing code without looking into docs much after a week with ruby
- wvenable 7y agoAn auto-completing editor is a big help when using PHP. :)
- Fogest 7y agoI didn't use PHP for 2 years and upon coming back still know most of the common functions and the ones I don't the IDE helps with, so I am not sure why you're having such issue. What functions are you using that you don't remember the names for?
- out_of_protocol 7y agoRuby does not have the best standard library, just good enough. replying to the question - basically all of them, from strrpos, str_ireplace to array_search. Also, Null, false, 0, "" etc are adding degree of chaos
- deckard1 7y agoI'm quite shocked that a common complaint of any language is function syntax. Maybe it's been awhile since I've used PHP, but is it really worse than any other language? The problem with PHP is that, at least years ago, it had no equivalent of C's man pages. In C, you're constantly doing "man memchr" or what have you. Perl has "perldoc -f sort". Don't get me started on Ruby, though. Wading through a tower of classes to figure out where and how some method is defined, only to much later find out it was actually created by define_method or method_missing is absolute torture. And yeah, I know the REPL can provide this info to you. The point is: source code should be obvious in how it functions. Not obscure things through cleverness.
- innocenat 7y agoWhat are you talking about? I have been using php.net/{funcname} since forever.