C++ funnies

From Visual Basic to GNU C, this is the place to talk programming.

Moderators: SecretSquirrel, just brew it!

Postposted on Thu May 22, 2003 8:15 am

I see. They most probably are Pascal/Fortran folks. There was that debate at Stony Brook (NY) years ago. Pascal or C to begin with...

My promotion started with Pascal then continued to C. Worked for me, but some people I know started with C and didn't have much problem either.

Pascal did help me with old code and later with some job position using Delphi. No big deal anyway, it's rather easy to switch in reasonable time, but both are demanding.
no sig
muyuubyou
Grand Gerbil Poohbah
 
Posts: 3231
Joined: Wed Aug 28, 2002 6:19 am
Location: London, UK or Tokyo/Yokohama, Japan or Madrid, Spain

Postposted on Thu May 22, 2003 9:09 am

I learned Pascal in high school (TP6.0, w00t!) and I loved it. But my interest in programming waned quite a bit when I went on to college and started taking C...bleah. I realized I was more of a hardware junkie and much better at supporting software than creating it.
I do not understand what I do. For what I want to do, I do not do. But what I hate, I do.
derFunkenstein
Gerbil God
Gold subscriber
 
 
Posts: 21337
Joined: Fri Feb 21, 2003 9:13 pm
Location: WHAT?

Postposted on Fri May 23, 2003 11:34 am

The first language they teach us is Standard ML (the lecturer was on the committee that designed it), then we do Java. That's it for the first year.
The ML lecturer didn't seem very keen on Fortran. The Java lecturer didn't seem very keen on anything, but then he was a crap lecturer. Don't know how they stand with Pascal.
BigMadDrongo
Gerbil Elite
 
Posts: 913
Joined: Mon Apr 29, 2002 12:57 pm
Location: London, UK

Postposted on Sat May 24, 2003 6:37 am

Really, you need to know that some people just arent so lucky as to have a teacher. It's just life.
Windows XP - The 64-bit wannabe with a 32-bit graphics interface for 16-bit extensions to a 8-bit patch on a 4-bit operating system designed to run on a 2-bit processor by a company that can't stand 1-bit of competition
fc34
Minister of Gerbil Affairs
 
Posts: 2816
Joined: Wed May 08, 2002 8:39 am
Location: Somewhere

Postposted on Sat May 24, 2003 6:40 am

And, I personally believe that BASIC is a good start, I DID NOT say that BASIC is the way to go. I believe that BASIC is NOT a language to learn if you want to become a successful programmer. However, I think that it is good for me, for writing single use programs....much better than having to include all the libraries and stuff just for a 30 line program.
Windows XP - The 64-bit wannabe with a 32-bit graphics interface for 16-bit extensions to a 8-bit patch on a 4-bit operating system designed to run on a 2-bit processor by a company that can't stand 1-bit of competition
fc34
Minister of Gerbil Affairs
 
Posts: 2816
Joined: Wed May 08, 2002 8:39 am
Location: Somewhere

Postposted on Tue Jun 24, 2003 4:42 pm

To me, BASIC is just an exercise in logic...

I could write programs in VBA on my first day that I can't do on C after about 2 weeks...

And VBA was the first language I tried to use in any sort of way...

It's so easy to write with, although this comes at the price of speed (since you access everything through Office)...

As an exercise in "learning coding skills," it's good,
IntelMole
Living proof of John Gabriel's theorem
IntelMole
Grand Gerbil Poohbah
 
Posts: 3529
Joined: Sat Dec 29, 2001 7:00 pm
Location: The nearest pub

Postposted on Tue Jun 24, 2003 5:06 pm

IntelMole wrote:To me, BASIC is just an exercise in logic...

I could write programs in VBA on my first day that I can't do on C after about 2 weeks...

And VBA was the first language I tried to use in any sort of way...

It's so easy to write with, although this comes at the price of speed (since you access everything through Office)...

As an exercise in "learning coding skills," it's good,
IntelMole


if you like VBA then you will enjoy Visual Basic. basically the same structure... and very easy to learn. The do everything in VB where i work..... next version of our software is C# though. I enjoy Visual Basic now... used to despise it because of the limitations.... however for most things it works really well... and it cuts development time in half.
You don't have to feel safe to feel unafraid.
danny e.
Maximum Gerbil
Gold subscriber
 
 
Posts: 4372
Joined: Thu Apr 25, 2002 3:09 pm
Location: Indonesia/Nebraska/Wisconsin

