4 ms·
I don’t think you’re a jerk, I just want to offer a different perspective. I appreciate projects like this as a newbie. People say, “you can learn a lot by rea
by echoradio 6y ago
I don’t think you’re a jerk, I just want to offer a different perspective.
I appreciate projects like this as a newbie. People say, “you can learn a lot by reading other people’s code.”
Unfortunately, most of the projects I try to learn from are quite large. It can be overwhelming to dissect. A project like this which sticks to the language (with few or additional libraries) allows me to pick apart what everything does.
- IgorPartola 6y agoAnd that's what these projects are great for. I have always appreciate simple things like this that allow me to learn new features of a language, or in this case the stdlib that comes with a language, without introducing too much cruft. I am still learning new tech and these kinds of demos are a great way to learn. I am just being overly pedantic about the 100 LOC thing because it's been used over decades as a kind of badge of honor/bragging rights. If you implement something that really relies on nothing in N LOC then it's warranted. If it's just a teaching tool, like this is, I feel that it's better to present it as "Show HN: how I learned about HTTP support in the Ruby stdlib and wrote a toy proxy server". The README for this project actually makes it sound like this is something you could use in production, which you absolutely should not.