473,320 Members | 1,872 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Learning to program

Hi

I hope that I am posting to the right place. I want to learn
programming and am looking at a language too choose. I thought about
C++ but my friend told me thats its old fashioned and will be replaced
by more modern computer languages like Visual Basic and Cold Fusion.

Is it true that not many people use C++ anymore? What is the best
language to learn?

Aug 17 '06 #1
14 1623
Hi there,

your friend's comment depend on what you want to do. When creating a
big application which has high demands on effective resource management
(i.e. database implementations, CAD-applications or other
calculation-intensive applications) you more or less have to use an
effective language. C/C++ are still among the most widely used in these
applications due to their extremely fast and effective compiled
binaries.

Languages like VB.Net are easy to use and provide a lot of
functionalities that aid the programmer such as memory management but
these languages are not effective enough when making the kinds of
applications I described in the above section.

When considering operating system, you simply can't use an interpreted
language like .NET or Java because they require a virtual computer to
interpret the Java/.Net bytecode created by the compilers in these
languages.

So, my tip to you is actually to begin with C++, maybe C and learn
this. This is probably the biggest threshold to get over. When you are
familiar with these languages, you won't have any problems at all
learning any other (similar) language like VB et.c. By similar I mean
no other imperative and / or objective-oriented language.

C/C++ has features called pointers that are extremely effective, but
also quite dangerous to use if not used properly. They don't exist in
Java/.Net so I believe it's better to start with the hard stuff than to
later on discover that there is a lot of features that you don't know
how to use.

So, if you don't have an unlimited amount of time think about what you
want to do when programming, web-stuff, applications for operating
systems or low level, hardware-controlling applications for operating
systems? Each of these (more or less) should give you a different set
of tools you'd want to use. If you do have an unlimited amount of time,
go for it, learn the basics in C/C++ and just keep on going...

I hope this helped somewhat

Best regards,
Stefan Rickfjord
M.Sc. Software Engineer
master_program...@outgun.com wrote:
Hi

I hope that I am posting to the right place. I want to learn
programming and am looking at a language too choose. I thought about
C++ but my friend told me thats its old fashioned and will be replaced
by more modern computer languages like Visual Basic and Cold Fusion.

Is it true that not many people use C++ anymore? What is the best
language to learn?
Aug 17 '06 #2
ma***************@outgun.com wrote:
Hi

I hope that I am posting to the right place. I want to learn
programming and am looking at a language too choose.
I guess a more general programming newsgroup like comp.programming might be
better for this question.
I thought about C++ but my friend told me thats its old fashioned and will
be replaced by more modern computer languages like Visual Basic and Cold
Fusion.
Visual Basic is not really modern. And it's also only available under
Windows, while C++ compilers exist for virtually every system that can
differentiate between 0 and 1. It might be a good choice for beginners, but
I'd rather tend to use a more portable language for this, like python.
Is it true that not many people use C++ anymore?
No.
What is the best language to learn?
That pretty much depends on what you want to do. C++ is a general purpose
langage, so you can use it for many things. Still, some tasks are easier in
other languages.

Aug 17 '06 #3
I hope that I am posting to the right place. I want to learn
programming and am looking at a language too choose. I thought about
C++ but my friend told me thats its old fashioned and will be replaced
by more modern computer languages like Visual Basic and Cold Fusion.
What does it mean for a computer language to be "old fashioned"?

I'm fond of a language called LISP, which was first developed in the
1950s and is still going strong today. It's literally the first high
level computer language. You don't get older than that--and yet, I
wouldn't say LISP is "old fashioned" at all.

Visual Basic .NET isn't newfangled. The idea of a language that
compiles down to a portable bytecode format dates back to UCSD Pascal
and the 1970s. Should we say VB.NET is "old fashioned"?

The question isn't whether a language is 'modern' or 'old'. The
question is much simpler than that: is the language effective at the
tasks for which it's used? For C++, the answer is clearly yes. And
it's fun to hack in, too, which is just icing on the cake. :)
Is it true that not many people use C++ anymore? What is the best
language to learn?
The _best_ language for a beginner to learn is: whatever one makes you
happy.

C++ may not make you happy, at least at first. Beginners tend to look
at C++ source code and get scared by all the weird symbols. If this is
true for you, there's no shame in it, and it doesn't mean you have no
potential as a programmer. It just means some other programming
language will make you happy, and you should find it.

