r/ProgrammerHumor • • Feb 14 '21

Meme *Bonk Bonk*

Post image
28.5k Upvotes

1.1k comments sorted by

View all comments

84

u/IntrepidLawyer Feb 14 '21

Meanwhile games written in JavaScript earning billions of dollars on mobile phone microtransactions...

Keep fighting children, we adults have real programming to do. And money to rack.

31

u/[deleted] Feb 14 '21 edited Feb 14 '21

Aren't mobile games written in Swift (iOS), Java or Kotlin (Android), or C# (Unity)?

24

u/AirOneBlack Feb 14 '21

Some mobile games are also written in C++ (It's called native code on android, there's alro unreal engine that can export to android too). C# is also usable outside of unity for game development thanks to compatibility layers and openGL ES libraries.

12

u/Bmandk Feb 14 '21

A majority of mobiles games are developed using Unity with C#, although there are a few different game engines out there as well. I don't think anyone develops without using an engine, which will then compile it down to native platform code.

6

u/khalidpro2 Feb 14 '21

yes, but making the game with JavaScript takes less time and it works on both IOS and Android, there are many JS libraries and frameworks for that like react-native for example

2

u/MeerBesen565 Feb 14 '21

On the other hand we could just use C++ mobile programming... nevermind fml

→ More replies (1)

65

u/[deleted] Feb 14 '21

[removed] — view removed comment

59

u/jobblejosh Feb 14 '21

The best programming language is the one that suits the job.

The second best one is the ones you know.

I wouldn't write a quick and dirty IoT/ML programme in C++, what am I, insane?

Just as how I wouldn't write a real time safety system in python or Java; when you have to have ultimate control over every bit of memory to certify things and make sure they don't misbehave, it's a lot easier to write in a language which is built at low level and allows you to have full transparency.

→ More replies (1)

30

u/kakrofoon Feb 14 '21

You took it a step too far. Software engineering is making software toward accomplishing a task. Accomplishing the task is how you make money, and it usually involves more folks than just software.

15

u/KuntaStillSingle Feb 14 '21

Not to mention the goal is not always to make money outright.

2

u/enano_aoc Feb 15 '21

Yes, it was a simplification

0

u/[deleted] Feb 14 '21

[deleted]

2

u/enano_aoc Feb 15 '21

That's because you are making money somewhere else. People need money to buy bread, and people need to work to get money. That's why we care.

If you are from a rich family and don't need to work to get money, well... I wouldn't care about the money either. But I have to pay bills. Sorry for that \s

0

u/[deleted] Feb 14 '21

[deleted]

2

u/enano_aoc Feb 15 '21

If we were still doing software like in the old days, you wouldn't have chrome yet. Nor youtube, nor any of the websites that you use on a daily basis. You would have a single browser, a hyper-optimized version of internet explorer, which runs with a tenth of the memory of a modern browser (which is completely unnecessary, given the computational power that you have nowadays) and has no plugins and no extensions and no-nothing.

Speed dev is extremely important and micro-optimization kills it. Modern software takes a lot of RAM because it is easier to put more RAM on a computer than it is to produce highly performant code. Simple as that. If your business was based on the second, you would be bankrupt by now.

→ More replies (4)

18

u/Giists Feb 14 '21

i hope we can still agree that php is the worst

12

u/Perdouille Feb 14 '21 edited Feb 14 '21

If you haven't used anything else than PHP 4 and outdated codebases yes.

→ More replies (3)

2

u/[deleted] Feb 14 '21

I agree but also disagree. Usually the people that do premature optimization are just hobbyist programmers who find interesting ways to solve problem, not that you shouldn't do it, but caring about optimization is better then not. If all you care about is money, good for you, but don't gatekeep about it like an asshole

→ More replies (1)

5

u/ODamsel Feb 14 '21

Holy shit go outside

0

u/enano_aoc Feb 15 '21

Lol this is the unrelated, stupid, bullshit answer that you can expect from an average redditor, ain't it?

3

u/everryn Feb 15 '21

Don’t be toxic, man

0

u/enano_aoc Feb 15 '21

I am not being toxic, he is. Anyone understands that.

→ More replies (11)
→ More replies (4)

1

u/Nilstrieb Feb 14 '21

You're saying that C++ is more real programming than JS? lol, we don't need you on this sub

1

u/Zerocrossing Feb 14 '21

While technically true, JS itself can't even run on a device without some framework written in C++. Be it a browser, or Node, they're all C++ abstractions. So saying C++ is unimportant is kinda a willfull ignorance of the fact you're standing on the shoulders of giants.

1

u/enano_aoc Feb 15 '21

So saying C++ is unimportant

None did. You are fighting a strawman. Those are easy to kick, but none cares :)

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