I like working on blocks of code then committing to functions. 2/2
-
-
Replying to @cMadan @spinicist and
I think you're too hooked on Matlab.
2 replies 0 retweets 2 likes -
Replying to @o_guest @spinicist and
I used Python before Matlab (but w/o any guidance). Hated copy-pasting code into terminal, or running whole script to find stupid mistake
1 reply 0 retweets 0 likes -
Replying to @cMadan @spinicist and
Well, now you've moved from scripts to classes.
2 replies 0 retweets 0 likes -
Replying to @o_guest @spinicist and
And tbh I've found it more tedious to develop new functions (before adding them to the class) than when I had it w/o the class
1 reply 0 retweets 0 likes -
Replying to @cMadan @spinicist and
You can always move back and make a branch. I mean that's what git excels at. I have to admit I don't see the issue but you could return.
1 reply 0 retweets 0 likes -
Nah, I’m with Chris on this one. Reloading modules with classes in an interactive environment is one of Python’s (and Jupyter’s) weak points
2 replies 0 retweets 2 likes -
Replying to @spinicist @o_guest and
If you only run complete scripts from a terminal you don’t hit this problem.
1 reply 0 retweets 1 like -
Replying to @spinicist @cMadan and
Oh, I'm with you here. I think we're taking past each other?
2 replies 0 retweets 1 like -
Replying to @o_guest @spinicist and
I didn't realise when Chris first asked given he linked to a github file that's a script that he was using a notebook. So I and others
1 reply 0 retweets 0 likes
advised him to change to a class based on that information.
-
-
Replying to @o_guest @spinicist and
I was doing dev/test cases in a notebook, then shifting code into functions in an external module in it's own py file.
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.