Your Opinion On The Best Language For Beginners

  • (10 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »

137 Replies - 15613 Views - Last Post: 21 September 2012 - 12:57 PM

Poll: Your Opinion On The Best Language For Beginners (170 member(s) have cast votes)

Best language for beginners?

  1. C++ (21 votes [12.35%])

    Percentage of vote: 12.35%

  2. C (18 votes [10.59%])

    Percentage of vote: 10.59%

  3. Pascal (2 votes [1.18%])

    Percentage of vote: 1.18%

  4. Java (23 votes [13.53%])

    Percentage of vote: 13.53%

  5. VB (15 votes [8.82%])

    Percentage of vote: 8.82%

  6. C# (36 votes [21.18%])

    Percentage of vote: 21.18%

  7. HTML (7 votes [4.12%])

    Percentage of vote: 4.12%

  8. Python (35 votes [20.59%])

    Percentage of vote: 20.59%

  9. Assembly (3 votes [1.76%])

    Percentage of vote: 1.76%

  10. Other (10 votes [5.88%])

    Percentage of vote: 5.88%

Language you started out with?

  1. C (22 votes [12.94%])

    Percentage of vote: 12.94%

  2. C++ (31 votes [18.24%])

    Percentage of vote: 18.24%

  3. Pascal (2 votes [1.18%])

    Percentage of vote: 1.18%

  4. Java (17 votes [10.00%])

    Percentage of vote: 10.00%

  5. VB (28 votes [16.47%])

    Percentage of vote: 16.47%

  6. C# (14 votes [8.24%])

    Percentage of vote: 8.24%

  7. HTML (8 votes [4.71%])

    Percentage of vote: 4.71%

  8. Python (5 votes [2.94%])

    Percentage of vote: 2.94%

  9. Assembly (5 votes [2.94%])

    Percentage of vote: 2.94%

  10. DOS (1 votes [0.59%])

    Percentage of vote: 0.59%

  11. HTML (4 votes [2.35%])

    Percentage of vote: 2.35%

  12. PHP (4 votes [2.35%])

    Percentage of vote: 2.35%

  13. Qbasic (14 votes [8.24%])

    Percentage of vote: 8.24%

  14. COBOL (1 votes [0.59%])

    Percentage of vote: 0.59%

  15. Fortran (0 votes [0.00%])

    Percentage of vote: 0.00%

  16. Delphi (1 votes [0.59%])

    Percentage of vote: 0.59%

  17. Other (13 votes [7.65%])

    Percentage of vote: 7.65%

Vote Guests cannot vote

#61 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 766
  • View blog
  • Posts: 2,913
  • Joined: 12-May 09

Re: Your Opinion On The Best Language For Beginners

Posted 09 March 2011 - 05:53 PM

View PostinsertAlias, on 09 March 2011 - 04:53 PM, said:

There's very few times you can ever say "undeniably" to a programmer. People will swear up and down that VIM (or EMACS) is a much better dev tool than any IDE. It's all personal preference, and you can't really say one way or the other which is "better," except in the context of yourself.

That said, the last thing I would do is have new programmers working in notepad and command line compiling. That's just too much information to absorb at once, when you don't have to.

Emacs and VIM are far superior to simple text editors, also. Notepad doesn't offer anything, and it is not a matter of opinion that notepad is inferior to... well pretty much anything for Java. Of course you'll hate it.

Another advantage for C# for new users is the fact that you know what to use - there's no worry about whether or not you are using the best IDE. Install Visual Studio and be done with it.

This post has been edited by xclite: 09 March 2011 - 06:02 PM

Was This Post Helpful? 0
  • +
  • -

#62 lordofduct  Icon User is online

  • I'm a cheeseburger
  • member icon


Reputation: 2054
  • View blog
  • Posts: 4,049
  • Joined: 24-September 10

Re: Your Opinion On The Best Language For Beginners

Posted 09 March 2011 - 07:11 PM

View Postxclite, on 09 March 2011 - 05:53 PM, said:

Another advantage for C# for new users is the fact that you know what to use - there's no worry about whether or not you are using the best IDE. Install Visual Studio and be done with it.


What about monodevelop...

:D

playing devil's advocate is all
Was This Post Helpful? 0
  • +
  • -

#63 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 766
  • View blog
  • Posts: 2,913
  • Joined: 12-May 09

Re: Your Opinion On The Best Language For Beginners

Posted 09 March 2011 - 08:19 PM

If only it were complete and a true option. One can only dream.
Was This Post Helpful? 0
  • +
  • -

#64 Patrunjel  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 17
  • View blog
  • Posts: 298
  • Joined: 28-October 10

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 02:29 AM

I have seen people complaining about manual memory management in C++.In the other languages there are some tools to do it? Or they just don't let you do it at all? Or they're "dead" after you reach the end of their scope?
Was This Post Helpful? 0
  • +
  • -

#65 Aphex19  Icon User is offline

  • Born again Pastafarian.
  • member icon

Reputation: 603
  • View blog
  • Posts: 1,863
  • Joined: 02-August 09

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 03:53 AM

Ruby was the first language that I used.

print "hello"

Was This Post Helpful? 0
  • +
  • -

#66 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1210
  • View blog
  • Posts: 4,124
  • Joined: 27-January 10

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 04:40 AM

View PostPatrunjel, on 10 March 2011 - 05:29 AM, said:

I have seen people complaining about manual memory management in C++.In the other languages there are some tools to do it? Or they just don't let you do it at all? Or they're "dead" after you reach the end of their scope?


High level languages have what's called a GarbageCollector.

http://en.wikipedia....uter_science%29

tl;dr: It's smart software that detects when a variable can no longer be used, so it discards it and makes that block of memory available again, **automatically**.

This makes for much nicer to read code. :)
Was This Post Helpful? 0
  • +
  • -

