twoframesperminute

joined 1 year ago
[–] twoframesperminute@mastodon.social -5 points 9 months ago (1 children)

@SpaceTurtle224 you're "looking for" and easy answer to a question you can answer yourself easily. Your "question" did not even specify what your looking for.

[–] twoframesperminute@mastodon.social -2 points 9 months ago (1 children)

@ericjmorey Except it's outdated. Here, I'll write a new paragraph for you: "When you start to learn Python, start with Python 3.10. If you at some point come across an codebase using older versions, you'll have learned enough to get to grips with the differences outlined in Python documentation." There, that's all you need to know.

[–] twoframesperminute@mastodon.social -1 points 9 months ago (3 children)

@ericjmorey Why are you copying part of an article you've already linked to? I'm not sure what your point is.

My point is very simple: don’t spend any time on even considering Python 2. The fact the author spent so much time on it shows it's quite an old guide. (The dates in the git repo confirms this.)

@jeremyparker As for myself: I use Python as a scientist on an almost daily basis. I've never learned anything about Python 2, have never touched it and never required it. Maybe if you work in a field with tons of legacy code it's useful, but I and all my colleagues are working with Python 3.7 or newer (mostly 3.10 and newer) only. There is no single argument you could make that would convince me I or any of my colleagues should know *anything* about Python 2.

[–] twoframesperminute@mastodon.social 1 points 9 months ago (1 children)

@jeremyparker Note that for people new to a language it's much harder to distinguish between old and new than someone already familiar with the old. Don't push old on people starting out.

This is starting to feel like arguing kids should learn Latin because it might help them understand medical terms better. Sure, that's true, but a) it's only useful for a small subset of learners and b) is it worth the effort to learn an entire language just for some minor details?

[–] twoframesperminute@mastodon.social 3 points 9 months ago (2 children)

@jeremyparker Those are all valid. But not in a starter guide for someone looking to learn a language. If and when you get submerged into a legacy project you have all the time to find out what's what. But teaching someone outdated syntax and features just because they *might* come accross them maybe is a terrible way to teach.

[–] twoframesperminute@mastodon.social -1 points 9 months ago (10 children)

@ericjmorey any guide that even mentions Python 2 is probably outdated and should be met with caution.

[–] twoframesperminute@mastodon.social 0 points 10 months ago (1 children)

@Chais from module import \* should almost never be used anyway, so...

@Sigmatics Habits can be unlearned over a few generations. Doesn't mean in becomes practical all if a sudden. It's just messy to say "I'll do this tomorrow" when "tomorrow" might mean "before I go to bed".

"See you Monday!"
"Eh, before or after sleep on Monday?"

It's just not viable. It requires us to think differently about what a date is, returning the original issue: different people living at different dates.

[–] twoframesperminute@mastodon.social 3 points 10 months ago (2 children)

@Sigmatics you can have everyone on the same time zone and still have different day/night cycles. It just means you have to get up at 14:00 and go to sleep at 5:00. The big problem with this is that the date-switch happens for everyone at the same time, which means you might have breakfast on Thursday and lunch on Friday. That makes it terribly inconvenient, and therefore probably unviable.

view more: next ›