Last year I used mainly crystal. This year I’m thinking pharo smalltalk, if I can pick it up in time

I also want to do visualizations, not sure how possible that is with smalltalk.

-9 points
*

Seriously? This idea of always wanting to use the latest and best technology is a nightmare for those that come after you. I used to run an IT department where I literally had more languages/technologies that I had people to support them. You need two people to support each, for vacations etc so you do the math. It is a nightmare. Spare a thought for the poor support people and stick to Python or Node or whatever - even Perl…

permalink
report
reply
16 points

Indeed, you make an excellent point that Advent of Code solutions need to be maintained for years to come.

permalink
report
parent
reply
2 points

even COBOL…

permalink
report
parent
reply
23 points

I always use Rust, because I cannot use it at work and I am still bad with it.

permalink
report
reply
8 points

New Years resolution the past 5 years: I will get better with Rust.

…and I do get better but somehow it always feels like it’s not enough. Like, I’m still an imposter.

I can program an entire embedded USB keyboard/mouse firmware from scratch that can do all sorts of things no keyboard has ever done before yet I still feel like a newbie somehow. Like there’s all these people that talk about traits and mutli-threaring with async and GPU and AI stuff and I’m like, “I wrote an embedded_hal crate that lets you use both 8 and 16-channel multiplexers simultaneously!” or, “I wrote an interface that let’s you use the extra space in your RP2040 flash memory as a filesystem!”

Yet everything I ever write in Rust always just uses the most basic and simple features because I still have trouble with complex lifetimes (passing them around quickly gets too confusing for me) and traits that work with non-basic types (because in the world of embedded 'static is king).

permalink
report
parent
reply
6 points

Good news: if you’re writing #Rust and only using basic features of the language, you’re doing it right.

People who use the advanced stuff either have unique, interesting challenges, or they’re over-engineering. Since the former are overrepresented in the blogosphere, you’re probably comparing yourself to them. But just because their problems are interesting doesn’t mean yours are not! Nor does it mean you have to use the same solutions.

If you can solve interesting problems (it sounds like you can!) and keep the code simple, more power to you!

permalink
report
parent
reply
5 points

Maybe you should work more on you self-esteem instead of rust?

Doesn’t seem healthy to be good at something and not recognizing it as an accomplishment.

permalink
report
parent
reply
4 points
*

Haha, well… I have plenty of self-esteem but not Rust-specific self-esteem. I still have imposter syndrome with that language.

I’m a top notch expert in Python and JS though! 😁👍

I wrote PyMinifier which required such a deep understanding of Python it kinda broke my brain writing it for a while, haha. I eventually figured everything out though and got an even deeper understanding of the language and its features.

For JS it has just been years and years and years of knowing 100 ways to do what I want in JS but none ever seeming to be, “correct”. Then eventually I realized there’s no best way to do basically anything in JS and that’s when the true enlightenment came 🤣

If you look at anyone’s JS code and think to yourself, “ugh, there’s got to be a better way to do this” chances are you’re wrong. All the ways will be equally shitty for any number of different reasons! 😆

permalink
report
parent
reply
4 points

Whitespace

permalink
report
reply
1 point
   		  			
	
     		 				
	
     		 				
	
     	
     		 		  
	
     			 	 	
	
     		   		
	
     		 	 		
	
      	    	
	
  

permalink
report
parent
reply
5 points

Thinking of using nim again like last year

permalink
report
reply
7 points

I like to use lisp. It is about the only time I get to use it, and I get a little better each year.

permalink
report
reply
1 point

Last year i did rust and lisp both, lisp most of the time was easier.

permalink
report
parent
reply

Advent Of Code

!advent_of_code@programming.dev

Create post

An unofficial home for the advent of code community on programming.dev!

Advent of Code is an annual Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like.

AoC 2024

Solution Threads

M T W T F S S
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25

Rules/Guidelines

  • Follow the programming.dev instance rules
  • Keep all content related to advent of code in some way
  • If what youre posting relates to a day, put in brackets the year and then day number in front of the post title (e.g. [2024 Day 10])
  • When an event is running, keep solutions in the solution megathread to avoid the community getting spammed with posts

Relevant Communities

Relevant Links

Credits

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

console.log('Hello World')

Community stats

  • 478

    Monthly active users

  • 109

    Posts

  • 1.1K

    Comments