4 ms·
Intelligent naming may be the most underrated skill of high quality programmers, along with "simplicity". My go-to example is the Tensorflow code base. It soun
by orthoganol 10y ago
Intelligent naming may be the most underrated skill of high quality programmers, along with "simplicity".
My go-to example is the Tensorflow code base. It sounds intimidating, deep learning, etc., right? But take something like the Seq2Seq implementation, and marvel how elegant and readable the module is. Some part of that is due to the simplicity of "programmer happiness languages" like Python and Ruby (sorry Java, JavaScript), but it's also clear that the easy part for them was making it work, while the part that probably took most of their focus was engineering simplicity. To even be in that position means you're already really, really good.
I typically contrast this with another Seq2Seq implementation in another certain library (I won't call out anybody) done by a PhD student, that looks very intelligent, but with no focus on engineering simplicity or elegant naming, it is an exercise in frustration to get through.
- ch4s3 10y agoHere's a link for reference https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/ops/seq2seq.py https://github.com/tensorflow/tensorflow/blob/master/tensorf.... It is very nice to read.
- orthoganol 10y agoLikewise their example implementation of it: https://github.com/tensorflow/tensorflow/blob/master/tensorflow/models/rnn/translate/translate.py https://github.com/tensorflow/tensorflow/blob/master/tensorf...