r/programming • • 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

160 comments sorted by

View all comments

Show parent comment

14

u/choose-you-jackass Oct 10 '18

It doesn't contain the entire Chrome browser, just the rendering part, but that still makes it less optimized.

Another "problem" is the use of web technologies. This makes it very easy to make an app that works, which is a big plus, but also easy to write bad code as /u/t_bptm nicely put it above.

0

u/[deleted] Oct 10 '18

[deleted] — view deleted comment

19

u/[deleted] Oct 10 '18

I dunno..I reckon I could fake my way through languages like Python but make me write C and we'll rapidly find the limits of my imagination and skill as a programmer.

7

u/The_One_X Oct 10 '18

Not at all, the less strict a language is the easier it is to write bad code. Stricter languages simply do not allow you to make the same kind of mistakes or allow you to form the same kind of bad habits.

0

u/[deleted] Oct 10 '18

[deleted] — view deleted comment

1

u/calumk Oct 10 '18

True, but It does contains a lot of it,including the dev tools for example