Страница 1 из 1

Backward/Forward Compatible

Добавлено: 16 фев 2013, 12:37
insider
Читал официальный help по Android и наткнулся на абзац:
Notice that the platform versions are stacked on top of each other with the oldest active version at the top. This format indicates the total percent of active devices that are compatible with a given version of Android. For example, if you develop your application for the version that is at the very top of the chart, then your application is compatible with 100% of active devices (and all future versions), because all Android APIs are forward compatible.
Мне всю жизнь казалось, что это называется backward compatible - обратно совместимо. Начал гуглить дальше и выяснилось, что разработчики Android думают об этом понятии как-то иначе. Нашел еще вот такой вопрос на Stack Overflow, и полезным мне там кажется только самый последний ответ.

Мое понимание backward/forward compatible совпадает с таковым в Википедии.
Backward compatibility:
A product is backward compatible if it can work with input generated by an older product or technology. <...> In programming languages, backward compatibility refers to the ability of a compiler for version N of the language to accept programs or data that worked under version N - 1.
Все нормально: то, что есть в Android. Новые версии ОС позволяют работать с фичами, которые были в старых версиях.

Forward compatibility:
Forward compatibility aims at the ability of a design to gracefully accept input intended for later versions of itself. <...> A standard supports forward compatibility if older product versions can receive, read, view, play or execute the new standard.
В Android, на мой взгляд, этого нет. Старые версии ОС не в состоянии запускать программы или поддерживать фичи новых ОС.

Что думаете? Почему разработчики Android упорно пишут о forward compatibility?

Re: Backward/Forward Compatible

Добавлено: 16 фев 2013, 14:00
rezak90
это слишком сложно с утра так филасовствовать... :?
под вечер буду в гавно тогда и сильные мысли появятся 8-)

Re: Backward/Forward Compatible

Добавлено: 16 фев 2013, 19:45
insider
С нетерпением жду :)