4 ms·
I wish these types of projects would identify themselves as koans in the README or something. Makes it much easier to surface exercises like this when googling.
by leetrout 6y ago
I wish these types of projects would identify themselves as koans in the README or something. Makes it much easier to surface exercises like this when googling.
I think this is the best way to learn languages.
Does anyone know of any for TypeScript?
- jamesholden 6y agoI 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 https://regex101.com/ https://regex101.com/
- markbnj 6y agoI 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.
- nick__m 6y agoRegex101 is especially useful, I use it to check for catastrophic backtracking¹ before committing a regex. 1-https://www.regular-expressions.info/catastrophic.html https://www.regular-expressions.info/catastrophic.html
- yarinr 6y agohttps://github.com/typescript-exercises/typescript-exercises https://github.com/typescript-exercises/typescript-exercises
- BasedInfra 6y agoNever heard of koans before, it’s a brilliant idea for learning a new language. Opportunity for a index or site for koans.
- danpalmer 6y agoKoans 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.
- gmfawcett 6y agoLet's hope that nobody invents a language called Zen -- they will run into problems. :)
- kristoff_it 6y agoif 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.
- gmfawcett 6y agoHah! 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.)
- maddyboo 6y agoI 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! [1]: https://github.com/b0o/awesome-by-example https://github.com/b0o/awesome-by-example
- davegauer 6y agoYou'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. :-)