i was wondering what experience level people using this forum have
Printable View
i was wondering what experience level people using this forum have
I'm a CompSci student :)
humm.... I would say.. between 1 to 10... 10 being a guru... I am..... 3
1 to 10? Im about a 9.36527. Oh wait... no i guess im about a 4 on the Java scale. :p
Dilenger how can I return many value by one function :D If you can answer that you will be really 9.36527/10 :D
I find the lower the number you put the less people ask ya for help, which can be nice sometimes, espically at work.
I go to work with Java... I go home with Java... It's all coffee here. Though sometimes I have a hard time to answer the simplest questions...
Daok im really not sure. I know you cant do it explicitly. ie....
public int float myMethod(int i);
Ive never had the need to return more than one value from a method so im not sure.
return a class.
just like using a struct in c
lol, why would so many ppl view this thread and not take the 2 secs to answer the poll? fecking retards... i'm a comp-sci student myself... well, almost, i will be next september... assuming i pass calculus:rolleyes:
trivial question: i was wondering how practical is java in the real world anyway? i know i makes for a great experience in hardcore OOP idealogy, but is it used now really? will it ever be really used?
most "real" progs are still written in c++ due to native effiency (and they failed in making a Java processor as far as i've read)
so you want practical examples -
Ever seen a NTSC cell phone? Most of them run on Java.
Web-enabled Internet banking systems? - Here in The Netherlands Java / JSP is favorite.
What I really dislike in VB is:
In Java, a _null_ is a _null_. You don't distinguish between:
- an Empty or Nothing object (VB).
- Checking for Nothing, using "object Is Nothing" i.s.o "object = Nothing" (VB)
- Having to use "Set" for assigning Objects and "Let" for primitive types. (VB)
VB code is like when there is a little garbage in your room and you don't clean it - In a few moments, the room is a complete mess.
yeah im not really into VB. I used to be though, but now i feel like i should go back learn somthing "Micro$oft" again in fear of Java going away which i think will never happen but you never know. After reading alot about .net Visual Basic it seems like they are just ripping off Java. Plus not to mention making things more confusing in the process. Heres an example.
.net Visual Basic code
Visual Basic 6 codeCode:Dim strName as String
Property Name() as String
Get
Name = strName
End Get
Set(byVal sName as String)
strName = Value
End Set
End Property
If you notice the VB6 code was clearly defined. Now they are lumping everything togther and only returning a value if (in the .net code) the get is called.Code:Dim strName as String
Property Get Name() as String
Name = strName
End Property
Property Let Name(strNameIn as String)
strName = strNameIn
End Property
Now now dilenger, dont be so harsh. Microsoft is doing some quite unique with the ability have meta classes for the languages, quite invotative. VB was an attempt to make OO for dumb people. Or more precisely people that didnt want to learn how to program fully. They are just simply making more of the OO stand out in VB. OO is simply that OO, java is that, C++ is that. That is why they are so similiar. Microsoft should have garbage collection done better a ways back. The quesiton you should really ask, is C# a rip off of java. Yes and No... vb is not even close yet, heck they just added inheritance finally.
Well personally, I'm a ComSci student and I've been using Java for about 18 months or a little less :)
I'm ok at the logic side of things but I have difficulty when it comes to GUIs. It's a pity that our course is so intensive that we can't study programming more (There's always a French project or something to do...)
Well, I'm studying a course at Trinity College called ICT (ask plenderj). It's basically Computer Science for dummies. We learn Java (specifying in file structures like stacks and binary trees) and in first year we glance over Assembly.
It's not a very good course. The one in your technical college sounds much better. I'm not sure if we're ever going to actually learn C++, although I'd like to.
I've been making an effort to learn VB. Is it a good language to learn?
lol, god no. it good for fast gui apps, but otherwise its good only if you can't handle some other more complex language... like Turing :DQuote:
Originally posted by MethadoneBoy
I've been making an effort to learn VB. Is it a good language to learn?
No bill don't get me wrong what Micro$oft is doing is great. The changes made to the IDE are top notch. Like adding in collapsible code regions for system generated code and also allowing the programmer to define their own code regions. ie... #Region/#End Region. Great idea. Integrating the Immediate window into the command window. By switching modes ie.... > Immed. Another great idea. And they go on and on.
As for the language. Real error handling. True Multithreading, Inheritance, Cross language integration(now i can use the same IDE for Pearl and COBOL). :D Plus when the CLR becomes part of the OS then applications will no longer need to distribute the runtime used by the application.
It was a 16 month course where i went. The school was called Computer Learning Center(sounds cheesey i know). It basically was broken down into modules which lasted 4 months each. Applications(Excel, Access ect..) COBOL, C++, Visual Programming(VB/Java). We were the last class to graduate. Two days after the graduation i saw on the local news the the school closed up and left people stranded. :p At least i got out in time. :rolleyes:
The problem is my local community college offers a two year degree which is i think an Assocates degree. But they give Assembly, C++ and Calculus. To me this course structure seem inferior to where i went to school. It's not up to the times. Plus i can only imangine how much of a hard time a beginner programmer would have learning Assembly. Where i went we started out with over fifty people and only fourteen graduate. six almost didn't
For instance bill how do you feel about this. The following is the exact thread that i posted in the .net forum.
What's up with this? Why does Visual Basic allow a primative types to be converted to Objects? I don't understand why this is allowed. Has it alway been allowed in VB? For instance the first two code blocks would be illegal in Java. First being primative to refrence type Second being refrence to primative. But the third would be allowed.
Code:public class X{
public static void main(String[] args){
int i = 7;
Test(i);
}
public static void Test(Object i){
System.out.println(" The value of i is " + i);
}
}
AllowedCode:public class Y{
public static void main(String[] args){
Integer i = new Integer(7);
Test(i);
}
public static void Test(int i){
System.out.println(" The value of i is " + i);
}
}
Now Visual Basic....Code:public class Z{
public static void main(String[] args){
Integer i = new Integer(7);
Test(i);
}
public static void Test(Object i){
System.out.println(" The value of i is " + i);
}
}
Code:Module Module1
Public Function Add(ByVal x as Object, ByVal y as Object)
Console.WrintLine(x,y)
End Function
Public Sub Main()
Dim x as Integer = 2
Dim y as Integer = 3
Add(x,y)
End Sub
End Module
I think that VB implicitly converts your Integer to an Object, because you passed it by Value. (ByVal).
It could also be so that in VB, an Integer 'primitive' is actually an Object.
Well given my (albeit limited) experience in the language, GUI construction in Java is pretty much for those who really like to be involved in every aspect of the contruction (It's very hands-on)
Me, I think it's pretty cumbersome the way you have to specify height, width, position on the page, etc.... Then again, using VB to contruct a GUI is almost too simple.
Can anyone out there tell me the real big advantages Java has over VB?
VB is more like a RAD tool for GUI building. You also have RAD tools for GUI building in Java. Applications like Forte or PowerBuilder enable you to draw your GUI just like in VB.
The advantage of Java over VB at this moment is OO design and most of all platform-independency.
But it can change with MS's introduction of .net
Anyway, I prefer Java for developing web applications. I feel that Java code is better confined in a virtual machine than VB (ASP) code.
Thanks. Now for another one of my dumb questions: I know C++ has a method for calculating logs:
[code ]
log (int x)
[/code]
But does this exist in Java?
Of course, check out the java.lang.Math class, it's full of static math methods! ;)
so...
double d = java.lang.Math.E;
System.out.println (java.lang.Math.log(d));
etc..
an Integer is just like an Integer class in Java pretty much, they both inherit from the Object class. It is not a primitive like int in java. That is why there is no difference in your allowed java code and your vb code.
I have to check out some of the replies in the .net forum but like you said i think it's because Visual Basic lacks a way to represent primative types as Objects using other classes( such as Java's wrapper classes) Thanks. :)Quote:
Posted by billrogers
an Integer is just like an Integer class in Java pretty much, they both inherit from the Object class. It is not a primitive like int in java. That is why there is no difference in your allowed java code and your vb code.