r/learnjava • • Jun 30 '21

Need to Learn Java (advanced)

So in an upcoming project I , require to use the java spring Framework , ATM I'm good with C++ , Python , JS and C# . I've got experience developing web APIs and much more.

• https://github.com/aliimran2000

I've just taken a course on Parrallel computing and we did a module on Hadoop , I got the concepts but I was struggling with Java . WHAT I NEED:

  • a quick but advanced Java refresher

  • advanced and modern coding patterns

  • learn the underlying concepts of java so that I can write effecient code

  • libraries and build tools

  • a complete spring boot tutorial

how long would it take to learn all this and pls drop some good resources in the comments :)

44 Upvotes

31 comments sorted by

View all comments

Show parent comments

0

u/[deleted] Jul 01 '21

You think I don't know about BigInteger and BigDecimal in Java, the language I learned first? That's insulting.

What YOU might not know, is that those classes still have an upper limit. Also even though my program only runs in O(1) it takes forever in Java. Writing my own solution in C++ with my own BigDecimal makes it compute in under a minute.

1

u/an_actual_human Jul 01 '21

I'll answer for the record. After "Java's used in frontend" I don't believe you've learned it at all. To be fair, Java on frontend is a thing, but it's almost negligible compared to Java on backend. All of Project Euler problems can be done in any mainstream language. Also, I don't really remember any that would require anything that wouldn't fit into BigInteger. Still, one could roll their own just like in C++. The way you use C and C++ interchangeably makes me suspect you don't know either. But I'm not going to investigate this issue.

1

u/[deleted] Jul 01 '21

Using C and C++ interchangeably is just me implying that they can be used with each other. I use C, C++, and Java. I'm not bad at them, but I'm honestly not great either. I also like using C and not C++ to do something purely for the challenge.

I mean I guess I'll try again to solve them using Java and making it fast. You can't really find good Java solutions to them, all of them are in cpp or python. Again, I'd like to say that I've made solutions in Java that execute in under a minute, but I haven't. Maybe I don't understand, but the structures and operations I made in Java is the same as they were when I did it in C++. C++ ran fast, Java didn't. I don't understand.

1

u/an_actual_human Jul 01 '21

I'm sorry if I were rude.