#67 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 766
  • View blog
  • Posts: 2,913
  • Joined: 12-May 09

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 06:52 AM

View PostSergio Tapia, on 10 March 2011 - 06:40 AM, said:

This makes for much nicer to read code. :)

At the expense of some performance, but given the errors that can occur when writing your own memory management, the performance cost can be worth it.

This post has been edited by xclite: 10 March 2011 - 07:12 AM

Was This Post Helpful? 0
  • +
  • -

#68 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1210
  • View blog
  • Posts: 4,124
  • Joined: 27-January 10

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 06:56 AM

According to experienced developers who code in both high and low level languages, most cases, performance is just the same as a low level language like C. Can you give some examples of where manual memory management would be faster than say, something like C# or Java?
Was This Post Helpful? 0
  • +
  • -

#69 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 766
  • View blog
  • Posts: 2,913
  • Joined: 12-May 09

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 07:12 AM

View PostSergio Tapia, on 10 March 2011 - 08:56 AM, said:

According to experienced developers who code in both high and low level languages, most cases, performance is just the same as a low level language like C. Can you give some examples of where manual memory management would be faster than say, something like C# or Java?

Performance in Java can approach and equal the performance of C. However, even without benchmarks, it must by definition cause a performance hit to let the machine determine when and what to collect at runtime rather than just following a free instruction. That hit may be negligible or not even noticeable on modern systems with modern compilers/runtimes, and in fact some styles of garbage collector may be preferable rather than managing memory as you go - if you have natural pauses in execution where you can collect crap, you may want to save it all for the downtime rather than using cycles throughout instruction intensive periods. Different styles of GC have different strengths, clearly.

However, that doesn't prove anything regarding garbage collector performance. That just shows how awesome the optimizations have become. In those examples, it is entirely possible that the GC does come with a hit, but the speeds still approach or are basically the same because of the speedups and optimizations of the JVM, for example.

Manual memory management must be faster, but that speed increase isn't always worth the inconvenience of having to deal with it, nor is it always noticeable or even significant.

This is, of course, way off topic.
Was This Post Helpful? 0
  • +
  • -

#70 SpeedisaVirus  Icon User is offline

  • Baller
  • member icon

Reputation: 114
  • View blog
  • Posts: 855
  • Joined: 06-October 08

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 07:15 AM

