LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   all of this (https://www.linuxquestions.org/questions/programming-9/all-of-this-430938/)

ahmed gamal 04-02-2006 08:31 AM

all of this
 
hi every body
i have learned c language it was very nice language
when i have it in a course in my collage
i inted to be an advanced programmer
i looked for languages i found java ,c++,c#,visual basic,..........and others
i dont know from where shall i begin
i have dietel and dietel C how to program book
it contain c,c++,java
shall i continue from it
and what is the different between then and who is better

dopehouse 04-02-2006 08:37 AM

I think that c/c++ and java should be enough. Better learn some interpreter and script languages too. Like perl and php.

ahmed gamal 04-02-2006 08:45 AM

then what about the second question
an
Quote:

d what is the different between then and who is better

jtshaw 04-02-2006 08:48 AM

No one language is generally better then another. A language is a tool. Like any tool, you want to use the best one for your current application or problem. Learn the basic data structures, design patterns, and programming paradigms and you'll be much better off then concentrating in any one particular programming language.

Once you have a firm grasp of the basics switching back and forth between languages is easy.

ahmed gamal 04-02-2006 08:51 AM

thanx for explaning
but what is c# an java used for?

jtshaw 04-02-2006 10:06 AM

c# is mostly used in Microsoft's new .Net platform, but is also used in the Mono Project under Linux and by a few other people. Java and C# are both object oriented languages that tend to lend themselves to things like GUI programming.

Java is also used to easily make cross-platform software (the Azureus bittorrent client is a good example).

ahmed gamal 04-02-2006 03:03 PM

then u said that c# is the most used language than java

paulsm4 04-02-2006 06:56 PM

jtshaw said no such thing.

He merely said that C# requires .Net (there's no such thing as a C#-written .exe that runs outside of .Net), and that .Net (and, consequently C#) are largely Microsoft-centric.

I completely agree with jtshaw's earlier comment that "No one language is generally better then another." That's absolutely true.

And finally, C# is *not* more commonly used than Java. It might be some day (I doubt it, but I don't know). But it absolutely is NOT today. Heck - you can't even program a native Windows app in C# (.Net runs on top of Windows; it isn't Windows itself).

Here is a good link rating programming languages on their current "popularity" (which the authors of the site are the first to admit is an elusive thing to define):

http://www.tiobe.com/index.htm?tiobe_index

Please re-read jtshaw's excellent advice:
Quote:

No one language is generally better then another. A language is a tool. Like any tool, you want to use the best one for your current application or problem. Learn the basic data structures, design patterns, and programming paradigms and you'll be much better off then concentrating in any one particular programming language.

Once you have a firm grasp of the basics switching back and forth between languages is easy.
'Hope that helps .. PSM

PS:
At the moment, C# is number 7 on the list. Java is number 1. And as far as real software that you or I might write, or planning a career - I would strongly argue that the ranking is meaningless!

ahmed gamal 04-03-2006 11:09 AM

thank u for explanation

ahmed gamal 04-17-2006 03:32 PM

then what make java better and mostly used??????

KHANKOC 04-17-2006 04:38 PM

Hi Guys I Am New Here And The Pc Is New To Me Aswell Iam Starting A Cafe Funded By The Available Monet From The Government Which Will Have A Internet Cafe What I Am Looking For Is A Name For A Multi Cultural Community Centre I Thought

Confetti Is A Propriet Name What Do You Think

MichaelZ 04-17-2006 05:14 PM

Quote:

Originally Posted by ahmed gamal
then what make java better and mostly used??????

Hello,

Have a look at here:

http://en.wikipedia.org/wiki/Java_programming_language

Best wishes,
Michael

ahmed gamal 04-17-2006 06:28 PM

i have heared that c# is compination between c++ and jave
then it must be powerful
then why it is in the 7 rank:tisk:

addy86 04-17-2006 06:46 PM

Quote:

Originally Posted by ahmed gamal
i have heared that c# is compination between c++ and jave
then it must be powerful
then why it is in the 7 rank:tisk:

1. See above for reasons (e.g. runs only on Windows).
2. Even a combination of good languages can lead to a crappy result. Since I don't know C#, I don't know whether it is crappy; this is just a hypothetical explanation.
3. Suppose a language is good from a technical point of view; that does not have to mean that it will be popular, and vice versa. See Java: it contains a lot of flaws, nevertheless it has been hyped (especially in the 1990s, key words: "Internet programming language") and is #1 now.

MichaelZ 04-18-2006 04:35 AM

Quote:

Originally Posted by ahmed gamal
i have heared that c# is compination between c++ and jave
then it must be powerful
then why it is in the 7 rank:tisk:

No. IMHO is not so :). C# is limited to .NET platform. Moreover, it is not because it seems to be a combination of C++ and jave that should be powerful :tisk:.

If you search a combination of C++ and Java, then have a look at D programming language :).

Best wishes,
Michael


All times are GMT -5. The time now is 07:04 PM.