3 ms·
This is a good point. Actually, "simple" requires understanding and insight that is not "easy" at all. Sometimes you have to go with a complex solution simply b
by seanmcdirmid 14y ago
This is a good point. Actually, "simple" requires understanding and insight that is not "easy" at all. Sometimes you have to go with a complex solution simply because you do not understand the problem well enough, but the understanding you get doing the hard thing can lead to enlightenment that leads to beneficial decomposition and simplicity.
All solutions to the hard math problems only look easy in hindsight, it probably took frustrating long while for the super programmers to get there. This is why Google hires a bunch of PhDs to dev, they are just conditioned on slogging through those problems given their research training; they are not necessarily better than the non-PhD programmers, they just often spend their time differently. Great at math, then you can focus on math problems. Not great at math, you are probably great at something else that needs to be done. Diversity is good.
As an aside, real compiler writers :) write their own lexers and parsers. Once you've written a lot of these, you get more efficient at writing more, but its a 10,000 hour thing.
- einhverfr 14y agoYes, for example. Take the area under a curve of a known equation. What we do is divide it into an infinite number of rectangles we can add together and come up with a function for that. Rediculously easy in hind-sight but that's the basis of the integral. Of course using computers those which cannot be easily processed symbolically can be processed using Euler's Method, which gives you a close approximation. Edit: Also I think that all the complexity of accounting systems came from small solutions to questions, such as tracking how different business partners are to be compensated in a Europe where nobody had the money stores to buy much without credit. See http://ledgersmbdev.blogspot.com/2012/08/a-software-architects-view-of-design-of.html http://ledgersmbdev.blogspot.com/2012/08/a-software-architec... and I think that has a lot of lessons for programming today.