• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

no more java!

Gibson486

Lifer
I came out of C++ thinking i was the sh*t because I got an A on my final and finished it in 30 minutes. Fast Foward to now! I am taking Java and I am now regretting taking CE!. Look at my Homework!. I though it would start out as an intro to java class then progress slowly to more complex stuff, but now I am finding myself wirting a program that needs atleast 1000 lines of code. I miss intro to c++🙁 I guess this is the Java way of doing things (and teaching things).

<-----gonna be up for the next 3 days with no sleep.

On a side note, my prof is so geeky that he is always making refrences to the acronym "Fubar".
 
Originally posted by: Gibson486
I came out of C++ thinking i was the sh*t because I got an A on my final and finished it in 30 minutes. Fast Foward to now! I am taking Java and I am now regretting taking CE!. Look at my Homework!. I though it would start out as an intro to java class then progress slowly to more complex stuff, but now I am finding myself wirting a program that needs atleast 1000 lines of code. I miss intro to c++🙁 I guess this is the Java way of doing things (and teaching things).

<-----gonna be up for the next 3 days with no sleep.

On a side note, my prof is so geeky that he is always making refrences to the acronym "Fubar".

That actually looks pretty easy but time consuming (and fun!) C++ sucks majorly compared to Java. Coding is just so much easier in Java for me.
 
What were you smoking when you thought up the idea that a class entitled "Algorithms and Data Structures for Engineers" would be an Intro to Java Programming?
 
I program in C and motorola assembly. True EE. None of this BS high level crap that never actually plays out 🙂
Me > you

j/k

Java scares me. But I'll never have to take a java course, so I'm happy.
 
Originally posted by: notfred
What were you smoking when you thought up the idea that a class entitled "Algorithms and Data Structures for Engineers" would be an Intro to Java Programming?

Was thinking the same thing. 🙂
 
java has tons and tons of good, useful functions, but the whole virtual machine thing just makes it run so slow...

i guess it just depends on what you're using java for, tho it is getting better.
 
If something takes significantly more lines of code in Java than C++, you probably were writing C code.

Although this "restricted Java" makes me wonder why you're even bothering to use Java at all, since you're all but ignoring the encapsulation and polymorphic constructs of the language.
 
What were you smoking when you thought up the idea that a class entitled "Algorithms and Data Structures for Engineers" would be an Intro to Java Programming?

Nah, it is required to take, but i thought they would atleast run through all the differences in syntax from c++, which they didn't. I dont think it is that hard, but i am really struggling to figure out the syntax for java. I never really went over classes in C++ (does c++ have them?), but the prof. just assumed that we all knew it and as you guessed, we did not.

Although this "restricted Java" makes me wonder why you're even bothering to use Java at all, since you're all but ignoring the encapsulation and polymorphic constructs of the language.

we start that during the 2nd half of the semester.

this sucks, i odnt even have a working java compilier yet. I borrowed code warrioe off of my freind, but it just keeps crashing. I tried Eclipse, but I have no idea how to compile on it.
 
Originally posted by: notfred
What were you smoking when you thought up the idea that a class entitled "Algorithms and Data Structures for Engineers" would be an Intro to Java Programming?
Exactly -- the fact that it uses java has very little to do with the difficulty of this class.

Sounds like you need to take "an introduction to reading course descriptions" next 😉

never really went over classes in C++ (does c++ have them?)
Yikes, that must be a pretty weak intro class if they didn't even teach you C++ classes, which are the main thing that makes it C++ instead of just C.

 
HW doesn't look too bad. It might take some time but algorithm seems to be straight forward. Most java classes that expect you to know C/c++ will not go thru intro to java part of the book.

get the quick reference book for java and you should be OK! 🙂...good luck.


If you don't know what classes are I suggest you learn them QUICK.

Don't be scared of syntax differences just buy a reference book and you will be OK. No school is ever going to teach you syntax they will teach you programming concepts and theories but not syntax. You are supposed to figure out syntax on your own as you go along your class Homework.
 
Originally posted by: Gibson486
What were you smoking when you thought up the idea that a class entitled "Algorithms and Data Structures for Engineers" would be an Intro to Java Programming?

Nah, it is required to take, but i thought they would atleast run through all the differences in syntax from c++, which they didn't. I dont think it is that hard, but i am really struggling to figure out the syntax for java. I never really went over classes in C++ (does c++ have them?), but the prof. just assumed that we all knew it and as you guessed, we did not.

