Re:Advent of Code Surveys: Results
by tluyben2 on Friday December 24, 2021 @03:39AM
(#29671635)
For this kind of thing JS is actually good as you can do messy things fast without worrying. Like a few of the problems this year benefitted from being able to mutate structures while iterating over them; I would never do that in production code but for fast hacking/golfing it is an excellent footgun. I did a lot last year in Rust and k (the polar opposites?); Rust was really annoying for this kind of thing.
[ Parent
| on HN ]
Yep js is pretty great but I don't think it can best python for this kinda stuff, python has so many helper functions around these kind of problems where you'd have to constantly reinvent the wheel with js.
And I shared the same opinion as about the this type of code. Not a fan of python in prod, but typescript all the way