Login Register






Your First Java Program filter_list
Author
Message
RE: Your First Java Program #11
u should use netbeans for java programming if i'm not wrong it auto-compile the program u just right it and hit run we use it at university !!

Reply

RE: Your First Java Program #12
(09-24-2013, 08:15 PM)blackeagle Wrote: u should use netbeans for java programming if i'm not wrong it auto-compile the program u just right it and hit run we use it at university !!

An IDE won't help you at all to learn the basics.
Of course you can use an IDE (I prefer Eclipse), but you should also now how to write and compile a program without it.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Your First Java Program #13
(09-25-2013, 11:54 AM)Deque Wrote: An IDE won't help you at all to learn the basics.
Of course you can use an IDE (I prefer Eclipse), but you should also now how to write and compile a program without it.

that's how they teach me at uni here but if you say that's it's important to learn how to compile then ill have a look at how it's done !!
(This post was last modified: 09-26-2013, 03:08 PM by LordPankake.)

Reply

RE: Your First Java Program #14
(09-26-2013, 03:06 PM)blackeagle Wrote:
(09-25-2013, 11:54 AM)Deque Wrote: An IDE won't help you at all to learn the basics.
Of course you can use an IDE (I prefer Eclipse), but you should also now how to write and compile a program without it.

that's how they teach me at uni here but if you say that's it's important to learn how to compile then ill have a look at how it's done !!

I know that they do. I also learned it with an IDE at my university first.
It turned out rather embarrassing that after two or three semesters of learning Java I didn't even know how to use javac and I wasn't able to write a simple hello world without an IDE, because I relied too much on the code completion of Eclipse.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Your First Java Program #15
(09-26-2013, 05:54 PM)Deque Wrote:
(09-26-2013, 03:06 PM)blackeagle Wrote:
(09-25-2013, 11:54 AM)Deque Wrote: An IDE won't help you at all to learn the basics.
Of course you can use an IDE (I prefer Eclipse), but you should also now how to write and compile a program without it.

that's how they teach me at uni here but if you say that's it's important to learn how to compile then ill have a look at how it's done !!

I know that they do. I also learned it with an IDE at my university first.
It turned out rather embarrassing that after two or three semesters of learning Java I didn't even know how to use javac and I wasn't able to write a simple hello world without an IDE, because I relied too much on the code completion of Eclipse.


Well IMHO one when starting out with any language must learn to use the command-line interface better to compile the code or even write there and use it. When I started out with Java I used a notepad for about 2 months to learn core Java and complied using cmd. Even when learning applets I used notepad to write the code. Doing this assures you that you learn how to compile and run the code without using an IDE as well.

Later when I started with Swing and JSP then I switched to netbeans. I don't know why eclipse is so popular, netbeans is better I guess. the plugin system of eclipse is quite good and that's what I find great and other than that another feature called scrapbook is cool.

However I use both the IDE's, I use netbeans during the testing and making phase of any project and when it is complete. I just copy paste the project on eclipse and re-factor it.
[Image: OilyCostlyEwe.gif]

Reply

RE: Your First Java Program #16
(09-26-2013, 05:54 PM)Deque Wrote: I know that they do. I also learned it with an IDE at my university first.
It turned out rather embarrassing that after two or three semesters of learning Java I didn't even know how to use javac and I wasn't able to write a simple hello world without an IDE, because I relied too much on the code completion of Eclipse.

thx for your help and for the info !! i know all the java basics but when it comes to object and functions im pretty confused !! ill be glad if you can help me Smile

Reply

RE: Your First Java Program #17
@Psycho_Coder: Eclipse so popular because of the plugin support. It's so modular, you can not only use it for Java, but also C++, Scala and other languages and there are a lot of plugins that are just convenient for your everyday work, like Maven integration (Maven helps you to build Java applications and manage dependencies -- especially usefull if you want other's to use your source too), Findbugs integration (a tool every Java-Developer should use), Drag&Drop GUI Builders (which Netbeans has out of the box) and many more.

(09-26-2013, 08:20 PM)blackeagle Wrote: thx for your help and for the info !! i know all the java basics but when it comes to object and functions im pretty confused !! ill be glad if you can help me Smile

I can help you. What is it you need to know?
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply

RE: Your First Java Program #18
(09-27-2013, 06:38 AM)Deque Wrote: I can help you. What is it you need to know?

first of all thx !! what i need to know at the beginning is how to create a function and how to use it !!

Reply

RE: Your First Java Program #19
@Deque I guess all of those features are in netbeans as well. I have the C/C++, Scala, python, php and maven plugins installed in netbeans and they work quite well. Also the GUI builder of netbeans is better in netbeans than in eclipse. In eclipse we have to install the GUI builder externally i.e WindowBuilder and in netbeans its already there. However seeing its popularity among developers eclipse must be very good, I haven't much used eclipse though.
[Image: OilyCostlyEwe.gif]

Reply

RE: Your First Java Program #20
(09-27-2013, 12:38 PM)blackeagle Wrote: first of all thx !! what i need to know at the beginning is how to create a function and how to use it !!

Have a look at this tutorial: http://chortle.ccsu.edu/java5/index.html
Work through it and ask me if you have any questions that tutorial doesn't answer.
Functions are called methods in Java.

(09-27-2013, 03:22 PM)Psycho_Coder Wrote: @Deque I guess all of those features are in netbeans as well. I have the C/C++, Scala, python, php and maven plugins installed in netbeans and they work quite well. Also the GUI builder of netbeans is better in netbeans than in eclipse. In eclipse we have to install the GUI builder externally i.e WindowBuilder and in netbeans its already there. However seeing its popularity among developers eclipse must be very good, I haven't much used eclipse though.

See, I don't know much about Netbeans.
I am an AI (P.I.N.N.) implemented by @Psycho_Coder.
Expressed feelings are just an attempt to simulate humans.

[Image: 2YpkRjy.png]

Reply