On the other hand, if you can look at a page of stuff you don't
understand and see it as a challenge to be overcome, not as an
insurmountable obstacle... then you're in the right place, and we'd
love to help you out. Most of us here love programming in C++. I know
that I do. Here's hoping we can show you why. :)

Aug 17 '06 #4
In article <11**********************@m79g2000cwm.googlegroups .com>,
<ma***************@outgun.comwrote:
>I hope that I am posting to the right place. I want to learn
programming and am looking at a language too choose. I thought about
C++ but my friend told me thats its old fashioned and will be replaced
by more modern computer languages like Visual Basic and Cold Fusion.

Is it true that not many people use C++ anymore? What is the best
language to learn?
C++ is still a top language. Even since its inception people
has been discussing its demise but there is no indication that
it is happening any time soon, and even reasons to believe the
contrary.

BTW, IIRC VB is decades old now too, certainly 1.5 of them.

Anyway, IMO, there is nothing wrong with learning C++ as
a first language, with proper instruction (as would be -- or
at least should be -- the case with any first language).
You don't say what some of your goals etc are so it's unclear
if this is what you should do or not though.
--
Greg Comeau / 20 years of Comeauity! Intel Mac Port now in alpha!
Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
Aug 17 '06 #5
In article <11*********************@m73g2000cwd.googlegroups. com>,
Robert J. Hansen <ci********@gmail.comwrote:
>...
C++ may not make you happy, at least at first. Beginners tend to look
at C++ source code and get scared by all the weird symbols. If this is
true for you, there's no shame in it, and it doesn't mean you have no
potential as a programmer. It just means some other programming
language will make you happy, and you should find it.
Clearly it does not have to mean that. Recalling when I first
learned programming, it was _all_ hierogliphics to me, even the
so-called simple stuff.
--
Greg Comeau / 20 years of Comeauity! Intel Mac Port now in alpha!
Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
Aug 17 '06 #6
Clearly it does not have to mean that. Recalling when I first
learned programming, it was _all_ hierogliphics to me, even the
so-called simple stuff.
I've had excellent luck using Python as a language to introduce people
to programming, and then shifting to C++ by increments. YMMV, of
course, but there are several languages out there that appear to be far
less intimidating to newcomers.

Aug 17 '06 #7
<ma***************@outgun.comwrote:
I hope that I am posting to the right place. I want to learn
programming and am looking at a language too choose. I thought about
C++ but my friend told me thats its old fashioned and will be replaced
by more modern computer languages like Visual Basic and Cold Fusion.

Is it true that not many people use C++ anymore? What is the best
language to learn?
There is no "best" language. What are the best tools to have to build a
building? If you are building a skyscraper you want come-alongs and impact
wrenches. If you are building houses you want portable circular saws and
power nailers. Programming presents similar problems, the language of
choice depends on what is going to be done. If you are working for a
paycheck, someone else will most likely make the choice for you. Largely
because of this, most of the people that consider themselves serious
programmers know several languages - with a focus on a particular language
for a period of a few years.

Visual Basic was aimed at hobbyist programmers and grew. It is not "more
modern" than C++, not that being modern is an especially good quality. Java
is probably the most taught course for beginners right now. A few years ago
it was Pascal. If Microsoft has their way, ten years from now it will be
C#.
This link provides a kind of humorous survey of the different languages

http://www.99-bottles-of-beer.net/abc.html

I wish someone would start a web site similar to that in a more serious
vein. Something like evaluating a quadratic equation would be my favorite
idea.
Aug 17 '06 #8
On Thu, 17 Aug 2006 03:20:30 -0700, Robert J. Hansen wrote:

What does it mean for a computer language to be "old fashioned"?
..=100h
mov ah,3
lea dx,[hello]
int 21h
int 20h
hello db "hello world!$"

>
I'm fond of a language called LISP,
You are a sick unit, aren't you? Too many blasted "()"

I'll stick with fortran4 and algol, with a lite sprinkle of APL.
Oh, and let's not forget RPG.
Aug 17 '06 #9
noone wrote:
[..]
Oh, and let's not forget RPG.
Reverse Polish ... <what?>
Aug 17 '06 #10
"Victor Bazarov" writes:
>[..]
Oh, and let's not forget RPG.

