I am still slowly trying to wrap my head around why you should not use jupyter notebooks (they are cool for plenty of stuff).

I think most of it is because, I feel everyone is putting everything into them. functions are better in a package where you can test them and then you can call the function with your specific argument from a notebook.

what are the issue you see in the use of notebooks?

@defuneste In a workshop I'm writing, I have participants code functions in the notebook where they can iterate and test. I then tell them to move them funcitons to a Python script to demonstrate reuse.
@spara Do they do it? I feel it is like refactoring your code (never happen). I see plenty of folks treating their cells as "functional units": I need to run A then B and D (or sadly sometimes A, D B...) but not putting those functional units into function...

@defuneste

I hope they do after taking my workshop. But bad habits die hard. My goal is to move folks from notebooks to production code.

@spara yeah I am trying to understand why people develop those bad habits, is it because jupyter is very friendly, because we already add a lot of complexity ...

(I hope your participants will keep their good habits)

@defuneste

It's a new version of spaghetti coding; folks have been doing it for ages. It's a simple model to follow when you're starting out.

My personal opinion is that folks want an answer and not an education on how to code. The coding version of "people want a 3/8" hole, not a 3/8" drill bit and drill."

@spara you probably correct... bringing back the boulder on top of the hill again and again

@defuneste @spara

I have to jump in here and say something. I've played with coding for decades, since the early 1980s. And I can hack together a working script when the need arises. And I recognize all the terms and phrases you're using in this thread.
But I have no freaking idea what either of you is talking about here.
Just an observation.
🤔

@GeoDon @spara that is not complicated, mostly we have a bunch of jupyter notebooks everywhere, they are executed with very users specific environments, that most of the time we have no idea about and i would like to (need to)
"organize" a bit.
@defuneste @spara
I gathered it was something like that.
It's just funny how listening to some of my programmer friends on here reminds me of my early days, reading books on learning how to code.
Chapter One - "A step-by-step guide on how to display 'Hello World' on your monitor"
Chapter Two - "Let's take a deep dive into Object Oriented Programing"

@GeoDon @spara

this is kind of the issue we need some intermediary chapters between "Hello world" and "use all the fancy stuff that we like right now"😅

Since I am still "young and rebellious" like @AtanasE I believe in the power of education!

Edit:plenty of typos