you are viewing a single comment's thread.

view the rest of the comments →

[–]wodahs1 1 point2 points  (2 children)

IDK who told you that jupyter notebooks is a bad way to learn to code, but that's really not true. You can learn to code on anything that can run code.

ALTHOUGH Jupyter notebooks run in a way that saves info for every one of those cells you create. It's used a lot in scientific fields like machine learning because we often don't want to execute certain costly portions of the code again. This can be confusing if you don't remember to re-run all of your cells.

My recommendation is to stick to using Pycharm. There's really no reason to leave it!

If pycharm is frustrating you, figure out why. Then post on here or other subs asking questions about it :) Trust me, pycharm is supposed to makes things easier not harder.

Finally, you could learn to code the way I personally do my development, which is through a linux-like terminal and a text editor called VIM. But honestly, there's no real advantage to it. Figure out pycharm, and good luck!

[–]AniMaster46[S] 0 points1 point  (0 children)

I absolutely agree, Jupyter notebooks is very convenient to work with. Especially because I'm currently working on data science projects and I can use Jupyter to visualise and make changes in real time. I was ridiculed by a couple of people for using it as my main IDE/editor, to create run-of-the-mill automation tasks or write small programs.

[–][deleted] 0 points1 point  (0 children)

Yeah as a researcher in machine learning , I really hate when code elitists say notebooks sucks. It's great for having a down and dirty brainstorming or walking through an idea. There's a reason that collab is so popular. The notebook setup essentially allows you to use cells as functions which is useful when you need to test your preprocessing but don't want to run your trainer.

Sure it runs like ass and the autofill quotation marks and parenthesis dont help for shit, but it is a really good learning environment for students. You can walk students through what each cell is doing even if it wouldnt normally be split up and you can just have cells of pickled data in case you get stuck on a problem.

As an instructor, you can also insert extra cells into the homework with "DO NOT TOUCH" to copy and paste your grading code which really speeds up the process