View Single Post
Old 12-16-2014, 11:26 AM   #291
jbjb
Somewhat clueless
jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.jbjb ought to be getting tired of karma fortunes by now.
 
Posts: 772
Karma: 9999999
Join Date: Nov 2008
Location: UK
Device: Kindle Oasis
Quote:
Originally Posted by Rizla View Post
If a lone programmer went in and changed the font sizes, it seems unlikely to me that they hard-coded.
Just because someone can, by recompiling the firmware, change the hard-coded values doesn't mean they weren't hard-coded. In fact - if you look at the description of the modifications that the developer uploaded, you'll see his plea:

Quote:
To Amazon Developers: guys, before creating a hardcode in the future products, think carefully. Thank you very much in advance.
I've not read the thread completely, but at first sight it looks like there's a hard-coded array of sizes presented by the UI, and a different hard-coded array of sizes supported by the renderer. These hard-coded sizes can clearly be changed (as detailed in the thread), but that's not the same as saying that the renderer can handle sizes specified by arbitrary numbers at runtime. (Of course, it also doesn't mean it can't!).

In any case, that's a digression - the point that several of us have been making is simply that despite the fact that it might be thought that it should be simple, and that it's 'Programming 101' , there's a great deal of professional experience (30-odd years in my case) which says that in the real world, code is frequently badly structured, badly written and an unmaintainable and unmodifiable mess.

Again, that's not to say that the Kindle firmware is such a mess, just that to assume without knowledge that it isn't is perhaps a tad optimistic.

/JB
jbjb is offline   Reply With Quote