Like Tree16Likes

As a Computer Science Engineering Major, is C the best language to start with?

This is a discussion on As a Computer Science Engineering Major, is C the best language to start with? within the General Discussions forums, part of the Community Boards category; Title says it all. My friend recommended I start with C. Just wanted to double check....

  1. #1
    Registered User
    Join Date
    Jul 2011
    Posts
    8

    As a Computer Science Engineering Major, is C the best language to start with?

    Title says it all. My friend recommended I start with C. Just wanted to double check.

  2. #2
    Registered User
    Join Date
    May 2011
    Location
    Around 8.3 light-minutes from the Sun
    Posts
    1,866
    The most important thing you can do is to learn how to program. This cannot be stressed enough. The language you are using is irrelevant, and you will touch many languages during the course of your study and career.
    Salem likes this.
    Quote Originally Posted by anduril462 View Post
    Now, please, for the love of all things good and holy, think about what you're doing! Don't just run around willy-nilly, coding like a drunk two-year-old....
    Quote Originally Posted by quzah View Post
    ..... Just don't be surprised when I say you aren't using standard C anymore, and as such,are off in your own little universe that I will completely disregard.
    Warning: Some or all of my posted code may be non-standard and as such should not be used and in no case looked at.

  3. #3
    Registered User
    Join Date
    Jun 2011
    Posts
    2,435
    In my own opinion, yes. Either 'C' or assembly, but I personally find 'C' more fun.

  4. #4
    Registered User
    Join Date
    Apr 2006
    Posts
    2,047
    No, C is not a good language to start with. I recommend python. As a computer engineer, you should learn C too though.
    laserlight and Salem like this.
    It is too clear and so it is hard to see.
    A dunce once searched for fire with a lighted lantern.
    Had he known what fire was,
    He could have cooked his rice much sooner.

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by sellers04 View Post
    Title says it all. My friend recommended I start with C. Just wanted to double check.
    Just to add to the confusion, I'm going to suggest that it's as good as any...

    As Andrew already pointed out it is very unlikely you'll get into a programming career without having to work with several different languages over the years.

    C is a nasty language with very few built in safeguards, you can do things horrific and wonderful with it... but mostly it will teach you to be careful with your code; good habits you can carry to other languages as you go.

    High level languages like C# and Python do a lot of baby sitting, they allow you to be somewhat wreckless and do a lot of cleaning up after you. While they do give you a good basis in programming, they don't tend to generate careful programmers or programmers who really understand what happens when code goes wrong.... they baby sit and protect you from seeing that... C doesn't.

    A secondary decision hinges upon what you're likely to encounter in specific fields of interest... Embedded devices (Microcontrollers) use C a lot... larger corporations tend to favor RAD tools like C#, where dedicated programming houses tend to favor C++. So think about where you want to work before you get too deep into a given trench.

  6. #6
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Matticus View Post
    In my own opinion, yes. Either 'C' or assembly, but I personally find 'C' more fun.
    Assembler? (cough, spit...)

    (just kidding)
    AndrewHunter likes this.

  7. #7
    msh
    msh is offline
    Novice
    Join Date
    Jul 2009
    Posts
    568
    You've chosen to major in CSE and you're asking what your first programming language should be. Are you trolling us?

    (And wasn't LISP mandatory for everyone majoring in CS? )
    Char*Pntr likes this.
    Disclaimer: This post shows my ignorance at the time of its making. I claim ownership of but not responsibility for all errors in it. Reference at your own peril.

  8. #8
    Registered User
    Join Date
    Jun 2011
    Posts
    2,435
    Quote Originally Posted by CommonTater View Post
    Assembler? (cough, spit...)

    (just kidding)
    I recently finished a project with a PIC that had to be written in Assembly Language for extreme timing precision. It was actually very enjoyable to me!

  9. #9
    Registered User
    Join Date
    Jul 2011
    Posts
    8
    Trolling you? I don't see why this is a strange question. I know i will be learning Java in my first few classes at OSU but during the summer i figured i'd try to learn C

  10. #10
    Registered User
    Join Date
    Jun 2011
    Posts
    2,435
    I suppose the question we should put forth to you is: do you enjoy programming? I've always gotten a strange excitement when I had a reason to code something, which is why I personally enjoyed the challenges of 'C' (mentioned previously in this thread).

  11. #11
    Registered User
    Join Date
    Jul 2011
    Posts
    8
    Quote Originally Posted by Matticus View Post
    I suppose the question we should put forth to you is: do you enjoy programming? I've always gotten a strange excitement when I had a reason to code something, which is why I personally enjoyed the challenges of 'C' (mentioned previously in this thread).
    Yes i do very much. I recently just made a small program for my grandfather for his method on betting for horse racing. Funny i know.. hah

  12. #12
    Registered User
    Join Date
    Jun 2011
    Posts
    2,435
    Quote Originally Posted by sellers04 View Post
    Yes i do very much. I recently just made a small program for my grandfather for his method on betting for horse racing. Funny i know.. hah
    Perhaps funny, but also valuable. The trick to learning anything is to just keep doing it. It's difficult to think of programs to code "for practice," so grab any idea you can get and run with it.
    CommonTater likes this.

  13. #13
    Registered User \007's Avatar
    Join Date
    Dec 2010
    Posts
    179
    C is fantastic to learn first because it is a pretty small language. There isn't a lot of extra functionality. You can learn how to program because you are given all the necessities and nothing more.

  14. #14
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by Matticus View Post
    I recently finished a project with a PIC that had to be written in Assembly Language for extreme timing precision. It was actually very enjoyable to me!
    Masochist!
    Matticus likes this.

  15. #15
    Registered User
    Join Date
    Jun 2005
    Posts
    6,344
    Quote Originally Posted by \007 View Post
    C is fantastic to learn first because it is a pretty small language.
    If you view C as a "pretty small language", then that means you only use a "pretty small subset" of C.
    AndrewHunter and iMalc like this.
    Right 98% of the time, and don't care about the other 3%.

Page 1 of 2 12 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Computer Science / Sofware Engineering
    By zacs7 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 12-18-2008, 04:23 PM
  2. Computer science major?
    By aznprincess888 in forum A Brief History of Cprogramming.com
    Replies: 14
    Last Post: 03-26-2008, 06:49 AM
  3. Computer Science vs Computer Engineering degree
    By PCG33K in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 10-03-2007, 07:13 AM
  4. Computer Science or Software Engineering?
    By zacs7 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 08-10-2007, 11:56 AM
  5. Software Engineering vs Computer Science
    By Philandrew in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 02-06-2005, 08:55 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21