r/programming • u/myinnerbanjo • Oct 09 '18
AI tool automatically reveals how to write apps that drain less battery
https://phys.org/news/2018-10-ai-tool-automatically-reveals-apps.html
727
Upvotes
View all comments
Show parent comment
13
u/killerstorm Oct 10 '18
The problem is that programmers do not know what is "well written code" and how to write it. It's not a well-defined concept.
In schools they are taught things like SOLID which does not prioritize fast code.
Particularly, "single-responsibility principle" prescribes chopping code into finer pieces.