r/adventofcode • u/harshv5094 • 13h ago
Help/Question - RESOLVED Is advent of code good to improve my python programming skills?
I don't have that much advance knowledge about data structures and algorithm. I've mostly used python for basic scripting purpose. Can I still attempt past advent of code problems to improve my python programming skills?
27
Upvotes
54
u/smallpotatoes2019 13h ago
Yes.
It certainly has some value.
24
u/Previous_Kale_4508 11h ago
If you code it yourself, yes. If you let AI anywhere near it, no.
Writing code from scratch will always exercise your mind whatever language you write in, but too many people are allowing themselves to be led by the nose into the trap of 'listening' to suggestions from a background AI.
Coding is good for you. ๐
8
u/topaz2078 (AoC creator) 10h ago
If you want to start on simpler puzzles, don't be afraid to jump around the different years and start with all the early days. If you want to practice something specific, check out this categorized list of all past puzzles: https://www.reddit.com/r/adventofcode/comments/1y6khlt/524_stars_a_categorization_and_megaguide/
4
u/joshdick 8h ago
Absolutely! Advent of Code is how Iโve learned a bunch of the standard library in Python, like collections
1
u/AutoModerator 13h ago
Reminder: if/when you get your answer and/or code working, don't forget to change this post's flair to
Help/Question - RESOLVED. Good luck!I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
u/1544756405 6h ago
There's no need to ask. You don't need permission. Just look at a past problem and try it.
1
u/s96g3g23708gbxs86734 6h ago
Yes it's how I did it. I think it's a good way of you already have programming knowledge. Also avoid ai
1
u/chic_luke 5h ago
Yes, AoC is a very popular way to improve in or learn a new programming language.
I also feel like it should be considered "strongly recommend" from this year onwards. It used to be skippable for your self-development: you already wrote plenty of code at work or uni, and "writing more code" wasn't necessarily the best new habit to improve your overall life.
Now, most of us use AI agents to generate code at work, and the motivation to build a personal project without AI is, very understandably, low; so a challenge like AoC is a great excuse to turn the clanker off and make sure you haven't forgotten how to code.
1
u/terje_wiig_mathisen 11m ago edited 8m ago
YES!
After taking part in an internal corporate competition/leaderbord in 2020 and later years, I went back and solved all the previous years as well. Even though I have been programming (lots of optimization/low-level stuff) since the 1970'ies I know I've learned several new ideas from AoC.
PS. Please remember and live by the advice from u/Previous_Kale_4508: Turn off any AI helpers you might have enabled by default!
IMHO Notepad++ is the perfect programming editor for AoC.
0
u/notger 12h ago
Yes, and no.
Yes, it makes you better in those "hobbyist programming problems" and teaches you some algorithms.
No, it will not make you a better programmer for real jobs, as it teaches you nothing about modern programming. However, that topic is now taken over by the machines themselves anyways, so if you don't already know how to code, you should not hope to make a career of it anymore.
1
u/herocoding 12h ago
Is XYZ good to improve my ABC programming skills?
YES!!
1
u/Suspicious_Tax8577 10h ago
I swear half the time a good 60% of the problem is converting the input into something nice for downstream use.