16Skittles wrote:
Harakou wrote:
16Skittles wrote:
This. The thing I was honestly most intimidated by was brackets. I never watched a tutorial and I was like "wow I've never used those, those look scary" until I watched Java tutorials and realized it was just like how when you open a <html> tag you must close it with a </html> tag.The funny thing is that those always confused me too. In fact, here's an old post by me expressing my frustration at them.
(I'm now reading through that thread. Oh the memories...)Lol, don't you just love looking back at the times when (as Wickimen put it) you were a young noob?
It's very enjoyable yes. It makes me miss some of the regulars that have since left or otherwise stopped being active.
(Ack! Off-topic! Abort, abort!)
Offline
Hello,
I just now started to program java with net beans i thin ill keep tabs on this project for guiding me in this persuit ill refer here whenever i need help.(soo...a lot)
EDIT: im learning off of the java tutorials here
Last edited by slayerrobe7 (2012-03-12 21:27:47)
Offline
Eclipse or NB?
Offline
net beans i would get eclipse but i fear using two would be very confusing and i like netbeans
Offline
can someone link me to a better tutorial website or give me the name of a good book
Offline
I recommend TheNewBoston on YouTube.
Offline
slayerrobe7 wrote:
net beans i would get eclipse but i fear using two would be very confusing and i like netbeans
I've heard eclipse is better though
Offline
maby ill get eclipse and cheak it out since im not to far in and the language should be the same
Offline
nevermind after looking at the screen shots i dont evan like the layout of it
Offline
jji7skyline wrote:
slayerrobe7 wrote:
net beans i would get eclipse but i fear using two would be very confusing and i like netbeans
I've heard eclipse is better though
At least on a basic level, Eclipse and NetBeans aren't that different, really. Their layouts are very similar.
Offline
bump
Offline
Harakou wrote:
turkey3 wrote:
Why can't other languages be made simple like scratch? Scratch is colorful and simply laid out nicely wih easy to learn scripts. I've looked at other languages an Im like, where's the scripts? It's all complex, so fr now I'm sticking wih scratch
Other languages are more complex because while Scratch is simple to get into and very useful for your first foray into programming, it's hardly suitable for more powerful coding.
A big reason for this is that other languages have far more extensive libraries than Scratch, and having to have a block for every single one would make using it effectively impossible. This, for example, is the Java 6 SE API. That's a huge library.
There are other issues too. Consider that programs can easily consist of thousands of lines of code and you can see just how difficult it would be to work with that in block form.
Let's not forget, also, that blocks are just an abstraction on top of text. Ultimately, every language does simplify things for the sake of usability, (believe it or not, languages like Java and C++ are made to make things easier for programmers) but these changes are intended to make coding more efficient by providing powerful ways of writing instructions - otherwise we would still be flipping switches to define memory addresses to access, and I don't think anyone wants that.
I understand that I'm sort of focusing on the block aspect here and not totally addressing your entire question, but the point is that simplicity and accessibility are good to start off with, but they're like training wheels on a bike: eventually you need to take them off because they become limiting rather than helpful.
And yes, other languages can be intimidating, but anything that you don't understand can be. You're not going to know everything at once, so it's important to slowly learn the basics and add onto that knowledge as you go. Once you start learning how to use it, it stops seeming so convoluted. Trust me, I remember being baffled by languages as simple as BASIC; I just didn't know where to start. You just need to take the time to learn it.
Very well said.
Offline
hmm im on internet bandwith so i need text tutorials any ideas
also I learn better from reading
Offline
slayerrobe7 wrote:
hmm im on internet bandwith so i need text tutorials any ideas
also I learn better from reading
I suggest Java in 24 Hours by Rogers Cadenhead. It's well written and takes it slowly instead of trying to teach you functions in the first chapter.
Offline
poopo wrote:
slayerrobe7 wrote:
hmm im on internet bandwith so i need text tutorials any ideas
also I learn better from readingI suggest Java in 24 Hours by Rogers Cadenhead. It's well written and takes it slowly instead of trying to teach you functions in the first chapter.
I love that book.
I just took it back to the library and was so sad. xD
Offline
ProgrammingFreak wrote:
poopo wrote:
slayerrobe7 wrote:
hmm im on internet bandwith so i need text tutorials any ideas
also I learn better from readingI suggest Java in 24 Hours by Rogers Cadenhead. It's well written and takes it slowly instead of trying to teach you functions in the first chapter.
I love that book.
I just took it back to the library and was so sad. xD
I'm lucky enough to own it. A lot of the programming book writers try and fail to be funny but he actually succeds.
Offline
poopo wrote:
ProgrammingFreak wrote:
poopo wrote:
I suggest Java in 24 Hours by Rogers Cadenhead. It's well written and takes it slowly instead of trying to teach you functions in the first chapter.I love that book.
I just took it back to the library and was so sad. xDI'm lucky enough to own it. A lot of the programming book writers try and fail to be funny but he actually succeds.
Agreed. Most times its reallllyyy lame. :I
Offline
ProgrammingFreak wrote:
poopo wrote:
ProgrammingFreak wrote:
I love that book.
I just took it back to the library and was so sad. xDI'm lucky enough to own it. A lot of the programming book writers try and fail to be funny but he actually succeds.
Agreed. Most times its reallllyyy lame. :I
More like rrrrrrrrrrrrrrrrrrreeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaaallllllllllllllllllllllllllllllllllyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy lame.
Offline
TRocket decided that he and hopefully more people would try and rebuild scratch in Java so far our group includes:
Myself
TRocket
Offline
Anyway, so I'm trying to order three numbers, and I have the maximum and minimum down. But I can't seem to figure out how to transmit the remaining number to the variable "middle". I know this is a noob question, and that the middle number can automatically be deduced but Scratch always solves my problems so I come here xD
The code:
import java.util.*; public class Ordering { //Scans for user inputs of a, b, and c public static void main(String[] args) { System.out.println("Please enter a:"); Scanner avalue = new Scanner (System.in); int a = avalue.nextInt(); System.out.println("Please enter b:"); Scanner bvalue = new Scanner (System.in); int b = bvalue.nextInt(); System.out.println("Please enter c:"); Scanner cvalue = new Scanner (System.in); int c = cvalue.nextInt(); int max = a; int min = c; int middle = b; //Determine the maximum if (max < b){ max = b; } else { if (max < c){ max = c; } } //Determine the minimum if (min > b){ min = b; } else { if (min < a){ min = a; } } //This is where I'm supposed to determine the middle value, but I'm not sure how. System.out.println(min+", "+b+", "+max); } }
Offline
I don't really know Java, but couldn't you put all three numbers into an array, then sort that?
Offline
Yes, you could, but I'd like to continue using the hassle "if, else" method.
Offline