Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   What language do you use? (http://www.chiefdelphi.com/forums/showthread.php?t=50144)

1strobotixrox 28-11-2006 15:05

What language do you use?
 
Hey, my team is new, so i was just wondering what programming language you guys use. I've heard of C, C++, EasyC, and Java. Which is best? Personally I know a little Java, but I haven't really heard good things about it on the forums.
-Thanks

Stuart 28-11-2006 15:24

Re: What language do you use?
 
well depends on what Im doing . . robot coding I use C,
I/O programing on my PC I use C++,
any thing that I want to look "pretty" I use Java,
and I use ruby when I just want it done.

Donut 28-11-2006 15:24

Re: What language do you use?
 
C and EasyC are the two that FIRST provides teams with, and that there is default code written for (I think there's default code for EasyC...).

I thought C was relatively easy to learn, and for what you're doing on the robots it can be done without getting horridly complicated (it can get complicated, but you can do all the basic things and alot of advanced ones without it being too hard).

If anyone ever got courageous they could program in assembly too, but I don't imagine that being all that enjoyable.

theycallhimtom 28-11-2006 15:39

Re: What language do you use?
 
For robotics I use C.
For school I use Java.
For most other projects I use Python.

neilsonster 28-11-2006 15:46

Re: What language do you use?
 
EasyC is great for beginners, as it is easy to understand and it shows you the code it generates as you go (so hopefully the programmer will learn along the way).

C is a very good language to use for the types of applications seen in FRC. Compared to C++ and Java, it is a very "light" language which still has all of the functionality you will need to program your robot. This is important since the IFI Robot Controller that you get with the kit of parts doesn't have too much processing power or memory in comparison to your personal computer. As far as I know, C is the standard in embedded-level programming.

As far as C++ and Java go, you will get lots of different opinions. I personally prefer C++ because there are lots of things you can't do in Java that you can get away with in C++. The downside is that it's easy to write code that breaks! I use C++ for both school and my own projects.

Java, on the other hand, sort of forces you to be a better software developer by taking care of memory management and providing plenty of built-in libraries to use. Java is also not dependent on any specific operating system, so a lot of companies use it to make their software more versatile. So far I have really only used Java for school, but at my next co-op job I'll be doing software development using Java.

fowlerm 28-11-2006 16:37

Re: What language do you use?
 
Robot Development - C18 and ASM (to speed up interrupt handlers)
Desktop/Server Development - C# and .NET 2 or VC++ 8
Mobile Development - C# and .NET Compact Framework

EHaskins 28-11-2006 16:52

Re: What language do you use?
 
Quote:

Originally Posted by fowlerm
Robot Development - C18 and ASM (to speed up interrupt handlers)
Desktop/Server Development - C# and .NET 2 or VC++ 8
Mobile Development - C# and .NET Compact Framework

Sounds like me. :D

Except ASP.net 2 for web development.

chris31 28-11-2006 16:59

Re: What language do you use?
 
C for robotics
Java for school
Whatever i feel like messing with for all other projects

GRaduns340 28-11-2006 17:49

Re: What language do you use?
 
Although I'm not programmer for our team, we use C for the robot.
I use Java for school and some other projects.
PHP and MySQL for most of what I do (web development)

Alexa Stott 28-11-2006 17:56

Re: What language do you use?
 
C - robotics
Java - school
C++ and/or Java - other stuff

Pat Fairbank 28-11-2006 18:21

Re: What language do you use?
 
I use:

For robots - C
For school - C++
For work - PHP, Delphi
For OS development - ASM

Jimmy Cao 28-11-2006 19:40

Re: What language do you use?
 
Here's what i use various languages with.

C = robotics. It's hardly ever used anywhere else.
C++ = for fun. Since my school dosen't have a programming class, i dont use it at school. I just use it to make random stuff at home.
Java = website programming, usually. Java is often used online.

There are also various other languages out there. Many can do the same thing. As far as robotics is concerned, knowing C is enough.

Ryan M. 29-11-2006 06:37

Re: What language do you use?
 
C++ and C# are my two main languages.

Joel J 29-11-2006 06:46

Re: What language do you use?
 
I use C for FIRST. I don't like EasyC.

PHP -- web
C++

There are a few others, but they aren't used frequently enough.

et1337 29-11-2006 07:45

Re: What language do you use?
 
C for FIRST
C# for fun
Did some C++ and Java once upon a time.

I think C# is basically Java, but not broken. And with no crossplatform support. And some cool features. :cool:


All times are GMT -5. The time now is 15:31.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi