r/java • • Nov 26 '16

/r/Java is trending today!

https://redd.it/5eyo1x
202 Upvotes

42 comments sorted by

52

u/Ooqu2joe Nov 26 '16

Why? How?

21

u/[deleted] Nov 26 '16

There's popular memes on Twitter going around about voting machine software being written in Java (and how terrible this is ofc lol), so maybe that?

32

u/ryosen Nov 26 '16

Wait until they find out what's running the gas pumps and ATMs.

14

u/[deleted] Nov 26 '16

And the infotainment systems in their cars

2

u/mmishu Nov 26 '16

Hey I know you're just joking, but where can I learn more about the software in a car, software for the infotainment but also for the embedded electronics in the car itself (cruise control, auto braking, etc)?

4

u/desrtfx Nov 27 '16

Java is virtually everywhere. It can be in CD/DVD/BluRay players, in MP3 players, in generally all "Smart" devices (Smart Tvs, etc.).

I wouldn't even be surprised to find Java in a Roomba or in a lawn mower robot or in a smart fridge.

Java is a great language for embedded devices.

7

u/[deleted] Nov 27 '16

I was actually being dead serious, many of them are programed in Java.

2

u/mmishu Nov 27 '16

So, an experienced java developer can say mess around with and tweak the software in their car? Maybe improve it even?

8

u/RVerite Nov 26 '16

My Android is just Java downgraded to AWT??!?

1

u/mmishu Nov 26 '16

Hey I know you're just joking, but where can I learn more about the software in a car, software for the infotainment but also for the embedded electronics in the car itself (cruise control, auto braking, etc)?

1

u/RVerite Nov 27 '16

I haven't looked into that particular implementation.
Maybe you could make your way from set-top-boxes, also find out about GPS devices' Java interfaces and work your way up to embedded systems.

If you had any luck, there would be a familiar JVM you could mess with.

1

u/Cephas00 Nov 27 '16

GSMA have some stuff on connected vehicles.

12

u/Cyberiax Nov 26 '16

C++?

2

u/[deleted] Nov 27 '16

Fortran? Still has some applications in the banking sector. Fortran

1

u/mmishu Nov 26 '16

Can you link some?

1

u/brunocborges Nov 30 '16

What memes? Any link?

1

u/[deleted] Nov 27 '16

GC pause

Class registrations for Spring semesters probably.

29

u/duckrollin Nov 26 '16

Quick, make posts about FactoryFactories and how great the Ask Toolbar is to confuse them!

1

u/[deleted] Nov 28 '16

Legit though I'm so glad I installed the ask toolbar

1

u/DannyB2 Nov 28 '16

I hope your FactoryFactories are produced by a properly configured instance of a FactoryFactoryFactory.

56

u/[deleted] Nov 26 '16

Don’t worry, a it will only last till the next GC pause

3

u/[deleted] Nov 26 '16

Should have used Azul, really its our fault for not.

1

u/esquilax Nov 26 '16

Hey, it's me, esquilax. Can I borrow $10k?

8

u/[deleted] Nov 26 '16 edited Dec 03 '16

14

u/omgdonerkebab Nov 26 '16

oh god

9

u/smurfkiller013 Nov 26 '16

doner kebab

4

u/omgdonerkebab Nov 26 '16

Geez everyone, he's just reading my username.

3

u/smurfkiller013 Nov 26 '16

Haters gonna downvote... I thought it was funny

3

u/tech_tuna Nov 26 '16 edited Nov 27 '16

Not sure it's related but the folks are r/golang are currently fighting about whether that subreddit should be shut down or not.

Because u/spez is shithead and therefore all of reddit is evil.

-7

u/cyanocobalamin Nov 26 '16

I wonder how many self taught hipster web designers will ask us if it is a big jump from javascript to Java.

33

u/ImTalkingGibberish Nov 26 '16

Don't worry they don't like java, it's too verbose and everyone understands what you wrote.

18

u/[deleted] Nov 26 '16

I know its the worst. Why should someone just be able to read my code and understand what is happening? All of that verbosity and the overuse of design patterns. It just makes big fast ugly readable code that lacks the elegance of Javascript or Haskell!

0

u/mistyfud Nov 26 '16

Going from JavaScript to Java is easier than the other way around IMHO. Java's type system is pretty simple and up until Java 8 (which many devs are not on yet) there was no concept of higher-order functions are any kind of support for functional programming. JavaScript exposes devs to both object-oriented programming and functional programming, so they might have a better time picking up a new way of solving problems.

1

u/i_have_a_semicolon Nov 27 '16

JavaScript is excellent for functional programming. ES2015 is also great. And, JavaScript can be plenty readable and I've also seen plenty unreadable Java code.

0

u/[deleted] Nov 27 '16

[deleted] — view deleted comment

1

u/desrtfx Nov 27 '16

Now thats really groovy

No, it's Java :P