+ 3

What helps you remember code?

As I've ventured off into data driven tasks using numpy/pandas/sklearn I've felt a lil overwhelmed by all the new methods and functions. one way I've tried to beat these into my mind is literally writing them by hand until I've completely memorized them. what are some effective ways you use to remember code?

12th Nov 2017, 1:49 AM
stephen barter
stephen barter - avatar
11 Respuestas
+ 8
After I learn something I just somehow can't forget it.
12th Nov 2017, 1:59 AM
qwerty
qwerty - avatar
+ 3
since u said rhymes.. I'll be honest. I've sung syntax in the shower.
12th Nov 2017, 2:26 AM
stephen barter
stephen barter - avatar
+ 3
I'm not familiar with interactive prompt dual screen. What is that? By Visual Studio, are you referring to Visual Studio Code or Visual Studio.NET? I didn't realize Visual Studio Code had python support, assuming this is what you are referring to. Your reference to Spyder was my clue. ;) - https://code.visualstudio.com/docs/languages/python I personally enjoy working with PyCharm by JetBrains. - https://www.jetbrains.com/pycharm/
12th Nov 2017, 3:16 AM
David Carroll
David Carroll - avatar
+ 3
not sure if it's visual studio code or .net.. though when opening a blank python script it does say .net at the top. I'm using visual studio 2017. I haven't spent enough time working in it due to it not having a interactive prompt. so annoying to have to load the python shell everytime to see how something will work
12th Nov 2017, 7:29 AM
stephen barter
stephen barter - avatar
+ 2
Working with an IDE with good intellisense support is incredibly helpful. Intellisense will provide autocomplete or show a list of available methods and properties and accepted parameters as you type.
12th Nov 2017, 2:34 AM
David Carroll
David Carroll - avatar
+ 2
very good advice. David. I may need to switch from Spyder before I'm to set in my ways. it has intellisense but seems to be a lil finicky. I know visual studio has a very good intellisense but I'm sort of hooked on the interactive prompt dual screen set up in Spyder.
12th Nov 2017, 2:42 AM
stephen barter
stephen barter - avatar
+ 2
yup Visual Studio does support python. Spyder has a an ipython shell on the right side of the screen as well as a "variable explorer" which makes it very easy to keep track of everything and test code. you can even rename/edit values in it.
12th Nov 2017, 7:23 AM
stephen barter
stephen barter - avatar
+ 2
Check out Visual Studio Code (VSC) again and see if the console works similar to Spyder again? If it doesn't, see if one of the Python plugins / extensions helps close this gap. If no luck with VSC, give pyCharm a try. I'm pretty sure you will be a fan.
12th Nov 2017, 3:10 PM
David Carroll
David Carroll - avatar
0
Doing things The only way I can memorize things is by doing small projects with them. Another way is to associate things with concepts that I already know, so when I think I can link everything and remember them much easier (as well as learn them)
12th Nov 2017, 2:51 AM
Mickel
Mickel - avatar