Re:Ziglings: Learn the Zig programming language by fixing ti...
by davegauer on Saturday February 13, 2021 @03:41PM
(#26126659)
You're absolutely right. My own first exposure to this type of learning resource was Ruby Koans. I believe Rustlings (which was my direct inspiration) also credits RK. I'll update the README with the grandparent attribution. :-)
Re:Ziglings: Learn the Zig programming language by fixing ti...
by HellsMaddy on Saturday February 13, 2021 @02:57PM
(#26126222)
I love these sorts of resources! I just created an "awesome list" [1] to keep track of resources specifically centered around learning by example. I've only got a few so far, several of them being from this thread. Contributions welcome!
Re:Ziglings: Learn the Zig programming language by fixing ti...
by jamesholden on Saturday February 13, 2021 @01:39PM
(#26125578)
I saw your comments and I was thinking to myself.. "They should have one for Regex (regular expressions). That would be a cool way to learn it."
Apparently someone did. ¯\_(ツ)_/¯ TIL
Re:Ziglings: Learn the Zig programming language by fixing ti...
by markbnj on Saturday February 13, 2021 @02:05PM
(#26125813)
I have regex101 open in a tab any time I am developing a regex :). It's an awesome tool, and I especially appreciate the mini language reference in the lower right corner of the window.
Re:Ziglings: Learn the Zig programming language by fixing ti...
by nick__m on Saturday February 13, 2021 @03:02PM
(#26126269)
Regex101 is especially useful, I use it to check for catastrophic backtracking¹ before committing a regex.
Re:Ziglings: Learn the Zig programming language by fixing ti...
by BasedInfra on Saturday February 13, 2021 @02:42PM
(#26126115)
Never heard of koans before, it’s a brilliant idea for learning a new language.
Opportunity for a index or site for koans.
Re:Ziglings: Learn the Zig programming language by fixing ti...
by danpalmer on Saturday February 13, 2021 @02:59PM
(#26126239)
Koans are a fairly well-known technique, and if you Google "<language> koans" you'll find something for most languages. I like it as a learning style.
Re:Ziglings: Learn the Zig programming language by fixing ti...
by gmfawcett on Saturday February 13, 2021 @04:18PM
(#26127038)
Let's hope that nobody invents a language called Zen -- they will run into problems. :)
Re:Ziglings: Learn the Zig programming language by fixing ti...
by kristoff_it on Saturday February 13, 2021 @05:07PM
(#26127433)
if you want to have a laugh, check the news section of ziglang.org. There was also a pretty big discussion on HN at the time.
Re:Ziglings: Learn the Zig programming language by fixing ti...
by gmfawcett on Sunday February 14, 2021 @03:30PM
(#26135963)
Hah! I didn't know of any Zen languages -- just to find one a stone's throw away from Zig. Thanks for pointing that out.
(And that news story... what an absolute mess of a situation.)
I think this is the best way to learn languages.
Does anyone know of any for TypeScript?