If freedom is what you want, the android has plenty of it.
While Apple prevents any sort of app that provides a runtime or scripting language, Google developers have released something that lets you code Android apps on the phone itself in real time in a selection of different scripting languages.
You can code your app in whatever scripting language you want, but it can't download and execute code arbitrarily. For example, the unity game engine for iPhone uses mono & C#/javascript for all it's game programming/scripting. But when you use the app, the app doesn't act as a player but as a standalone application.
While Apple prevents any sort of app that provides a runtime or scripting language, Google developers have released something that lets you code Android apps on the phone itself in real time in a selection of different scripting languages.
The contrast is stark.