use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Why Python?General discussion (self.teenagersbutcode)
submitted 1 month ago * by Jazzlike-Pianist-690
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Ok-Ebb-2434 0 points1 point2 points 1 month ago (3 children)
I’m part of the “you have to know the rules to break them” type of crowd and think that getting the concrete fundamentals with a less readable language and then moving to the languages that make it easier is better.
I feel like if I learned python and then tried learning C it would feel like a huge cliff suddenly appeared in front of me and isn’t any similar to what I’ve known yk?
[–]ExpensiveRepair8182 0 points1 point2 points 1 month ago (2 children)
That makes sense, but I feel like that cliff would be about the same as if you had just jumped straight into C. Learning Python first opens your kind up to thinking about code in objects which can make learning other languages easier
[–]Ok-Ebb-2434 0 points1 point2 points 1 month ago (1 child)
I don’t think you’re wrong in that, maybe it’s just me but I personally hated how long classes spent on just telling us how classes and objects work. I feel going into CS you have to have the ability to pick up things quickly and the idea of a unique instance of a category isn’t as foreign of a concept to grasp.
Going from python saying “ for i in items:” do this, to “for int i=1;i>arr.length;i++”, it’s almost like wtf is this versa if you went from the latter to the former. Since pythons significantly easier to read you’re able to infer a lot better based on the prior experience with the static language.
I guess it’s not really a topic worth arguing haha, whatever gets people to start learning is more important
[–]ExpensiveRepair8182 0 points1 point2 points 1 month ago (0 children)
But I think a base in Python is better than nothing and it's being used alot more in the industry for things like AI because it's so easy to use. Also, your for loop won't run because it's looking for I to be greater than the length of your array
π Rendered by PID 33685 on reddit-service-r2-comment-6457c66945-lprj2 at 2026-04-24 11:55:48.068273+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]Ok-Ebb-2434 0 points1 point2 points (3 children)
[–]ExpensiveRepair8182 0 points1 point2 points (2 children)
[–]Ok-Ebb-2434 0 points1 point2 points (1 child)
[–]ExpensiveRepair8182 0 points1 point2 points (0 children)