Elvish is written in golang. I’m sure that’s going to be quite grokkable if you want to understand how a shell is written ?
Elvish is written in golang. I’m sure that’s going to be quite grokkable if you want to understand how a shell is written ?
I understand why someone might not want to start there, but I think that could be a bit short-sighted. I think people are far too quick to dismiss code that's old. Yeah, it may have a lot of warts (for a lot of reasons, some more valid than others), but that doe not negate the value of understanding how something was implemented.
I'm also not suggesting this would be easy. There are some very complicated C codebases out there. I'm just saying that I disagree that there's no point in examining them.
Even if it's heavily commented, I learn better from debate, trade off analysis, or failure analysis.
To put it simply, I like argue and break things.