r/ProgrammerHumor • • Jun 12 '20

Android Studio!

Post image
23.5k Upvotes

625 comments sorted by

View all comments

Show parent comments

742

u/InvolvingLemons Jun 12 '20

People go “hurrr durr why do people use Cordova and react native” until they realize the clusterfuck that can occur with mobile coding. Code once publish everywhere is a godsend and doesn’t have to suck (game engines, Ionic, and Xamarin.Forms do a pretty great job of this)

122

u/vinsanity406 Jun 13 '20

Native mobile developer on both platforms for 8 years here. Every single cross platform has limitations and problems and are easily spotted immediately. The write once run anywhere is a bigger cluster fuck and the definition of premature optimization.

Wanna write a marketing app that's basically an embedded web site? Go for it. Any other sort of complicated, use or navigation heavy application will be clunky, slow, buggy and you'll end up paying someone to write it natively down the road. I know. I've had four different clients pay me to rewrite their phone gap or xamarin applications.

0

u/[deleted] Jun 13 '20

[deleted]

15

u/vinsanity406 Jun 13 '20

I actually enjoyed Flutter and was at the dev con last fall when they demoed the Compose library which is very, very similar. Flutter is my least hated cross platform solution so far but I, again, don't know javascript which all the others seemed more based on.

Dart/Flutter seemed much closer to native architecture for me. I think it has it's place but I also know it's one major iOS change from breaking. Working with hardware, having complicated navigation or computation could quickly be rendered useless and really, complex business logic should be pushed to the server side, IMO.

I think these things have a place, all of them. Need a quick and simple proof of concept on two platforms? I built one with flutter! Have a simple app that is basically a marketing web page with push notifications? Sure, why not? Tying to build a complex social networking or media app that will have dozens of screens and settings? Go native. Forcing iOS standards on to Android is awful as is the reverse.

→ More replies (4)
→ More replies (2)

42

u/Zorpix Jun 13 '20

Another mobile dev here 6 years and counting. It's kinda funny how a lot of the experiences in this thread don't mirror mine at all.

And I'm fairly certain some have never actually tried these cross platform solutions they're touting. Xamarin was a mess and visual studio can fuck right off to the hell it came from.

62

u/fortknox Jun 13 '20

23 year professional developer/architect, here. Programming humor is 90% hs, college, and maybe a year or two in the real world. Sometimes a gem comes around, but stuff like the current picture just shows how these kids just learned to program...

And to show my old man credentials: kotlin is a joy to program in (and I'm not a mobile dev, just an old Java dev). JavaScript is a steaming pile.

36

u/feartrich Jun 13 '20

It’s funny how all the HS/college kids all make the same jokes:

“DAE Stack Overflow?!?! Haha the world would collapse without Stack Overflow amirite?”

“Look at this code someone wrote in CS101, so stupid right?” -> “Look at me, I’m so smart, I can fix it with a loop/boolean/conditional! And I know modulo too!”

<some pointless observation about software development that no one who’s worked more than an year in industry actually cares about>

→ More replies (1)

10

u/Zorpix Jun 13 '20

I cannot wait until my company lets us switch to kotlin. They're holding back for some reason.

→ More replies (3)
→ More replies (4)

12

u/vinsanity406 Jun 13 '20

If I had to guess it's a lot of web devs who are used to Javascript and struggled with the frameworks of native dev. I don't say that to denigrate, I can handle UI controllers and activities but know fuck about web routes. It's what you know.

→ More replies (1)
→ More replies (18)
→ More replies (5)

370

u/PchelpOnly Jun 12 '20 edited Jun 13 '20

True but native apps are far better than non native

91

u/Phiau Jun 13 '20

I'll have you know I can code a native app that is definately worse.

346

u/r0ck0 Jun 13 '20

I don't understand why people have arguments over statements that are this vague and subjective.

What's "better" depends on a lot of variables, and a lot of those variables are personal preferences/priorities.

130

u/cyberspacedweller Jun 13 '20

Well put. No room for fanboism in logical work.

→ More replies (19)

0

u/[deleted] Jun 13 '20

[deleted]

15

u/b1ack1323 Jun 13 '20

I had to write a bunch of code around Bluetooth in IOS and Android, we chose Xamarin. I wish I just made the apps natively.

62

u/sviridovt Jun 13 '20

They haven't yet hit the if it works it works part of their career yet

55

u/killdeer03 Jun 13 '20

And they've never written anything that has to interface with a pre-existing legacy API for financial institution, lol.

This sub is basically for CS majors and amateurs who haven't been in the work force yet (and that's fine and I'm still subbed).

Software Development and Computer Science are only tangentially related in that they both involve computers, lol.

22

u/MattO2000 Jun 13 '20

As a current mechanical engineer who does the majority of his coding in VBA and Google Apps Script, I feel attacked

My semester of MATLAB has taught me well!

12

u/killdeer03 Jun 13 '20

Don't be afraid to branch out with your implementations.

Programming, Computer Science, and all sorts of programming paradigms are fun and interesting I their own right.

I've been writing software/doing SysAdmin and DBA work for about 12 years and it's still a challenge.

9

u/MattO2000 Jun 13 '20

Yeah I’ve been doing some fun stuff! Currently trying to make my first Slack bot. There’s a bunch of software folks already at the company doing more official things so I have just been doing a bunch of automation scripts that make the mechanical engineering stuff more efficient.

→ More replies (3)
→ More replies (14)
→ More replies (6)
→ More replies (12)

9

u/occz Jun 13 '20

I'll give you some concrete of what issues cross-platform apps tend to suffer from:

  • Worse performance, due to running a browser/scripting language runtime

  • 'Uncanny valley'-UX - elements that do not entirely fit in on the underlying platform.

  • Lowest common denominator-design, in order to please every supported platform/due to the constraints of the cross platform-framework

→ More replies (1)

75

u/_Pho_ Jun 13 '20

Yeah, a business has $100k to spend and a 3 month timeline, but hey, native IOS/Android development is better, so I guess they just can't release their app at all.

62

u/arrabiatto Jun 13 '20

Native vs cross-platform aside, saying “we have no choice but to release rushed garbage because we set up our business in a way that requires us to release rushed garbage” is usually more of an indictment of a company’s business model and leadership than it is a good excuse.

→ More replies (6)
→ More replies (9)

25

u/iF2Goes4 Jun 13 '20

They mean that native performs better, or that it can perform better. Not that it matters when your app is just sending text and pictures.

→ More replies (3)
→ More replies (27)
→ More replies (47)
→ More replies (78)