PDA

View Full Version : first programming language



blaze15301
06-15-2010, 01:32 AM
hello again every one.

i am looking for a programming language that is good to learn first. and some pointers. i have done hello world in c++ and C#. so if you would like to suggest something please do.

diluzio91
06-15-2010, 01:33 AM
Well most of the code today is done with object oriented programming... I would go for Java, as it does a good job of the basics and isnt too hard to learn...

blaze15301
06-15-2010, 01:54 AM
is java a well rounded code. can i use it across most ose's.

x88x
06-15-2010, 10:39 AM
Well, there are two routes you can take:
1) Start with something easy and work on harder stuff later.
2) Start with something really indepth and work up.

If you're planning on doing a lot of programming, I would recommend the second path, and start with C or C++. If you aren't, and just want to get a taste, I would recommend an interpreted language such as Python, Perl, or Ruby.

Another alternative would be to learn Java, which is kinda halfway in the middle. It's a very well developed language, very similar to C#, and is widely used, but since it runs on the Java Virtual Machine (JVM), you will never get down into the really low-level stuff in any OS. However, also because of that, java code will run on any OS with the JVM installed on it.

Personally, I started with Java, but now over the last year or so I've come to regret that, and wish I had started with C/C++. The reason being that now I have to relearn a lot of stuff in order to get down into the low-level stuff.

Drum Thumper
06-15-2010, 03:49 PM
I cut my teeth twenty years ago with BASIC. Like others have said OOE is all the rage these days so I would have to add a +1 to Java.

blaze15301
06-16-2010, 01:26 AM
well considering ive done a bit with c +,C# etc. i think i may do that. now can anyone recommend some good websites and compilers and all that good stuff i actually kinda forget most of it so im gonna start from scratch

x88x
06-16-2010, 01:29 AM
Compiler:
GCC (http://gcc.gnu.org/)

Websites, I'll look around. I have a C++ book that I've found to be pretty good called "C++ Primer Plus". Which do you think you'll go with first? C, C++, or C#?

blaze15301
06-16-2010, 12:47 PM
well i have a idiots guide to C# so ill probably do that then go from there. i found some websites im just not sure if they're are reliable ro not

Oneslowz28
06-17-2010, 11:41 PM
I am in the process of learning C and know enough Python to write custom scripts for RepRap but like drumthumper I cut my teeth with Basic back in the day.The only difference was that his was on a real machine while mine was on a VTech learning lab. If you are comfortable with c and C# then start there.

blaze15301
06-18-2010, 02:22 AM
yeah your the guy whos making the custom temp sensor right. or is that someone else. if your him, you kinda actually encouraged me to try my hand at code again.

Oneslowz28
06-18-2010, 11:22 AM
Yea thats me. Its actually a full water cooling information center. It will read the RPM of 2 fans, 2 pumps, display temperature from 4 locations, display liquid flow rate in lph, and sound an alarm if the flow stops.

Arduino is a fun way to learn c++ well a derivative of it anyway. But I have a AVR devboard that just uses c++ and AVRdude to compile and upload. Of course this is all for physical computing and I know nothing about building software apps or things like that.

blaze15301
06-18-2010, 01:18 PM
wow im amazed i want to do that. but on a side note would you be willing to make and sell one of those when you perfect it. if so how much

Oneslowz28
06-19-2010, 03:29 AM
Yes I am planning on doing that and the price is TBD but should be not much over cost of materials.

dr.walrus
06-19-2010, 06:26 AM
hello again every one.

i am looking for a programming language that is good to learn first. and some pointers. i have done hello world in c++ and C#. so if you would like to suggest something please do.

I would ask you simply this: what do you want to do with your programming? Because if you have a particular theme or project in mind, picking a particular language and specialising in it would make sense.

Some projects require scripting only, and therefore OOP isn't necessary. For example, if you want a list of items inserted into a database, your program would read in pseudocode:

-open file
-read first line
-insert into database
-read second line
-insert into database
-close file

That action could be done without an object oriented language and you could streamline your learning a lot.

If you don't know what you're going to do with your programming knowledge, I would go for Java.

blaze15301
06-20-2010, 12:16 AM
ok well let me know and i will be sure to buy one.

x88x
06-20-2010, 03:42 AM
ok well let me know and i will be sure to buy one.

wah? :?

blaze15301
06-20-2010, 04:42 AM
lol i just pmed you about the fittings thanks for reminding me. and he is going to be selling his water/fan controller thing hes working on.

x88x
06-20-2010, 01:08 PM
Hahaha, oh, that. The post inbetween threw me off. :P