|
|
|
|
|
by mijoharas
4188 days ago
|
|
I often have the same problems as you (and I have to say, I constantly forget whether it's push/append too, even in my most commonly used languages). My solution to the problem has been to setup my development environment to provide the requisite autocompletion and linting (I use emacs with the brilliant spacemacs package to be able to have "the one IDE for all languages"). It takes a bit of setting up for each language you use, but if you do the setup on an as-and-when basis it's not that bad (and "starter-packs" that have packages that work together are great) |
|
Someday when I get sick of firing up python to quickly check that you append() to lists instead of push or add...