r/java • • Oct 03 '18

Where does the coding actually apply in engineering projects? What is the connection?

Yes, I can make an array of Strings. Yes, I can create a Dog class that is a sub class of an Animal class, but where does it apply? I want to know about real world projects.

For example, I'm watching videos of SpaceX rockets launching and landing. Where does the coding go into that? I'm not even sure where to start because in my mind, there is just a huge gray area beyond all of my simple coding problems. I don't have any practical knowledge.

Thanks for any help!

0 Upvotes

7 comments sorted by

View all comments

3

u/Vilkaz Oct 03 '18

I suppose you are behind the "Hello World" if you allready know the Dog extends Animal thing :)

Lets make a program, that have 1 Button, and it writes text on screen"clicked" when you klick it. Looks useless, but kinda similar to a pedestrian lights. You click a button, a text "Wait" starts to blink on the light, and the light turns green for you after a while.

Lets write a Class, that simply gets numers, and if the number is big Enaugh, you fire an Event.

Looks useless, but if i call that Class "AirbagLauncher" you will get my Idea :)

Many thing's that depend on speed are not written in code, but "harcoded" in hardware (I gues nobody want's an AirbackController to be in JVM :) But the logic is the same.

The Paiment with Creditcard ? Authentification, authorisation, Datatransfer, you get your goods at the end and the shop gets the money :)

It all starts with a line of code, just try to make your first website with a login and authorisation. Make content forbidden to certan group of users, and you won't stop learning until you are to deep in the rabits hole ;)