• Easiest programming language to start with?
    77 replies, posted
[QUOTE=Jallen;28481231]Ignore these posts, they are terrible.[/QUOTE] Will do, I guess. Either way, the decision is pretty much been made on my part. C++ is surprisingly easy and well oriented (I think). Maybe I'll try some Python because some of my friends have recommended it. Thanks for all the help, guys, it's much appreciated.
I started with C at college, programming in a linux command line environment... everything after that seemed like the wave of the future. Haha. I'm currently learning C++, as I'm wanting to go into game programming. However, my college kind of taught Java and C++ concurrently after C, introducing the concept of object-oriented programming all at once. I have 0 field experience, but from what I can tell so far, C++ is pretty much what you want for game programming and we've learned some practical applications for Java, such as Android apps and programs that you want to have high compatibility across many systems.
[QUOTE=Bloodydollar915;28481439]Will do, I guess. Either way, the decision is pretty much been made on my part. C++ is surprisingly easy and [b]well oriented[/b] (I think). Maybe I'll try some Python because some of my friends have recommended it. Thanks for all the help, guys, it's much appreciated.[/QUOTE] :v:
Go with C
[QUOTE=Bloodydollar915;28481439]Will do, I guess. Either way, the decision is pretty much been made on my part. C++ is surprisingly easy and well oriented (I think). Maybe I'll try some Python because some of my friends have recommended it. Thanks for all the help, guys, it's much appreciated.[/QUOTE] If you say C++ is easy, then you didn't even tried it. It is extremely powerful though.
Id say go with C++, though its useful to have a knowledge of the C ways of doing things so you understand more about memory management and pointers etc rather than just letting the standard template library do everything for you.
[QUOTE=Icedshot;28492557]Id say go with C++, though its useful to have a knowledge of the C ways of doing things so you understand more about memory management and pointers etc rather than just letting the standard template library do everything for you.[/QUOTE] It's not like you can avoid using new and delete in C++ for anything other than a small program. Learning C is not useful now unless you specifically want to go into driver development or whatever. I can honestly see no reason why someone would pick C over C++ unless they are very worried about overhead / executeable size.
[QUOTE=Charrax;28465867]C++ - Harder Java - Easier[/QUOTE] Errrr, No.
[QUOTE=Jallen;28492829]It's not like you can avoid using new and delete in C++ for anything other than a small program. Learning C is not useful now unless you specifically want to go into driver development or whatever. I can honestly see no reason why someone would pick C over C++ unless they are very worried about overhead / executeable size.[/QUOTE] Im not saying you should pick C over C++, im just saying you should also learn how things like char* work, even if std::strings are a much better way of doing things. Edit: Just to be clear, im not saying you should learn C.
[QUOTE=Richy19;28493083]Errrr, No.[/QUOTE] Been doing C++ for 2 yrs and java for 6 Months, he is right
[QUOTE=Kamshak;28495405]Been doing C++ for 2 yrs and java for 6 Months, he is right[/QUOTE] Has it not occurred to you that you might find Java easier because you've been using C++ for 2 years? :downs: Richy is right.
[QUOTE=Kamshak;28495405]Been doing C++ for 2 yrs and java for 6 Months, he is right[/QUOTE] Me? or the other guy?
[QUOTE=Icedshot;28494035]Im not saying you should pick C over C++, im just saying you should also learn how things like char* work, even if std::strings are a much better way of doing things. Edit: Just to be clear, im not saying you should learn C.[/QUOTE] Ah yes, never forget the wonders of errno. The look of [code] if (DOSTUFF == -1){ perror("DO STUFF FAILED"); exit(1);}[/code] is never going to get old.
For beginners Java looks more confusing: there's a bunch of code (your main class of the program and it's Main function with all those fancy public, ...) that will just be there although you don't understand it and usually is not explained. The simplest C++ program contains less confusing stuff. All the code can be explained to the beginner so he understands what that is for.
[QUOTE=sim642;28507105]The simplest C++ program contains less confusing stuff. All the code can be explained to the beginner so he understands what that is for.[/QUOTE] Hello world in c++. [code]#include <iostream> using namespace std; int main(int argc, char* argv[]) { cout << "Hello, world!\n" return(0); }[/code] Yeah, you can write a more stripped down version, but the extra stuff (or similar code) is pretty much requisite for most c++ programs. Hello world in Ruby [code]puts "Hello, world!"[/code] By your argument, Ruby is even better to learn for beginners. Ruby teaches you how to program in an extremely object-oriented way without needing to worry about the formality of most other languages.
[QUOTE=BlkDucky;28495708]Has it not occurred to you that you might find Java easier because you've been using C++ for 2 years? :downs: Richy is right.[/QUOTE] Hmm I didn't take that into consideration :) In Java you don't need to care so much about new/delete and there are easy classes for just about everything shipped so you'll get success experiences very fast. C++ is a bit overwhelming to start with IMO, and learning C is just bullshit, once you got used to that procedural programming you'll have a hard time migrating to a OO view at code. And even with C++ you'll never get around pointers and C-Strings(implied you dont use that wierd .NET C++).
java
I can't understand why you hate Pascal, it's a language that was made to teach programming people, it's true it's old but it the best to get good habits and learning. One proffesor of my university talks us about a study that was done in two different groups of the same subject. 1st were teach 4 month of ruby, the 2nd one were tech 2 month of pascal and 2 month of ruby. At the final exam those those who learned pascal made more clear code and commit less errors than the otherones. This is because pascal maybe is not the best language to do useful stuff but it is good to put in orther the programers brain.
It's really similar learning any language. Pick one and go with it. What you learn in one can often be applied to others - just look up "quick differences" sheets to see common areas where your one language wouldn't work in the syntax of another.
Lua :downs:
Learning C as your first language might not be the easiest, but then you'll get to know about things like pointers and memory management, if you want to learn the easiest programming language I'd have to say assembly.
[QUOTE=dajoh;28526145]Learning C as your first language might not be the easiest, but then you'll get to know about things like pointers and memory management, if you want to learn the easiest programming language I'd have to say assembly.[/QUOTE] Because not actually having any constructs or simply readable operations, let alone a standard library or even datatypes is easy for a beginner? Could you please be a troll pretty please :v: [editline]10th March 2011[/editline] Well okay, sure there's jmp (and associated) and longjmp but meh
[QUOTE=esalaka;28526165]Because not actually having any constructs or simply readable operations, let alone a standard library or even datatypes is easy for a beginner?[/QUOTE] It wouldn't be easy to create things with it, but it would be the easiest to learn. Also, most of the operations are "readable", like mov or jmp.
My first language was Turbo Pascal back in the day. Then I learned c++ for me it turned out alright.
[QUOTE=dajoh;28526230]It wouldn't be easy to create things with it, but it would be the easiest to learn. Also, most of the operations are "readable", like mov or jmp.[/QUOTE] That might be but neither memory management nor pointers nor assembly is any fun to a beginner. You don't really get anything done that could motivate you. In java however, you have fast success, don't need to give a living fuck about the memory and you can easily trace your errors(which can be very tricky in C/C++ especially when working with pointers and the like). Besides, why does a beginner need to know about memory management without even knowing basic code design and common data structures? A beginner also doesn't need the speed C++/ASM can offer, it just has to be fast enough to run. I can't say anything about pascal but it's syntax looks a bit fucked up and my friend says it's horrible. I absolutely hate Ruby(for no solid reason) so don't do that.(Or maybe give it a try if you want to)
[QUOTE=Kamshak;28530092]That might be but neither memory management nor pointers nor assembly is any fun to a beginner. You don't really get anything done that could motivate you. In java however, you have fast success, don't need to give a living fuck about the memory and you can easily trace your errors(which can be very tricky in C/C++ especially when working with pointers and the like). Besides, why does a beginner need to know about memory management without even knowing basic code design and common data structures? A beginner also doesn't need the speed C++/ASM can offer, it just has to be fast enough to run. I can't say anything about pascal but it's syntax looks a bit fucked up and my friend says it's horrible. I absolutely hate Ruby(for no solid reason) so don't do that.(Or maybe give it a try if you want to)[/QUOTE] I never said anything about C++, and I specifically said that learning C wouldn't be the easiest, however I do think that if you learn about stuff like memory management and pointers from a language like C you will be able to pretty much learn another language in just a few days. Also, I never said assembly was the easiest language to [b]create[/b] something with, I simply stated that I think it is the easiest language to [b]learn[/b].
Python's hello world: print 'Hello World' doesnt get any easier than that (in Python 2.x)
In Python 3.x it's actually [code]print("Hello World")[/code]
C#.
Brainfuck , LOLCODE, BASIC, Objective-C just pick one :v:
Sorry, you need to Log In to post a reply to this thread.