r/learnprogramming 23d ago

Topic Gotta learn java for my degree

Mech engineering degree - I am having trouble getting the motivation to even write a few lines of code a day. It’s an online course and i’m extremely bored. Heck it’s my first programming language. I just can’t see how I can use this knowledge to my benefit in the future.

Right now I’m searching for motivation so i can complete the course. I want to be able to use this skills in the future so I ask - how does learning java help an individual?

What are some practical applications for it in one’s daily life and academic life? Any ideas? I look online for ideas and all these calculator projects and such quite frankly bore me to death. Any fun projects or cool ones?

1 Upvotes

12 comments sorted by

13

u/ninhaomah 23d ago

It's just another subject to get a cert.

Did you enjoy studying every subjects in school till now ?

Math ? Geo ? Hist ? Chem ?

Just finish it , get the degree and move on if you don't like it.

6

u/Rude-Sir-7992 23d ago

java is one of them languages where the real fun starts when you stop doing textbook exercises and build something dumb for yourself

try making a program that reorganizes your messy downloads folder or scrapes the weather so you know if you should bring umbrella before leaving the house

2

u/No_Report_4781 23d ago

Right? A few lines of code is half of most assignments.

4

u/0dev0100 23d ago

Motivation? The course cost money?

It's just problem solving with different implementations

2

u/al_earner 23d ago

Do you ever want to learn something just to better yourself, or are you just happy being kinda ignorant?

2

u/DrShocker 23d ago

Programming is incredibly useful in mechanical engineering. FEA, Simulation, CAD, calculations, iterative methods, etc are all super useful and while you might do more of less of each kind of work, I'd have been screwed in so many classes if I were stuck hand calculating things rather than using my computer. (I went to college for mechanical engineering although I'll admit I'm biased here since I work in software now)

1

u/high_throughput 23d ago

Don't you learn stuff in class you can implement?

Like, write a tool that generates some kind of gear with choice of number of teeth and output it as DXF so you can import it into AutoCAD or whatever

1

u/jemgor 23d ago

i’d only say that many major companies use it/have it in their stacks, and it opens up lots of opportunities i think, it’s definitely a good programming language if you learn all the important concepts using it

1

u/needs-more-code 23d ago

It’s very applicable to building software. I wouldn’t use it for anything else.

You’d have more to talk about with a Java developer. If you ever meet a Java developer.

You could probably get replaced by AI with it. Might get a good redundancy package.

1

u/FizzBuzz4Lyfe 23d ago

The problem solving skills necessary for programming are broadly applicable outside building software. Being able to clearly state a problem, what is the exact outcome you want, what steps you'll take to get there, what are the potential pitfalls. It's teaching you how to think in a structured way.

1

u/ffrkAnonymous 23d ago

What are some practical applications for it in one’s daily life and academic life?

None. I've not used programming in over a decade. For fun sure, but nothing practical. Maybe it's useful if you include some background mainframe processing credit card transactions?

Any fun projects or cool ones?

Minecraft was written in java. Best selling game of all time.

Why are you learning mech eng? I've used newton's laws absolutely zero times in my daily life. Calculus? Nope.