News for hackers. Stuff that matters.
Re:Don't Call Yourself a Programmer, and Other Career Advice... by scarface74 on Sunday October 20, 2019 @10:23AM (#21304315)
The jump is huge. Web development has a completely different model than mobile development. In web development, losing a connection is a failure case. Developing for mobile it is expected. Especially for enterprise apps. Logic is usually distributed, syncing is required, knowing which is the source of truth etc.

This is really an example of hiring someone who has experience and hiring someone who thinks “it’s easy and just like what I did before”.

Then I could get into all of the old netops guys who think AWS is just like what they did on prem and end up costing the company more...

Re:Don't Call Yourself a Programmer, and Other Career Advice... by Retric on Sunday October 20, 2019 @01:49PM (#21305727)
They are different, but I don’t think networking is one of the major differences.

Website backends often have significant dependence on other services that can be down. Further standalone apps can have zero network dependence or a lot. So having written both, and similar code for each, I don’t feel the networking side is all that different.

If anything networking is probably the largest similarly between them.

PS: I did some iOS development in my spare time even worked with some old J2ME, so I assume Android is fairly similar.

Re:Don't Call Yourself a Programmer, and Other Career Advice... by rectangletangle on Sunday October 20, 2019 @03:17PM (#21306380)
>In web development, losing a connection is a failure case.

That's changing with the advent of progressive web apps. It's possible to write web apps now that are robust in the face of network problems, e.g., the web app renders and is functional even without a connection.

Re:Don't Call Yourself a Programmer, and Other Career Advice... by scarface74 on Sunday October 20, 2019 @03:31PM (#21306470)
I’m not questioning whether you can do it with web technology. But you still have to design it where both your business logic and your data can live on the device and it can queue submitted data until there is a connection available and if multiple people are updating the same record, knowing how to merge the information or knowing which one takes precedence. I’ve even seen cases where the logic depended not on just the record, it depended on knowing which fields were updated by the device when it was disconnected and the prior value of the field to make sure that the user had seen the most recent value before they updated it. If not, someone on the back end had to do a “manual merge conflict resolution” by calling both people.
Re:Don't Call Yourself a Programmer, and Other Career Advice... by Retric on Sunday October 20, 2019 @03:46PM (#21306562)
You frequently encounter similar issues between multiple web servers. Either due to scaling to multiple data centers or when multiple independent services all update the same information. This can get really complex when clients start talking to multiple different services.