this post was submitted on 11 Aug 2023
11 points (100.0% liked)

Programming

13376 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

Hi lemmy, You all probably kniw about https://adventofcode.com/

I would love to do that with some students of mine. Only thing is, I'm not very good at it, so I can't always figure out what the underlyong principles are.

Is there a place where someone (website, blog, github, erc), much better than I, explains each puzzle, how it's solved, which algorithm is used, what underlying principles you can learn from this?

top 4 comments
sorted by: hot top controversial new old
[–] Kissaki@feddit.de 3 points 1 year ago* (last edited 1 year ago) (1 children)
[–] abbadon420@lemm.ee 1 points 1 year ago (1 children)

Thanks, I'll look into that

[–] the_artic_one@programming.dev 2 points 1 year ago* (last edited 1 year ago)

Not much there yet but there's also !Advent_of_code@programming.dev

[–] shakesbeare 1 points 1 year ago

I can’t give you what you’re looking for, but the great part about challenges like this is that they are real problems to solve with input data to deal with.

You might try reorienting yourself, then. Instead of trying to teach your students the perceived “point” of each problem, use the problems to teach them about common design patterns and any algorithm that might apply that they don’t already know about. It’s not necessary to present the “best” solution and algorithm to each problem and only teach that, in other words.

I used one from a couple of years ago to practice dealing with first class functions. Would’ve been wildly inefficient at run time, but I had a fun time returning functions from functions and trying to use that to make really modular, overengineered code. And I feel I have a better grasp of that concept because of that experience even though it probably wasn’t how that problem was intended to be solved or even a good solution to it by any stretch.