what prog language make sense?

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

WobbleWobble

Diamond Member
Jun 29, 2001
4,867
1
0
Originally posted by: AlexWade
I know I'm late to the game, but I have to say this:

C# is nothing but Java modified just enough to avoid a lawsuit.

DO NOT start with Java, Smalltalk, or C#. Object-oriented programing requires a new way of thinking -- going start to OO requires you to learn two concepts at once.

Start with C or non-OO C++. Once you've got C++ down, go to C++ OO. Then jump to Java. If you want to be a serious programmer, know C++ well -- parts of OS's are written in C++; I know the Linux kernal is. Going from C++ OO to Java/C# will be easier than straight to Java/C#.

If you are brave, just download Sun's Java at java.sun.com. You want J2EE.

I disagree. I believe one should start the right way and begin with an OOP language.
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
IMO it doesn't really matter that much what you start with. If you are going to suck, then you're going to suck. If you're going to be good, you're going to be good. The details along the way just shape your personal programming "flavor" so to speak.
 

manly

Lifer
Jan 25, 2000
13,086
3,850
136
Originally posted by: AlexWade
I know I'm late to the game, but I have to say this:

C# is nothing but Java modified just enough to avoid a lawsuit.

DO NOT start with Java, Smalltalk, or C#. Object-oriented programing requires a new way of thinking -- going start to OO requires you to learn two concepts at once.

Start with C or non-OO C++. Once you've got C++ down, go to C++ OO. Then jump to Java. If you want to be a serious programmer, know C++ well -- parts of OS's are written in C++; I know the Linux kernal is. Going from C++ OO to Java/C# will be easier than straight to Java/C#.

If you are brave, just download Sun's Java at java.sun.com. You want J2EE.
It's not that you're late to the game, but that you don't know what you're talking about. :)
 

screw3d

Diamond Member
Nov 6, 2001
6,906
1
76
I have a reasonably strong background in C++ and Java.. so I would assume it's easy for me to pick up C#? How different is C# compared to C++ and Java?
 

HJB417

Senior member
Dec 31, 2000
763
0
0
syntax wise, c# is exactly like java, but the 1st thing that come to mind is, c# has the keywords red, and out.
 

glugglug

Diamond Member
Jun 9, 2002
5,340
1
81
Originally posted by: manly
Originally posted by: AlexWade
I know I'm late to the game, but I have to say this:

C# is nothing but Java modified just enough to avoid a lawsuit.

DO NOT start with Java, Smalltalk, or C#. Object-oriented programing requires a new way of thinking -- going start to OO requires you to learn two concepts at once.

Start with C or non-OO C++. Once you've got C++ down, go to C++ OO. Then jump to Java. If you want to be a serious programmer, know C++ well -- parts of OS's are written in C++; I know the Linux kernal is. Going from C++ OO to Java/C# will be easier than straight to Java/C#.

If you are brave, just download Sun's Java at java.sun.com. You want J2EE.
It's not that you're late to the game, but that you don't know what you're talking about. :)

Actually, he's right.

There is a lot to be said for starting simple (which C IS, contrary to popular myth). Pointer math is a very important concept which the languages geared towards virtual machines (Java, .NET) hide from you while C/C++ put them in your face.

Or you could always do C++.NET with the option of "untrusted" code that runs outside the CLR.


Windows itself is written almost entirely in C BTW, even though MS invented VB and C#/.NET (C++ for the COM components, straight C for almost everything else). Ever think maybe there is a reason for this?
 

manly

Lifer
Jan 25, 2000
13,086
3,850
136
Originally posted by: glugglug
Originally posted by: manly
Originally posted by: AlexWade
I know I'm late to the game, but I have to say this:

C# is nothing but Java modified just enough to avoid a lawsuit.

DO NOT start with Java, Smalltalk, or C#. Object-oriented programing requires a new way of thinking -- going start to OO requires you to learn two concepts at once.

Start with C or non-OO C++. Once you've got C++ down, go to C++ OO. Then jump to Java. If you want to be a serious programmer, know C++ well -- parts of OS's are written in C++; I know the Linux kernal is. Going from C++ OO to Java/C# will be easier than straight to Java/C#.

If you are brave, just download Sun's Java at java.sun.com. You want J2EE.
It's not that you're late to the game, but that you don't know what you're talking about. :)

Actually, he's right.

There is a lot to be said for starting simple (which C IS, contrary to popular myth). Pointer math is a very important concept which the languages geared towards virtual machines (Java, .NET) hide from you while C/C++ put them in your face.

Or you could always do C++.NET with the option of "untrusted" code that runs outside the CLR.


Windows itself is written almost entirely in C BTW, even though MS invented VB and C#/.NET (C++ for the COM components, straight C for almost everything else). Ever think maybe there is a reason for this?
I'm no MS partisan myself, but he just mouthed off a collection of incoherent assertions with many inaccuracies. How that makes him "right" is beyond me.
 

dbarton

Senior member
Apr 11, 2002
767
0
76
>Anything you write in C# will require the .NET framework. Just like anything written >in Java needs to JVM. That really shouldn't hold you back.

But if I want to write windows progs that can be run on most machines wont C# be a problem since most folks don't have .net installed?

Also it wont be able run on 98 or 95, right?

C++ Builder will allow me to comple and run exe on any machine, yes?
Am thinking of "C++ Builder Personal" as it has tutorial built in..