Win a copy of Functional Design and Architecture this week in the Functional 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

A thought and a grumble

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm finding that 90 percent of the problems I face as a java beginner are related to the programming environment.
For example, learning the quirks of the IDE (Eclipse in my case), which today locked me out of all my projects in project explorer, and I still don't know why.
Then there are the mysteries of classpaths etcetera when operating in the JDK command line version.
These environmental issues can take up a whole day when you're learning on your own.
It is normally impossible to explain these issues on a forum - you need to be there to see for yourself!
In comparison, the actual coding is the easy bit.
Just a thought and a grumble. Now back to work...

 
author
Posts: 23907
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ed Dablin wrote:I'm finding that 90 percent of the problems I face as a java beginner are related to the programming environment.
For example, learning the quirks of the IDE (Eclipse in my case), which today locked me out of all my projects in project explorer, and I still don't know why.
Then there are the mysteries of classpaths etcetera when operating in the JDK command line version.
These environmental issues can take up a whole day when you're learning on your own.
It is normally impossible to explain these issues on a forum - you need to be there to see for yourself!
In comparison, the actual coding is the easy bit.
Just a thought and a grumble. Now back to work...



Isn't that true for everything? The real world is messy.

Henry
 
Sheriff
Posts: 26764
82
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ah yes, I remember it well...

Now that I have the classpath stuff down pat, there are other timewasters. The other day I spent several hours fixing my Websphere configuration: I had hard-coded an entry in a data source to make it work with a database on the test machine, then a month later I switched it over to connect with the database on a new test machine and it didn't work. It took me most of the day to find that hard-coded entry (which of course I had forgotten about) and remove it.

So yeah, the actual coding is the easy bit, like you said. Configuring the environment to run that code in can definitely be a PITA.
 
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Paul Clapham wrote: It took me most of the day to find that hard-coded entry (which of course I had forgotten about) and remove it.


Problems appear a lot simpler in the rear view mirror (than they do real-time), hehehe.
 
lowercase baba
Posts: 13002
66
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ed Dablin wrote:I'm finding that 90 percent of the problems I face as a java beginner are related to the programming environment.
For example, learning the quirks of the IDE (Eclipse in my case)...


Which is why most folk around here recommend beginners DON'T USE an IDE.
 
Ed Dablin
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

fred rosenberger wrote:

Ed Dablin wrote:I'm finding that 90 percent of the problems I face as a java beginner are related to the programming environment.
For example, learning the quirks of the IDE (Eclipse in my case)...


Which is why most folk around here recommend beginners DON'T USE an IDE.



Fred, I think you are right. I think it is easier to learn using javac.exe and java.exe with, say, Notepass++ or Textwrangler, in the Command/Terminal window environment. Others may think otherwise....
 
Paul Witten
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ed Dablin wrote:Fred, I think you are right. I think it is easier to learn using javac.exe and java.exe with, say, Notepass++ or Textwrangler, in the Command/Terminal window environment. Others may think otherwise....


Wait until you want to create a multi-package project (classes/jars found in separate paths) without an IDE. It's one of those things you have to savor at the moment. :-D You'll be begging for an IDE after that. Har. But it's a great learning experience to create a project like that. You will get a much greater understanding of what goes on.

But for refactoring and debugging, well, no comparison to the IDE. There is a reason why the IDE is considered a productivity tool. Maybe it's not a great learning tool, but it's a great productivity tool on the job. If somebody tells you to refactor a package you are far less likely to break the build. That means your palms don't sweat quite as much when you submit the new source files. Yes, sleeping well at night does count.
 
Marshal
Posts: 73951
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Paul W, you are right. An IDE is probably essential once you start writing large projects. By which time, you will be familiar with syntax and paths and command‑line options and can really benefit from the IDE.
Ed Dablin, by Notepass++ do you mean NotePad++? An excellent editor. Set up syntax colouring, bracket highlighting, automatic indentation (1 tab converted to 4 spaces automatically), and it will make things a lot easier for you. I am not familiar with TextWrangler.
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since we started using Maven, the only reason to use IDE is debugging and code completion. You can pretty much maintain a multi module project using text editors if you have configured it with maven. Actually, my boss and his boss have never used IDE. We used to be all ANT around here, and since we moved to maven the text editor users are very happy since Maven allows them to limit the number of unit tests they have to run.

Actually, I kind of see their point. Usually it's after for me to run an unit test on the command line through maven than to run it in eclipse. Plus it forces me to add extra logging which is helpful in the long run when problems crop up in production. I am still attached to myIDE though, mainly because of code complete. I wishe there were a lighter IDE that only did code completion and delegated everything else to maven.
 
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You can do that with ANT as well, but if you're looking to integrate Maven with an IDE, you can do that with Eclipse and the Sonatype m2eclipse plugin.
 
Campbell Ritchie
Marshal
Posts: 73951
332
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you are a real beginner, forget about ANT, Maven, Eclipse, NetBeans, InltelliJ, etc etc. Stick to the command line/terminal and use a decent text editor, as previously mentioned.
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic