What language do you program in? (was: pissing contest)

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

notfred

Lifer
Feb 12, 2001
38,241
4
0
I work in perl every day, but I'm going to invest some time into learning Objective-C as soon as my book from o'reilly is delivered.
 

Chaotic42

Lifer
Jun 15, 2001
34,778
1,953
126
I prefer Python for big programs, Perl for little scripts. I really like Python. The O'Reilly book should have had a swallow on it though.
 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: Yomicron
I really like Smalltalk. One of these days I want to learn Python.

Objective C is supposed to be an extension of C, except instead of adding objects likle they did in C++, they tried to add them more like Smalltalk. Thing is, I've never even seen smalltalk, so I don't know what that's like. Mind elaborating a bit? :)
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Chaotic42
I prefer Python for big programs, Perl for little scripts. I really like Python. The O'Reilly book should have had a swallow on it though.

I have fallen in love with python in the past month or two.

For anything tiny, I usually use shell scripts, for anything bigger I use python. Sometimes I try to do big things in shell, but with all of the looping and forking (grep, awk, etc) they get so slow. I made a python script that printed out probably a tens or hundreds of lines a second, while the shell equivelant printed a line every second or two. Last time I try that ;)

The problem I run into is that I sometimes expect something to be small at first, then I keep adding and changing, and all of a sudden I have a huge, unwieldly shell script, then I have to rewrite it. Perhaps I should just do everything in python from the get-go :p
 

DaFinn

Diamond Member
Jan 24, 2002
4,725
0
0
Woot,

Cobol has got 0 votes... well it sucks anyways. Too bad my company still uses old (ancient) programs made with cobol => me needs to use it... :disgust:


My vote goes to C++


-DaFinn
 

Chaotic42

Lifer
Jun 15, 2001
34,778
1,953
126
Originally posted by: BingBongWongFooey

The problem I run into is that I sometimes expect something to be small at first, then I keep adding and changing, and all of a sudden I have a huge, unwieldly shell script, then I have to rewrite it. Perhaps I should just do everything in python from the get-go :p

That's probably a good sign...

;)
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: notfred
Originally posted by: Yomicron
I really like Smalltalk. One of these days I want to learn Python.

Objective C is supposed to be an extension of C, except instead of adding objects likle they did in C++, they tried to add them more like Smalltalk. Thing is, I've never even seen smalltalk, so I don't know what that's like. Mind elaborating a bit? :)

I've only heard good things about obj. C. I can get by on scripting languages really, I'll save compiled languages for college, too much work. :)
 

Barnaby W. Füi

Elite Member
Aug 14, 2001
12,343
0
0
Originally posted by: Chaotic42
Originally posted by: BingBongWongFooey

The problem I run into is that I sometimes expect something to be small at first, then I keep adding and changing, and all of a sudden I have a huge, unwieldly shell script, then I have to rewrite it. Perhaps I should just do everything in python from the get-go :p

That's probably a good sign...

;)

You sayin my code is bloated!??! :p
 

Chaotic42

Lifer
Jun 15, 2001
34,778
1,953
126
Originally posted by: BingBongWongFooey

You sayin my code is bloated!??! :p

Well, when you build in UT2003 into a backup script so that you have something to do while it's working, you might have a problem ;)



 

notfred

Lifer
Feb 12, 2001
38,241
4
0
Originally posted by: BingBongWongFooey
Originally posted by: notfred
Originally posted by: Yomicron
I really like Smalltalk. One of these days I want to learn Python.

Objective C is supposed to be an extension of C, except instead of adding objects likle they did in C++, they tried to add them more like Smalltalk. Thing is, I've never even seen smalltalk, so I don't know what that's like. Mind elaborating a bit? :)

I've only heard good things about obj. C. I can get by on scripting languages really, I'll save compiled languages for college, too much work. :)
Well, I'll find out about Objective C soon enough... where's my damn book? Amazon, you listening?
 

ROTC1983

Diamond Member
Oct 2, 2002
6,130
0
71
All we are using right now is Java. I can't handle this decrepit worksheets that the teacher gives out anymore though. It is midnight and I still have 12 pages of this crap. Can't wait till it is over...
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
Now: mostly C++/MFC, but some Perl, ASP, VB6. (DOS C++ and BASIC PDS at the start at my old job).

College: Pascal, Prolog, 8080 & 8086 assembly

Old days: BASIC on TRS-80, Atari 800, Commodore 64; 6502 assembly on Atari & C=64
 

yoda291

Diamond Member
Aug 11, 2001
5,079
0
0
I hate perl...I hates it sooo much I could spit. But I have to code it because I'm almost always guaranteed to have access to perl on damn near any unix system in existence. I like python....I love php.

I like coding in java a lot, but I like the end result in C much better. C++ is, quite possibly, the only language harder to debug someone else's code in than perl, but I don't mind it so much. For windows programming, I use vb all the time because it's quick and most things I need in windows can be done quickly enough in vb, or should be run on a server, where I can use php.

I really should put mod_python on my rig sometime tho.
 

Snapster

Diamond Member
Oct 14, 2001
3,916
0
0
C++ is my primary language, tho C/VB/PHP/Perl/Java/JS are on my list.

Working on getting on C# and VB.Net at the moment