229

For anyone interested, advent of code is about to start! (first puzzles dropping at midnight ET which is in around 11 hours)

We have a community in the instance at !advent_of_code@programming.dev for discussion about the event and that will have solution threads where you can post and compare against other people


Advent of code is a programming puzzle advent calendar where new puzzles drop every day until the 25th. They can be done in any language and puzzles are released on the AoC site

https://adventofcode.com/

you are viewing a single comment's thread
view the rest of the comments
[-] gerryflap@feddit.nl 39 points 8 months ago

Last year I decided to do it in Rust, in order to learn Rust. I found out pretty quickly that you can't just jump from Java/Python/Haskell into Rust and expect to understand what's going on. This year I feel more prepared, so if time permits I'll make it right this time.

[-] flubba86@lemmy.world 29 points 8 months ago* (last edited 8 months ago)

Lol, that reminds me of when I was in Uni, I had a systems development class, they taught in C, all the lectures, tutorials and assessments were done in C. Our final assignment was handed out the week the first Rust v1.0.0 build dropped in 2015. I had been following the hype around the development of Mozilla's new language, and I was so keen, I asked my professor if I could complete my final assignment using Rust. He said it's a great idea. Then cut to me furiously trying to learn Rust in just two weeks, so I could even start the assignment, including C interop, implementing functions with c-style interfaces for callbacks, and lots of unsafe blocks for memory manipulation and pointer manipulation. In the end I was just forcing Rust to be C.

It did work in the end, and I did get an A, mostly because the professor couldn't understand any of the Rust code.

[-] abbadon420@lemm.ee -5 points 8 months ago

Lol. I have a student right now asking to do an assignment is PowerShell. I'm inclined to allow it and probably give them an A because I don't understand PowerShell XD

[-] Anders429@programming.dev 3 points 8 months ago

I sure hope this is not how most CS courses are being taught

[-] Anders429@programming.dev 6 points 8 months ago
[-] gerryflap@feddit.nl 5 points 8 months ago

Yep, I feel a bit more prepared now. I haven't had the time yet today, but from what I saw the first one shouldn't be too hard

[-] technojamin@lemmy.world 2 points 8 months ago

Same. I only got through day 3 last year since I didn’t have time to do both the learning and the solving. I think I need a longer term project to give me more focus when learning a new language. This year I’m just sticking with my usual language Elixir, which I always enjoy.

this post was submitted on 30 Nov 2023
229 points (97.9% liked)

Programming

16687 readers
158 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS