Live data from Hacker News

26 Programming Languages in 25 Days

matt.might.net

31–40 of 82 posts

Re: 26 Programming Languages in 25 Days

#31
Great way to get experience with a bunch of languages quickly! It's not like you'd put these languages on your resume but you can gain a sense for what each one is like/how easily you'd be able to work in it for a project.

I likely wouldn't do this personally out of pure laziness but good on you!

Re: 26 Programming Languages in 25 Days

#32

Nice!! I needed to understand some go scripts with work so I used Advent of Code as an opportunity to learn it as a new language and solve the next problem using it. Unfortunately that day's problem was more difficult than the rest so it took me more than a day to solve it, but it was a pretty nice way to ramp up on a new language!

I had a similar thought after finishing:if you wanted to really learn a new language in depth, you could solve all 25 days using that language.

Re: 26 Programming Languages in 25 Days

#33

Nice!! I needed to understand some go scripts with work so I used Advent of Code as an opportunity to learn it as a new language and solve the next problem using it. Unfortunately that day's problem was more difficult than the rest so it took me more than a day to solve it, but it was a pretty nice way to ramp up on a new language!

I had a similar thought after finishing:if you wanted to really learn a new language in depth, you could solve all 25 days using that language.

This is what I try to do. I solve them all (or nearly, I did one in Python only this year) in Common Lisp (my hobby language of choice), and the last few years I try to tackle them in a second language (Ada, Rust, Python, C++) up to the point that my time is too limited to do both versions (or where I find the second version is adding nothing to my understanding of the language I'm exploring).

This year I used Python as my second language (still plan to finish) but with a strong emphasis on TDD and property-based testing since I'm already familiar, but not fluent, with Python.

Re: 26 Programming Languages in 25 Days

#34
In 2018 I did the same thing, but I asked my friends for the list of languages (they didn’t know what it was for) so I ended up with far more esoteric languages: https://github.com/judofyr/aoc2018

In the end I lost the motivation once I only had the “regular” languages left. I was also solving them as quickly as possible (in Ruby) to get on the leaderboard so it was kinda boring to also solve them again later on.

Re: 26 Programming Languages in 25 Days

#35

great to see prof. might writing about programming again! im curious what he thinks about the ergonomics of the languages he used

Thanks! I have a part two planned to comment more about the languages / days themselves. This post was just getting too long to include it here.

neat! looking forward to it

Re: 26 Programming Languages in 25 Days

#36
post #16
post #2

We did a similar assignment at University many years ago. I think it was the same assignment, one per day for two weeks. Each time in a different language. The goal was to see how similar code is, and how little it matters which language you pick. Obviously it's a constrained problem set (we didn't have to learn all the ins and outs of each language) but it really opened our eyes to the "commonness" of programming, a…

We did the same but the idea was to do it in different paradigms: iterative, OO, functional, etc. And the code was very different

[deleted]

Re: 26 Programming Languages in 25 Days

#37
post #6

Earlier quoted context omitted.

I’ve really missed his blog. I read his posts over and over during grad school. His story of pivoting from PL research to medical research (and being a star in the field) is quite motivating.

Thank you for the kind words! I missed blogging too, so I set a New Year’s resolution in January to write at least two blog posts this year. It had been over seven years since my last! I still hadn’t written one by November, but now I’ve got three for the year. I’m optimistic I can keep it up now.

I've asked my team at Amazon [usual disclaimers] to read this, and highlighted my favorite takeaways: "Well-timed sleep was probably the most important thing I did", and "Using sleep to do the heavy lifting on algorithm design". I love this concept, and need to incorporate more of it myself.

Re: 26 Programming Languages in 25 Days

#39
post #2

We did a similar assignment at University many years ago. I think it was the same assignment, one per day for two weeks. Each time in a different language. The goal was to see how similar code is, and how little it matters which language you pick. Obviously it's a constrained problem set (we didn't have to learn all the ins and outs of each language) but it really opened our eyes to the "commonness" of programming, a…

> The goal was to see how similar code is, and how little it matters which language you pick.

I think that’s a pretty bad result of the exercise. The point of software isn’t just to do a thing. Good software should properly encode a domain or idea and communicate that to others.

If one took the analogy of driving a nail into wood, there are many tools that can do the job, but only a couple that properly handle the job. Because the goal isn’t to just drive the nail, it’s to do it efficiently and ergonomically and in a way easily communicable.

Re: 26 Programming Languages in 25 Days

#40
post #12
post #7

No FORTH, APL, Clojure or Rust? My HN bingo card is empty...

Both Clojure and Rust are not very fast to learn to the problem-solving level. Other languages like Java or C++ can substitute for them. APL probably too hard to learn in 1-day

I'm convinced a moderately intelligent person with good grasp of high school mathematics can learn the entire core of APL in 24 hours of study (which of course is more than 1 day) with appropriate tutoring. Lack of programming experience is a plus.

Yes, I'm willing to tutor a student to test my claim.

Post reply on HN