r/adventofcode • • 2h ago

Help/Question 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?

4 Upvotes

8 comments sorted by

10

u/smallpotatoes2019 1h ago

Yes.

  1. You get to practise using your skills on a problem without any tutorial to follow.
  2. You get to try solving a real problem and planning a solution to it.
  3. It gives you a chance to see what others have done, learn from their approaches and (through that) be exposed to new algorithms/structures to learn about.

It certainly has some value.

5

u/GrumDum 1h ago

Daily ritual the last few years has been to hack together a solution in Python, try to refine it a bit, then check the solution thread for whatever magic u/4HbQ has conjured, and feel wholly inadequate after!

1

u/smallpotatoes2019 50m ago

The ones that always amuse me are:

import perfect_library_for_this_problem

solution = perfect_method_for_this_problem()

Then you see somebody in Assembly writing the whole algorithm from scratch.

2

u/fett3elke 39m ago

Or in Excel

1

u/fett3elke 39m ago

His / Her solutions are a work of art!

1

u/AutoModerator 2h 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/herocoding 1h ago

Is XYZ good to improve my ABC programming skills?
YES!!

1

u/notger 1h 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.