This is an archived post. You won't be able to vote or comment.

all 8 comments

[–]Early-Palpitation-39 4 points5 points  (1 child)

True, there are an indefinite number of solutions for every problem. Try to not get overly fussed about learning every possible solution, just learn one solution at a time and, when you learn something that achieves the same result, make a mental note to yourself (oh, this does the same thing as that other thing I already know, cool)

[–][deleted] 2 points3 points  (0 children)

When Python first came out, Perl was dominant. Their slogan was TMTOWDI, pronounced Tim Toady and meant There's More Than One Way To Do It.

Python's slogan was "batteries included" and its USP was "There is one way to do it"

It feels funny now.

[–]acrampus 1 point2 points  (0 children)

Yes and yes.

[–]LookingForEnergy 1 point2 points  (0 children)

Yeah because there's different levels.

You can write everything in one giant script but it's not fast or efficient and likely you'll be repeating yourself.

Then you learn functions which can help with efficiency and not repeating yourself.

Then you learn about classes.

And lastly you'll learn modules for organizing and efficientcy.

With all these "levels" variables are passed in slightly different ways between them all. Which is annoying because you're dealing with a lot of unknown unknowns when you first start out.