Author Topic: Which version of C?  (Read 19173 times)

0 Members and 1 Guest are viewing this topic.

Offline TinDragon

  • Pentium
  • *****
  • Posts: 644
  • Karma: 24
    • View Profile
    • J2K's blog
Re: Which version of C?
« Reply #20 on: April 11, 2011 »
I went along the route, C to C++ and now I am looking at C#. But the one thing I have found is the basic language syntax is similar in all of them, of course C++ adds OOP stuff to C and I am probably still more a C coder than C++ as I still dont use classes enough. With all of them its more about the libs,includes and api access and how they handle it, C/C++ are more direct but also more complex were as from my understanding due to the .net framework C# provides alot more without resorting to loads of other libs etc. making it easier to get stuff going leading to more productivity.

But strange as it may seem I like to code in Blitzmax more than anything else, it offers alot of the OOP features of C languages (can even use C if you want), I can get down an dirty with winapi calls just like in C/C++ or I can stay up high in the pre-coded and simpler to use modules it comes with. Infact using blitzmax types and methods helped me grasp the class concept in C++ better than anything I read for C++  :D

I would say if your up for it learn all of them, but if you want a quick route into coding apps, as that seems to be your current interest then probably go for C# to start with. The visual designer alone will save you hours making the GUI's :)

Offline Dark_Coder

  • ZX 81
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Which version of C?
« Reply #21 on: September 28, 2011 »
go and download a copy of Code::Blocks  IDE. this comes with the MingW32 Compiler included.

then learn C.   with C you learn lots of low level stuff
then learn C++, (if you feel you need to),

then you can forget about C#  (scripting)...

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: Which version of C?
« Reply #22 on: September 28, 2011 »
Quote
then you can forget about C#  (scripting)...

Hehe, I find this funny :) . I think C# is a wonderful language. Sure, it's bigger, slower, not-as-hardcore, etc., but when you actually need to get something done quickly it's a wonderful tool to have. And I certainly wouldn't call it a scripting language, if that's what you're implying :) .
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17417
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Which version of C?
« Reply #23 on: September 28, 2011 »
I like C# as a work tool too.. Even more than VB, it's much more concise, and as Ferris says, very rapid to develop applications with which means more time to surf the internet.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Dark_Coder

  • ZX 81
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Which version of C?
« Reply #24 on: September 28, 2011 »
dont get me wrong,

I've nothing against c# as a language, but its not C or C++ and shouldnt be compared as such.

i'm sure its a fine language and yeh as a Rapid dev tool its great
like VB was great, but i feel for serious stuffs you need complete control ( C / C++ & asm).

my nephew plays around with C# & xna but hasnt a clue on how the computer actually draws a pixel onto the screen.

these languages shield you from the down and dirty and ultimately
stunt learning.

sorry, its just my opinion and i totally support others, its a free world


Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: Which version of C?
« Reply #25 on: September 28, 2011 »
No worries, man. And yeah, they DO shield alot of that stuff, because it's often not stuff one wants to be thinking of when implementing large-scale projects or more often, "trash projects" - one-time-use programs made for a specific purpose in a hurry.

Back to the original post, each should be learned, I think. Not only do the concepts exposed in each language make you a better coder, but you learn what you can use in different situations.

And of course, coding in the lower-level environments gives you an opportunity to learn the nitty-gritty stuff, as Dark_Coder mentioned.
« Last Edit: September 28, 2011 by Ferris »
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17417
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Which version of C?
« Reply #26 on: September 28, 2011 »

sorry, its just my opinion and i totally support others, its a free world

Shockwave ^ Codigos
Challenge Trophies Won:

Offline relsoft

  • DBF Aficionado
  • ******
  • Posts: 3303
  • Karma: 47
    • View Profile
Re: Which version of C?
« Reply #27 on: September 30, 2011 »
You kidding man! 400 Pounds is more than what I earn in a month! LOL
Challenge Trophies Won:

Offline Dark_Coder

  • ZX 81
  • *
  • Posts: 15
  • Karma: 1
    • View Profile
Re: Which version of C?
« Reply #28 on: September 30, 2011 »
yeh, the rewards are there if you can do it.

when i first started coding way back on the zx spectrum it was all in basic for the first two years. There was one person who stopped me learning machine code and the hardware in that time (myself).. i look back and think wasted two years hehe :)  .

so i say. dont be shy , dive in,  use other peoples source code to help you understand.
if you do you wont look back nor would you want to.

there isnt any wrong way to program something, just different ways (wrong is when it just doesnt work)

oh going off on a tangent now, will stop