In almost all cases its just as good. Most programmers are not as good as they think they are and proper algorithmic approaches to a problem are the performance loss source, not GC (in a mature GC'd language). Anything short of real time performance most programmers couldn't make an appreciable difference in C/C++ compared to Java or C#.

Those are the facts.
Was This Post Helpful? 0
  • +
  • -

#71 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1210
  • View blog
  • Posts: 4,124
  • Joined: 27-January 10

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 07:19 AM

View Postxclite, on 10 March 2011 - 10:12 AM, said:

View PostSergio Tapia, on 10 March 2011 - 08:56 AM, said:

According to experienced developers who code in both high and low level languages, most cases, performance is just the same as a low level language like C. Can you give some examples of where manual memory management would be faster than say, something like C# or Java?

Performance in Java can approach and equal the performance of C. However, even without benchmarks, it must by definition cause a performance hit to let the machine determine when and what to collect at runtime rather than just following a free instruction. That hit may be negligible or not even noticeable on modern systems with modern compilers/runtimes, and in fact some styles of garbage collector may be preferable rather than managing memory as you go - if you have natural pauses in execution where you can collect crap, you may want to save it all for the downtime rather than using cycles throughout instruction intensive periods. Different styles of GC have different strengths, clearly.


So you're saying there is a difference, yes. But is the difference noticeable? Will it affect the performance of the application in a noticeable way?

And more importantly: Will that performance offset the business cost and time of the developers?
Was This Post Helpful? 0
  • +
  • -

#72 Curtis Rutland  Icon User is online

  • (╯°□°)╯︵ (~ .o.)~
  • member icon


Reputation: 3793
  • View blog
  • Posts: 6,390
  • Joined: 08-June 10

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 07:25 AM

Quote

And more importantly: Will that performance offset the business cost and time of the developers?


I think that depends on what you're writing. A 3d-intensive big name video game? Yeah, it's definitely worth going the more low-level route with C++.

A big business application? Very unlikely that it's worth the trouble.
Was This Post Helpful? 2
  • +
  • -

#73 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 766
  • View blog
  • Posts: 2,913
  • Joined: 12-May 09

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 07:30 AM

View Postxclite, on 10 March 2011 - 08:52 AM, said:

View PostSergio Tapia, on 10 March 2011 - 06:40 AM, said:

This makes for much nicer to read code. :)

At the expense of some performance, but given the errors that can occur when writing your own memory management, the performance cost can be worth it.


xclite said:

In those examples, it is entirely possible that the GC does come with a hit, but the speeds still approach or are basically the same because of the speedups and optimizations of the JVM, for example.

Manual memory management must be faster, but that speed increase isn't always worth the inconvenience of having to deal with it, nor is it always noticeable or even significant.


View PostSpeedisaVirus, on 10 March 2011 - 09:15 AM, said:

In almost all cases its just as good. Most programmers are not as good as they think they are and proper algorithmic approaches to a problem are the performance loss source, not GC (in a mature GC'd language). Anything short of real time performance most programmers couldn't make an appreciable difference in C/C++ compared to Java or C#.

Those are the facts.

So... basically what I said? Thanks for repeating it.

View PostSergio Tapia, on 10 March 2011 - 09:19 AM, said:

So you're saying there is a difference, yes. But is the difference noticeable? Will it affect the performance of the application in a noticeable way?

And more importantly: Will that performance offset the business cost and time of the developers?

Depends on the language/GC. Java and C# are mature and it's almost always worth letting them do it for you. Languages where GC is an issue also have other causes of slowness as issues. Try using Ruby for something memory intensive and then watch the garbage collector stop the world.
Was This Post Helpful? 0
  • +
  • -

#74 Sergio Tapia  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1210
  • View blog
  • Posts: 4,124
  • Joined: 27-January 10

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 07:41 AM

View PostinsertAlias, on 10 March 2011 - 10:25 AM, said:

Quote

And more importantly: Will that performance offset the business cost and time of the developers?


I think that depends on what you're writing. A 3d-intensive big name video game? Yeah, it's definitely worth going the more low-level route with C++.

A big business application? Very unlikely that it's worth the trouble.


That's exactly the point I was nudging Xclite towards. And since most of us here aren't working for Blizzard working on the next MMO/Call of Duty... ;)
Was This Post Helpful? 0
  • +
  • -

#75 xclite  Icon User is offline

  • LIKE A BOSS
  • member icon


Reputation: 766
  • View blog
  • Posts: 2,913
  • Joined: 12-May 09

Re: Your Opinion On The Best Language For Beginners

Posted 10 March 2011 - 07:43 AM

View PostSergio Tapia, on 10 March 2011 - 09:41 AM, said:

View PostinsertAlias, on 10 March 2011 - 10:25 AM, said:

Quote

And more importantly: Will that performance offset the business cost and time of the developers?


I think that depends on what you're writing. A 3d-intensive big name video game? Yeah, it's definitely worth going the more low-level route with C++.

A big business application? Very unlikely that it's worth the trouble.


That's exactly the point I was nudging Xclite towards. And since most of us here aren't working for Blizzard working on the next MMO/Call of Duty... ;)

I've had it cause issues, but something about classified information doesn't make it susceptible to nudging. Unless you're Bradley Manning ;)

Also I think some people here might like to work for game companies - we've got a pretty big following in the Game Programming forum. Knowing how to manage memory is important, I just wouldn't suggest it first. Which I never did =p

This post has been edited by xclite: 10 March 2011 - 07:52 AM

Was This Post Helpful? 0
  • +
  • -

  • (10 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »