Is it entirely necessary for me to learn EVERY function of Python and other programming languages?
1 25 Oct 2019 13:21 by u/MrJohnBongo
I'm just asking, if it really is necessary for me to learn functions such as...
.insert
.remove
def raise_to_power
i just cannot, for my purposes, see where I would ever use these functions? and when i get to learning this, it sort of goes over my head because i'm really just not interested in it. i take great interest in practical coding, figuring out problems, not doing fancy things with numbers.
long story short, can i skip tutorials on different fucntions if i think they will never be useful to me? or am i being ignorant on the fact i need to learn these things.
thanks for any help.
8 comments
0 u/Garbalon 25 Oct 2019 13:30
Can come in handy. When every new version of Ruby came out I read the whole manual.
Then one day I was examining some source code when I stumbled over the Inject statement, which I'd never heard of.
Sure enough - new version had taken me by surprise.
0 u/MrJohnBongo [OP] 25 Oct 2019 13:33
so its handy to know them just in case by the off chance you may need them or need help reading it.
i'll have to keep through the boring parts then lol.
0 u/psimonster 25 Oct 2019 13:32
No.
0 u/MrJohnBongo [OP] 25 Oct 2019 13:49
Ok.
0 u/inner-city-youf 25 Oct 2019 14:17
It's probably nigh impossible to "memorize" every single one. I would advise against skipping the "boring" tutorials because even if you don't need to memorize anything, having exposure to, and getting an innate sense of at least what's possible is very much advantageous. You may not think you'll need them now, but I guarantee at some point you'll be trying to achieve something and think, "dang, I wish I could just do X with Y" and then you'll think, "wait, I remember something in a tutorial I saw that did something like that." That will then put you on the path to tracking down whatever it is, usually in the docs.
Also, always keep a tab open to the Python (or whatever language) docs. Can't stress that enough.
0 u/MrJohnBongo [OP] 25 Oct 2019 14:48
Thanks for the knowledge, I've gone back on what I have skipped and taken notes if I ever need to refer back to.
0 u/snafu 25 Oct 2019 16:07
100% no. It's kind of like learning a spoken language — English has thousands of words, but only a few hundred are spoken in normal conversation. What will end up happening is you'll start to remember the ones you use most commonly, and if you ever run into a situation where you need to do something but don't know how, you'll end up searching the web for how to do it. In most cases there won't be a single function that does that thing, but often there will be some function that makes doing it easier. You'll use it, and probably forget it right after, but if you encounter it enough you'll start to remember it. Also, going to the language's API doc and searching (ctrl-f in the browser) is really helpful as a starting point before you go on to stackoverflow and such.
0 u/8NA5SWF92O 26 Oct 2019 06:13
There's very little out there worth memorizing. It does however help to be aware of what's available. When you find yourself in a situation where it'd be useful, you'll know where to look.