3 ms·
> I noticed Go tried to remove everything which can obfuscate the code and make it harder to read, or become junior-unfriendly. That is unsurprising > They’re
by masklinn 5y ago
> I noticed Go tried to remove everything which can obfuscate the code and make it harder to read, or become junior-unfriendly.
That is unsurprising
> They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They’re not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt.
- pjmlp 5y agoThe irony of that statement is that a language whose version 1.0 was pretty much Go in 1996, is now seen by them as a PhD level language.
- joconde 5y agoWhich language do you mean? Python 1.0 seems to have come out in 1994 (https://en.wikipedia.org/wiki/History_of_Python#Version_1 https://en.wikipedia.org/wiki/History_of_Python#Version_1).
- goatlover 5y agoOCaml came out in 96. That would be PhD level in comparison. As for Python, it's interesting how it was considered a simple, easy to use language that focused on doing things one way back then. But now nearing version 4, it's turned into a complex language with many ways to do things. Makes one wonder how long Go will be able to hold out for. JS has gone the same route as Python. I guess Scheme managed stay simple, but it was never that popular. OTOH, It's cousin CL is complex. To paraphrase Stroustrup: There are two kinds of languages: the simple ones (Scheme, Smalltalk, early Python and JS), and the ones everyone uses.
- pjmlp 5y agoI was referring to Java. OCaml is not on the languages referred by Rob Pike.
- pjmlp 5y agoNothing on my comment was about Python, and Rob Pike mentioned others, like Java.
- ori_b 5y agoI suspect Rob would say that Java 1.0 was a better language than today's Java.
- randomdata 5y agoIf you take the quote out of context, maybe. What he was saying from the previous bit is that they wanted their new language we now know as Go to be familiar to those who have learned Java, C, C++, etc. This is opposed to it being derived from, say, Haskell, that, while brilliant, few have familiarity with. It’s not ironic that Go is similar Java, especially in its earlier days. Those similarities are stated as an intent of Go’s design.