Ask HN: What is the coding exercise you use to explore a new language?
51–60 of 73 posts
Re: Ask HN: What is the coding exercise you use to explore a new language?
#52Re: Ask HN: What is the coding exercise you use to explore a new language?
#53I typically write a raytracer while attempting to stick to a small set of "best-practices" for the language I'm trying to learn. I also use this exercise from time-to-time to test new language features (for example C++20 ranges/coroutines recently). I also recommend this same exercise to others through the book "The Ray Tracer Challenge" [1] by Jamis Buck, because it describes an entire implementation of a raytracer…
Re: Ask HN: What is the coding exercise you use to explore a new language?
#54Advent of code after that.
Then, implement a super basic Lisp.
Re: Ask HN: What is the coding exercise you use to explore a new language?
#55I typically write a raytracer while attempting to stick to a small set of "best-practices" for the language I'm trying to learn. I also use this exercise from time-to-time to test new language features (for example C++20 ranges/coroutines recently). I also recommend this same exercise to others through the book "The Ray Tracer Challenge" [1] by Jamis Buck, because it describes an entire implementation of a raytracer…
I second the advice of loading .obj, it's a good exercise.
Implementing Octrees is another good one that will speed up your code while exploring tree structures in that language.
Re: Ask HN: What is the coding exercise you use to explore a new language?
#56I typically write a raytracer while attempting to stick to a small set of "best-practices" for the language I'm trying to learn. I also use this exercise from time-to-time to test new language features (for example C++20 ranges/coroutines recently). I also recommend this same exercise to others through the book "The Ray Tracer Challenge" [1] by Jamis Buck, because it describes an entire implementation of a raytracer…
Great suggestion! And you earned them a sale from me. Going to try this out to bring my rustlang knowledge up to speed.
[1] https://youtube.com/playlist?list=PLy68GuC77sUTyOUvDhVboQoOl...
Re: Ask HN: What is the coding exercise you use to explore a new language?
#57Re: Ask HN: What is the coding exercise you use to explore a new language?
#58Re: Ask HN: What is the coding exercise you use to explore a new language?
#59cat, ping, netcat, grep, cut, etc.