Postposted on Tue Jun 24, 2003 5:32 pm

Lol, that is funny...

On the Python thing, we have a brilliant tech here who programs, makes me so jealous, and I asked him if Python would be a good way for me to get into programming...his response, which I feel makes sense, was "Why LEARN to program in something that is not a serious BUSINESS language, right now, you are much better off going with .NET and C#..." :wink:
JavaDog
Minister of Gerbil Affairs
 
Posts: 2815
Joined: Wed May 07, 2003 11:20 am
Location: Oahu, HI

Postposted on Tue Jun 24, 2003 5:38 pm

If you're that bothered about a BUSINESS language right now, you should be learning Java, then ".NET and C"

IIRC, I remember seeing some figures on the most used languages, and Java came top, closely followed by C++...

But then again, I haven't exactly followed the trends of the past couple years lol,
IntelMole
Living proof of John Gabriel's theorem
IntelMole
Grand Gerbil Poohbah
 
Posts: 3529
Joined: Sat Dec 29, 2001 7:00 pm
Location: The nearest pub

Postposted on Fri Jul 04, 2003 6:26 pm

Hmmm - so what the heck am I?

Started with AppleSoft BASIC, then dived into 6502 machine code and assembly. Hopped up a little into QuickBASIC before jumping into C. Then did the OO leap into C++.

Then school pushed me back down to Pascal. Bounced back in university to C/C++ with a smattering of Scheme (LISP-variant). Then a 4 year mix of ML, Prolog, Java, C, C++.

Now working and about to jump into Managed C++ and C#.

According to this thread, I must be one messed up individual! :)
Revenent
Gerbil
 
Posts: 98
Joined: Thu Jun 19, 2003 6:25 pm

Postposted on Tue Jul 08, 2003 10:16 pm

muyuubyou wrote:They most probably are Pascal/Fortran folks.
Don't see how Fortran has anything to do with Pascal.
Craig P.
Gerbil Team Leader
 
Posts: 285
Joined: Tue Dec 31, 2002 3:12 am
Location: South Bend, IN

Postposted on Tue Jul 08, 2003 10:20 pm

just brew it! wrote:- "Object oriented" languages like C++ and Java provide better data abstraction and modularity [than VB]. While this is no guarantee of good programming (it is certainly possible to write unmaintainable code in these languages as well), they provide a better framework for writing large complex applications in a logical, modular fashion.


VB comes pretty close -- it doesn't have outright inheritance, but a) that can be faked, and b) it's pretty rare that I use inheritance in C++ outside the context of more advanced features.

Given my experience with VB and C++, I miss templates and standard algorithms a lot more than inheritance when I go back into VB.


(commentary holds for VB4+ only -- pre VB4 didn't have the COM support, and precursors were even less structured, we won't even start talking about the horror that is BASIC)
Craig P.
Gerbil Team Leader
 
Posts: 285
Joined: Tue Dec 31, 2002 3:12 am
Location: South Bend, IN

Postposted on Tue Jul 08, 2003 10:23 pm

fc34 wrote:Whats wrong with learning BASIC as the first language?


It's a PITA to do things the right way. Not impossible, but a PITA.

(I'm referring to real BASIC, not modern variants like VB.)
Craig P.
Gerbil Team Leader
 
Posts: 285
Joined: Tue Dec 31, 2002 3:12 am
Location: South Bend, IN

Re: C++ funnies

Postposted on Tue Jul 08, 2003 10:26 pm

LJ wrote:C++ exists to give you the benefits of object oriented language with only slightly more overhead than C (there are disadvantages that i won't go into).


I use the generic programming features of C++ far more frequently than I use the object-oriented features. And when you put them together (as with ATL), you can do some really interesting things.

I think templates are the really exciting thing about C++, and what really distinguishes the language.
Craig P.
Gerbil Team Leader
 
Posts: 285
Joined: Tue Dec 31, 2002 3:12 am
Location: South Bend, IN

Postposted on Tue Jul 08, 2003 10:30 pm

danny e wrote:if you like VBA then you will enjoy Visual Basic. basically the same structure...


Really, the core of VB is VBA. The distinguishing feature for VB is the forms and controls handling, but a lot of that is effectively more runtime support than integral to the language proper.
Craig P.
Gerbil Team Leader
 
Posts: 285
Joined: Tue Dec 31, 2002 3:12 am
Location: South Bend, IN

Previous

Return to Developer's Den

Who is online

Users browsing this forum: No registered users and 2 guests