Earlier quoted context omitted.
That's why Common Lisp / CLOS has functionality like * CHANGE-CLASS (change the class of an object to a different class), * update-instance-for-different-class (updating the object after a class change, one can provide methods which will be lazily called when needed), * update-instance-for-redefined-class (updating the object after redefining a class, one can provide methods which will be lazily called when needed),…
Which can be really cool, but has its downsides: Hey cool, I can change these classes live! Let's solve this tricky problem by changing the class at runtime. Cool, it works, now on to the next problem. 2 years later... What's causing this super-weird bug? It's like the code isn't doing what it says at all. 1 week of debugging and head-banging later... Oooh, something got screwed up in that runtime class change code.…
React Native for Android
241–248 of 248 posts
Re: React Native for Android
#242Earlier quoted context omitted.
That, and because development is way easier.
I'm curious why you say that. You have to learn a whole new Apple-only programming language to do iOS (Swift or Objective-C) in addition to the iOS framework/libraries. Not to mention buying a Mac and paying Apple $100 for a developer account. Android, on the other hand, was pretty straightforward to get started with for me as someone with Java experience.
Re: React Native for Android
#243Question for everybody doing some sort of cross platform mobile dev. How common is it to have NO experience with a platform's native libraries? In other words you didn't go from ObjC or Java to React Native/Cordova/Xamarin to try and re-use code but because you know JS or C# and weren't concerned about learning the native platform. For any that started out with no native platform knowledge did you start to dip into i…
I got into native development with no experience in the iOS/Android APIs, coming from a web dev background. I did know Java and C from working on side projects, and read up on Objective-C before, though. At my previous company, all the developers doing native work had no prior experience w/ mobile development (i.e. they primarily had backend C# experience) I dabbled w/ Cordova and friends before, and did some work to…
Re: React Native for Android
#244"OS X - Only OS X is currently supported" Why is this becoming popular ?
There's unfortunately a lot of non-overlapping work so we decided to release what we have finished incrementally. Most of the team uses OS X for development so it was a natural first choice. We're planning on adding the missing Windows and Linux support soon!
Re: React Native for Android
#245Earlier quoted context omitted.
Which can be really cool, but has its downsides: Hey cool, I can change these classes live! Let's solve this tricky problem by changing the class at runtime. Cool, it works, now on to the next problem. 2 years later... What's causing this super-weird bug? It's like the code isn't doing what it says at all. 1 week of debugging and head-banging later... Oooh, something got screwed up in that runtime class change code.…
Is that something you've experienced?
Re: React Native for Android
#246"OS X - Only OS X is currently supported" Why is this becoming popular ?
There's unfortunately a lot of non-overlapping work so we decided to release what we have finished incrementally. Most of the team uses OS X for development so it was a natural first choice. We're planning on adding the missing Windows and Linux support soon!
Re: React Native for Android
#247Earlier quoted context omitted.
It's because anyone who has done any complex web app development knows that you don't have one button changing color. You have 100+ UI components whose state may depend on one another, and as the DOM nodes composing those UI elements get state attached to them, it's EXTREMELY easy for them to both (1) get out of sync, and (2) thrash and re-render entire trees of the DOM unnecessarily. This is a real thing that happen…
Yes, I understand all of this. It can work for small websites. However, the technique cannot uphold for larger systems. For example, consider writing a word-processor using this style of programming. If the user is writing a 10-chapter book, and every character entered by the user requires a visit of all characters in the book, that is not very usable. So even from a practical viewpoint (not just theoretical) it is n…
Quip uses React.
Re: React Native for Android
#248Earlier quoted context omitted.
I assume this is only in dev mode, as opposed to release mode?
Actually no, POCs have been made which allow you to deploy setups which allow for live updating apps in production. Apple even allows RCE as long as it's executed in the JS engine.