473,804 Members | 3,722 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1657
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.programmin g 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************ **********@m79g 2000cwm.googleg roups.com>,
<ma************ ***@outgun.comw rote:
>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************ *********@m73g2 000cwd.googlegr oups.com>,
Robert J. Hansen <ci********@gma il.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.comw rote:
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

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

Similar topics

7
1775
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 tell you all about the language. That is, what are the methods, functions, modules, syntax, punctuation, etc. No problem there! Meanwhile, I'm finding that there is very little (that I can find) about how to do basic logistical things related...
6
2613
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 non-OOP languages .It takes time to browse endlessly on the net , in a bookshop or a library for THOSE books that are really useful ! Thanks ,
90
3897
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 missout on anything in the langauge or has C remaind similar. I intend to use Dev-C++ on the windows platform. If any one feels theres anything I should be aware of,please help me out,I feel a bit lost with all thats out there regarding this language....
1
9662
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 and I was wondering if anyone here would be able to give me some tips for young players such as myself, for learning the language. Is this the best Newsgroup for support with JAVA?
26
2983
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 already knows java very well. And what is the best way to learn C, books, tutorials, or what? Thanks, any response would be great.
18
2403
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 of VBA is a real detriment to me. I saw some posts about VBA classes with a particular vendor and the poster was advised not to take the class because of the likelihood of an unskilled trainer. My question is, would taking a Visual Basic...
7
1514
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 and the best method would be to save a template or other etc. I also know that it's ok to use other people's code to help you do something, but wouldn't it be best to re-type the code or study it until YOU learn how to do it and you actually...
1
1496
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 completed training for .NET in Chicago through a mentored learning program that personally helped me to tackle that same issue. Though the mentored learning training allows complete interaction with classroom version labs and interaction with an on...
4
1398
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 supported. But my program is quite inextensible, I have to change the code to add new functions... Could some fellow experienced pythonista give me some tips how to make my program shorter, and more extensible? to use it, try something like...
16
1768
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? I mean, sure, there's value in learning anything at any time, but for something like a programming language, I can't help but feel that I will be mostly unable to use what I learn simply because I have no reason to use it. The *process* of...
0
9704
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9569
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6844
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5503
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.