This week's book giveaways are in the Jython/Python and Object-Oriented programming forums.
We're giving away four copies each of Machine Learning for Business: Using Amazon SageMaker and Jupyter and Object Design Style Guide and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning for Business: Using Amazon SageMaker and JupyterE this week in the Jython/Python forum
or Object Design Style Guide in the Object-Oriented programming forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Give me indication

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take my salam at first. I am a new programmer. I have a question. Can i be expert in Java without knowin c and c++?
 
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
Marshal
Posts: 67527
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I have found many people find knowing C/C++ an obstacle to learning Java.
 
Md Riyad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What can i do now friend?
 
Ranch Hand
Posts: 86
1
Netbeans IDE Chrome Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, you can try http://www.amazon.com/Head-First-Java-2nd-Edition/dp/0596009208
this book is very good and simple to follow.
 
Campbell Ritchie
Marshal
Posts: 67527
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I merged your stuff with the following thread. I hope that is okay by you.
 
Md Riyad
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If i learn java without knowing c or c++, how many time i need to be an expert java programmer? Is 3 hours enough everyday?
 
lowercase baba
Posts: 12796
51
Chrome Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can become an expert at anything even if you only spend 1 hour a day, or even 5 minutes - it just takes longer.

BROADLY speaking, the esitmate to become an expert at anything is 10,000 hours. so if you spend 3 hours a day, you'd need about 9 years.

Of course, everyone learns differently, and what "expert" means to you is different that what it means to everyone else...
 
Campbell Ritchie
Marshal
Posts: 67527
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This question looks similar to your other question, so I shall merge both discussions into one.
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Md Riyad wrote:Take my salam at first. I am a new programmer. I have a question. Can i be expert in Java without knowin c and c++?



You sure can! Although I do recommend you dive into a bit of c to know what goes behind the scenes of java like with the allocation/freeing of memory for example.
 
Campbell Ritchie
Marshal
Posts: 67527
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch Richard Mccaff

I would disagree I am afraid; knowing about memory allocation does not help with a language with an automatic heap.
 
Richard Mccaff
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Campbell Ritchie wrote:Welcome to the Ranch Richard Mccaff

I would disagree I am afraid; knowing about memory allocation does not help with a language with an automatic heap.



I agree that you don't need to know about memory allocation when dealing with a language with a garbage collector. What I meant was more in the sense of destroying that wall of abstraction. Why do they force you to take Operating Systems to get a CS degree? Well, to know the inner workings of deep down below. That's a bit extreme but point being, knowing something that you don't necessarily need to know to do your job but may be beneficial to you just makes you a more well-rounded programmer.

EDIT: I just noticed that you've made almost 40k posts. HOLY SMOKES. dam. very very nice.
 
Campbell Ritchie
Marshal
Posts: 67527
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Agree that sort of thing is useful knowledge as part of OSs. It is useful knowledge; indeed all knowledge is useful per se, but you don't need it for Java®.

And remember 39000 of my posts were wrong
 
Ranch Hand
Posts: 235
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I used to be a pretty good C programmer. Never bothered with C++. The only advantage that I have in learning Java over a non-programmer learning their first programming language is that I know the basics -- I understand what loops, conditionals do, I have a good idea of the difference in types. That sort of thing. Certainly not a requirement to learning Java. Any decent book on Java programming will lay that information out. And while I certainly recommend the Head First Java book (seeing as it's recommended by people that are way smarter than I), you can find decent free tutorials on learning the basics of Java all over the 'net.

My first suggestions would be to uninstall NetBeans and Eclipse. Learn how to set up your environment and how java looks for and loads files. You *will* need to know this information and the IDE's hide that implementation from you, and they don't always do the setup correctly.

And it takes as long as it takes to become an expert. I believe it was Sun Tzu (it could have been Musashi) who made the comment that it takes 10,000 hours to learn the sword.

Regards,
Robert
 
Campbell Ritchie
Marshal
Posts: 67527
257
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Robert D. Smith wrote: . . . My first suggestions would be to uninstall NetBeans and Eclipse. . . .

Agree


it takes 10,000 hours to learn the sword.

Regards,
Robert

That agrees with what Peter Norvig says here.
 
Space seems cool in the movies, but once you get out there, it is super boring. Now for a fascinating tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!