Which language should I start with?

10/18/2010 17:04 saxer1#1
Well I wanted to ask this question some time ago already but I never did for unkown reason :) Now "SRO Coding" section gave me an opportunity to ask.

Well I know basics of programming, I think. I did C# some Java, HTML(I know its not used to code in SRO but it is language anyway), do some stuff with MySQL and watch alot of youtube "basic" guides for C++ and PHP...
Now I need to know which language should I choose and which one has the most potencial to code in SRO.
For now I'm in middle school where we will learn those languages next year(for now I'm first class - 15 years) and I need to know which language should I focus in.

But anyways, back on topic, I really looking forward for that and I'm eally interested in it. This might be usefull to someone else either.

Thanks for your replies, cheers.
10/18/2010 17:14 chea77er#2
You can use any language you want. There are some Language you can learn faster, and some you can learn slower.
10/18/2010 17:17 vpegas1234#3
i think for start (thats what i did) learn vb.net or/and vb6. its pretty basic for beginners and then you can do nice programs xD

im now learning c++ its not as basic as vb.net but is not very hard. (like someone said in a tutorial: it dependes on what you wanna make xD)
10/18/2010 17:44 lesderid#4
Quote:
Originally Posted by vpegas1234 View Post
i think for start (thats what i did) learn vb.net or/and vb6. its pretty basic for beginners and then you can do nice programs xD
VB6 is one of the most deprecated languages out there. Do NOT use it.

VB.Net is a good choice (it was my first programming language), but if you want to do some more advanced programming, I advice you to use C#.

If you don't like the .Net Framework for some reason (portability of CIL etc.), you should use Java or C++.

So, if you use Linux as your platform, I wouldn't mess with .Net languages. I know there is Mono to interpret CIL but it is a pretty big performance loss.

Quote:
Originally Posted by vpegas1234 View Post
im now learning c++ its not as basic as vb.net but is not very hard. (like someone said in a tutorial: it dependes on what you wanna make xD)
Good luck with your C++ lessons!
10/18/2010 17:51 saxer1#5
Quote:
Originally Posted by lesderid View Post
VB6 is one of the most deprecated languages out there. Do NOT use it.

VB.Net is a good choice (it was my first programming language), but if you want to do some more advanced programming, I advice you to use C#.

If you don't like the .Net Framework for some reason (portability of CIL etc.), you should use Java or C++.
Isn't VB.Net=Visual Basic=Program for programming?

I use Windows for now but my brother code in Java and he use linux so I know linux is better and I will install it on my new laptop when I get it
10/18/2010 18:02 lesderid#6
Quote:
Originally Posted by saxer1 View Post
Isn't VB.Net=Visual Basic=Program for programming?
First of all, don't compare VisualBasic to VisualBasic.NET. Do some research, the language totally evolved from version to version and it can't be compared to older versions anymore. For example, try to convert SREMUVB to VB.Net, it will take a lot of time, believe me ;)

Also, I don't really get what you mean with 'Program for programming'.

Quote:
Originally Posted by saxer1 View Post
I use Windows for now but my brother code in Java and he use linux so I know linux is better and I will install it on my new laptop when I get it
Linux and Windows have their own advantages and disadvantages.

For example, an advantage for using Windows is that it is extremely popular so if you want to use programs, they'll probably be for Windows and not for inux.

An advantage for linux is the big open source community and programming community. There are a lot of programming tools available that are only for linux and that people wouldn't even think about porting it to Windows.
10/18/2010 22:57 Schickl#7
Quote:
Originally Posted by saxer1 View Post
I use Windows for now but my brother code in Java and he use linux so I know linux is better and I will install it on my new laptop when I get it
I'd rather install windows on the Laptop and run Linux in a virtual machine or install both

you could get some problems with games at linux^^

and the most basic language u can start with is C^^
C is rly easy
10/19/2010 01:43 bootdisk#8
C is obsolete and a very bad option for starters.
  1. first of all you've to declare variables at the beginning of each function (some programmers usually add brackets '{''}' and they declare them inside in the middle of their programs if they need to). One guy at my work said that it was made in that way because in those times they thought it was the way to go.
  2. you don't have boolean data type, so you've to declare your own.
  3. by default, every function returns integer data types, so if you've a function declared in a c file and you're going to use it in another without including the declaration (by using a header file, etc) the compiler will give a warning, not an error but it will assume that it returns an integer. If you're not careful when you're writing a program (you don't pay attention to warnings) you will mess all your program.
  4. C is permissive as hell. If you port a program from C to C++ you will notice that most of the times you'll have to cast everything.
  5. talking about porting... most of the times when you're porting a program to C++ and it was made in C you've to use the infamous keyword 'extern'. That's is a good way of mess much more an application made in C.

(those points above are because I've been porting C code to C++ the past 3 months. those were 2000 tools).

I wouldn't recommend C as an start up language.

C and C++ has tons of stuff which is related to pointers, references, abstract data types, etc, etc, etc...

I'd recommend something more friendly, something that actually let you get fun while programming, because I understand that we don't want to code a fibonacci program or mess around with bitwise operations and so, here is my personal list:
  • Python: why? it comes with too many modules and it lets you write stuff with the less effort. Fun & easy.
  • Basic like language: ok, a dead language, blame me, kill me... but most of the people repeats what they hear from others, nobody actually has went deeper enough (I was 12 when I wrote my first game on it).

I could 'quote' more but as an start up language, I'd pick any scripting language and going step by step. I'd prefer coding in for example VB4 (yeah, I tried) than writing in C or C++ what I call, crap code.


About linux or windows... I wouldn't think about OSes specific apis yet.
You've 1 goal: programming, so go step by step and what it makes you feel more comfortable.
10/19/2010 09:31 chea77er#9
Yep i accept to bootdisk.

Window or Linux.. dont thing about it. If you learned 1 Language it will be easier to learn other languages.
10/19/2010 19:30 vpegas1234#10
c++ isnt much hard. just need to pay attention to the tuts and it will be fine.
I keep saying that vb6 or vb.net are the easiest languages to beginners.(for me)

An advise to all programmers (if you dont do this of course): DO LIKE ME LEAVE COMMENTS ON YOUR PROJECTS AND IT WILL BE EASIER :D

keep cool people
Thanks
10/19/2010 21:09 Schickl#11
never said that C is a good language to start
but i did and i have no problems with the "crap code" as u call it
10/22/2010 21:35 kevin_owner#12
I started with PHP to program (i'd to do it for school) but you already have some programming experience so. If you buy a good book or if you have a good resource to learn from it's easy to learn the basics of C++ really fast.

Btw, (from my own experience) learn the basics of C++ first before you start digging in some more advanced aspects of C++.
10/23/2010 00:42 vpegas1234#13
c++ is cool xD
php is just for web :S i dont like web very much, but in "expert" in php you can do nice things.
10/23/2010 07:29 lesderid#14
Quote:
Originally Posted by vpegas1234 View Post
php is just for web :S
[Only registered and activated users can see links. Click Here To Register...]
10/23/2010 15:32 Shane¸#15
I started to learn coding with Pascal and C#. PHP is the best at the beginning, I think.