Although this "restricted Java" makes me wonder why you're even bothering to use Java at all, since you're all but ignoring the encapsulation and polymorphic constructs of the language.

we start that during the 2nd half of the semester.

this sucks, i odnt even have a working java compilier yet. I borrowed code warrioe off of my freind, but it just keeps crashing. I tried Eclipse, but I have no idea how to compile on it.
In eclipse, pressing the save button compiles.

 
Don't be scared of syntax differences just buy a reference book and you will be OK. No school is ever going to teach you syntax they will teach you programming concepts and theories but not syntax. You are supposed to figure out syntax on your own as you go along your class Homework.

I guess my prof is doing good, cause i ctually understand teh concepts. I just do not know how to use them in the code.
 
Originally posted by: Gibson486
this sucks, i odnt even have a working java compilier yet. I borrowed code warrioe off of my freind, but it just keeps crashing. I tried Eclipse, but I have no idea how to compile on it.


1.)go download the java 1.4.x SDK from java.sun.com.
2.)install it.
3.)open a command prompt.
4.)type 'javac Blah.java' (no quotes) to compile 'Blah.java'
5.)type 'java Blah' (no quotes) to run 'Blah.class' after you compiled it from 'Blah.java'.
6.)rinse, repeat.


Oh, and, that homework is friggin easy. multiplying matrices? hard? please.

ebaycj
 
Originally posted by: Gibson486
Don't be scared of syntax differences just buy a reference book and you will be OK. No school is ever going to teach you syntax they will teach you programming concepts and theories but not syntax. You are supposed to figure out syntax on your own as you go along your class Homework.

I guess my prof is doing good, cause i ctually understand teh concepts. I just do not know how to use them in the code.


If you don't understand what concepts you wanna use to do your homework then you have more pressing problems that need to fixed before you start looking at java.

Generally you can't sit in front of a computer and start typing your program. There is a lot of design work that needs to be done even before you open your notepad. If you make a solid design(psedocode) then you will know what concepts from your class you need to use.


All you need is Java SDK from sun website, paper, pencil and notepad.exe to do your homework.
 
I love Java compared to C++. The networking capabilities of Java are awesome. I just got done making a file sharing Java applet that actually works. Well... I got it to send text files, but the 74mb LOTR trailer froze up the applet. 😀
 
After a bit more thought (mmm, Wolfgang Puck Chicken Noodle soup) it sounds like your school got the prerequisites wrong for this course -- from what you say about your intro C++ not covering classes, they should have made you take at least one more general programming class before diving into algorithms.
 
Alot of major financial instutions here on wall street are implementing their trading systems in enterprise java. For enterprise development, the only other real option is .Net, which hasn't really picked up. C/C++ still has a strong presence here but all new systems are pretty much being done in java.

 
Originally posted by: Elemental007
I program in C and motorola assembly. True EE. None of this BS high level crap that never actually plays out 🙂
Me > you

j/k

Java scares me. But I'll never have to take a java course, so I'm happy.

Actually, programming in C and assembly would be considered more Computer Engineering than EE 😛
 
Originally posted by: Elemental007
I program in C and motorola assembly. True EE. None of this BS high level crap that never actually plays out 🙂

You've got a mighty curious view of the world where C isn't a high-level language.
 
Originally posted by: FeathersMcGraw
Originally posted by: Elemental007
I program in C and motorola assembly. True EE. None of this BS high level crap that never actually plays out 🙂

You've got a mighty curious view of the world where C isn't a high-level language.

I'd say that you do. C is is only high-level when you consider assembly, and any other language in use today are considerably higher than C.
 
Originally posted by: Descartes
Originally posted by: FeathersMcGraw
Originally posted by: Elemental007
I program in C and motorola assembly. True EE. None of this BS high level crap that never actually plays out 🙂

You've got a mighty curious view of the world where C isn't a high-level language.

I'd say that you do. C is is only high-level when you consider assembly, and any other language in use today are considerably higher than C.

That logic is like saying that dogs aren't mammals because apes and humans are.

High-level languages abstract the underlying architecture from the programmer. Java does it a lot more than C, but you can write C code without knowing anything about the CPU instruction set of the box you're running on.
 
That hw is fairly simple ... in fact I have a hw assignment due on Thursday that's basically about that hard (tic-tac-toe instead of chess) , except we're graded on how well we architect the system. And I can't believe the guy wont let you use 'full' java ... imho it's bad programming practice not to use public and private modifiers.
 
Back
Top