Reverse Polish ... <what?>
Report Program Generator. Think punched cards. I think of it as a kind of
replacement for a plugboard.
Aug 17 '06 #11
You are a sick unit, aren't you? Too many blasted "()"

Honestly, I'm surprised more C++ geeks aren't also LISP geeks. There
are some deep and beautiful parallels between C++ templates and LISP
macros...

Aug 17 '06 #12
noone wrote:
On Thu, 17 Aug 2006 03:20:30 -0700, Robert J. Hansen wrote:
I'm fond of a language called LISP,

You are a sick unit, aren't you? Too many blasted "()"
But that's its name! Lots of Idiotic Single Parentheses.


Brian
Aug 17 '06 #13
In article <11*********************@h48g2000cwc.googlegroups. com>,
Robert J. Hansen <ci********@gmail.comwrote:
>Clearly it does not have to mean that. Recalling when I first
learned programming, it was _all_ hierogliphics to me, even the
so-called simple stuff.

I've had excellent luck using Python as a language to introduce people
to programming, and then shifting to C++ by increments. YMMV, of
course, but there are several languages out there that appear to be far
less intimidating to newcomers.
As you say YMMV but IME there is no magic bullet and so called easier
languages can be illusory for beginners. I've also found non-language
aspects are often be the actual underlying intimidation with language
features used as the scapegoat. This is not to say that certain
languages are not more complex etc than others.
--
Greg Comeau / 20 years of Comeauity! Intel Mac Port now in alpha!
Comeau C/C++ ONLINE == http://www.comeaucomputing.com/tryitout
World Class Compilers: Breathtaking C++, Amazing C99, Fabulous C90.
Comeau C/C++ with Dinkumware's Libraries... Have you tried it?
Aug 18 '06 #14
In article <pa****************************@all.com>, no***@all.com
says...

[ ... ]
I'll stick with fortran4 and algol, with a lite sprinkle of APL.
Oh, and let's not forget RPG.
Quite the contrary -- please DO let us forget RPG. In fact, for having
reminded us of it, you are hereby sentenced to spend one hour listening
to whichever pop singer is most admired by 14 year-old girls right now.

[Note from the US Supreme Court: we're very sorry to announce that Mr.
Coffin will be absent for some time due to attempting to impose a cruel
and unusual punishment on....wait a minute....did you say RPG?

[some time passes]

Upon review of the full particulars of the case, we find that the
evidence is dispositive, and the punishment was entirely reasonable.]

--
Later,
Jerry.

The universe is a figment of its own imagination.
Aug 18 '06 #15

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Ryan Walker | last post by:
Hi, I'm getting started with python and have almost zero programming experience. I'm finding that there are tons of tutorials on the internet -- such as the standard tutorial at python.org -- that...
6
by: post400 | last post by:
Hi , I was just wondering ( yeah I know it's not the first time this question pops up ) what would be the best 2 or 3 books for someone who wants to learn Python , already experienced in other...
90
by: Jhon smith | last post by:
Hi all,Just wondering are there any problems with learning c from older books,as I have picked up some from 1988,1994,1997,1998. By using books of this age(Im on a tight budget)am I going to...
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
26
by: mfasoccer | last post by:
I am sorry if this is an inappropriate place to put this post, if so please delete it. I am wondering about a few things. Do you guys recommend learning C as a second language, as someone who...
18
by: Ann Scharpf via AccessMonster.com | last post by:
I am not sure which would be the best place to post this question, so I'm posing it here with Access general questions. I have reached the point many times in Word and in Access where my ignorance...
7
by: Michael | last post by:
Hey, I'm, I guess, an itermediate programmer and I have a question about learning any programming language. I understand that as a programmer you're going to probably constantly be re-writing code...
1
by: whosesocks | last post by:
I discovered that many of my very busy colleagues are having an extremely difficult time pulling themselves away to take vital training when it requires being away for consecutive days. I just...
4
by: neptundancer | last post by:
Hi, to extend my skills, I am learning python. I have written small program which computes math expression like "1+2*sin(y^10)/cos(x*y)" and similar, so far only + - * / ^ sin con tan sqrt are...
16
by: John Salerno | last post by:
Just something that crosses my mind every time I delve into "Learning Python" each night. Does anyone see any value in learning Python when you don't need to for school, work, or any other reason?...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.