News for hackers. Stuff that matters.
Re:Programming as a Way of Thinking by ccleve on Monday May 01, 2017 @01:21PM (#14239476)
But that's not our experience in software. We do write "learningRate" over and over again, because we've learned that that makes the code much more understandable that just writing "e". In fact, we've learned that excessive terseness in software is an anti-pattern.
Re:Programming as a Way of Thinking by breuleux on Monday May 01, 2017 @02:30PM (#14240154)
That works fine for software, but mathematics are a different use case. If you want to simplify or rearrange an equation, what matters most is the structure, not the precise meanings you assign to the variables. If you want to understand how an equation relates to the real world or the task at hand, I agree that named variables help -- but if you want to do math, that is to say, manipulate equations, it makes more sense to work in a terser representation. Patterns will stand out more.