Hey I learn to programing right now and I want to asked if you have some tips for me? (programing language Java)
>>59783113
>java
don't use that shit
C + Go + JavaScript is literally all you need. Do mostly everything in Go, and use C for high performance part. Javascript will be useful for integrating your program with web.
>>59783113
First rule, ignore everyone who don't try to encourage to keep learning what you are learning. Like >>59783169
Java is fine if there is a reason you like it, or you want to do some android apps and cross platform.. that being said Java syntax hurts my feelers.
Find some project you want to accomplish, AND STICK TO IT UNTIL IS FINISHED.
>>59783444
Books> courses > youtube how to > google the solution and copy paste.
>>59783444
>>59783464
These people are right
Google is your best friend when learning, there are so many free resources / video series online it's great.
My only advice is for the love of god don't take advice from /g/, most anons will just try to troll you or give you bs advice since everyone has different opinions here.
Good luck!
>>59783113
Java is perfectly fine. Its fast, portable and has lots of libraries to accelerate development.
Dont listen to Go, Rust and C fags. They're trying to fool you into their meme language. Java in combination with C++ for extremely high performance modules destroy everything else in terms of functionality, versatility and speed.
>>59783512
C is not a meme language.
>>59783525
If you use it for anything other than MCUs then it is.
Don't listen to the Debbie downers, learn java its a good language. Also you'll learn oop, and ur basically set to learn any other language.
>>59783444
Why the FUCK is there no preprocessor for Java!?
>>59783113
>learn programing language
same mate :3 what tut?
me: https://docs.oracle.com/javase/tutorial/getStarted/application/index.html
>>59783525
this. embedded systems use C.
(but when were talking about PC...)
>>59783113
Use the Jetbrains Idea IDE. Eclipse is out of date. Vim is not good for people just starting out.
When the compiler gives you a ton of error messages, fix the *first* error, then compile again. Errors tend to cascade and fixing the first fixes the rest.
Don't worry about design patterns or fancy frameworks until you have a mastery of the basics.
Don't burn yourself out. You cant learn everything in one week. If you're feeling overwhelmed, go to bed and come back to it tomorrow.
>>59783444
>Java is fine
It's fine if you don't care about performance, don't mind mile long class hierarchies and logic nested so deep the indentation is thicker than you're neck, and only want to maintain legacy spaghetti code for a shitty company that you will never have the chance to move up in.
>>59784654
Still, Java is more performant than Python, C#, JavaScript.
>>59783512
>Java
>Its fast
>>59784798
>Still, Java is more performant than Python,
Only sometimes.
>C#,
No.
>JavaScript.
No.
Time at code competition sites has dispelled any myths I formerly believed about Java. Java is fucking slow. Python is a wild card because sometimes it's slow as fuck, but sometimes it's not too bad. If I were to rank the languages based on what I've seen over the past 6 months, fastest to slowest...
C
C++
C#/VB.NET*
Python using PyPy**
JavaScript
Java
Python**
Shit like Scala, Haskell
* inb4 "hurr durr VB." VB.NET compiles to the same intermediate code linked against the same framework as C#.
** Python is a real wild card. I've seen a couple instances where only C was faster. But those are my rankings based on the average case.
>>59785501
To give an idea of scale with C as the baseline, I've seen the exact same algorithm take...
8x longer in C#
16x longer in JavaScript
86x longer in Java
Java is slowpoke.