What languages do you program in?

Here are the languages I’ve programmed in, fruitiest first:

Prolog - I hate this thing. I had trouble getting even my teensy lame-o programs to work correctly.
Haskell - Functional programming is cute, but it’s still a research tool only. (We actually did some limited I/O in this - yuck.)
PLEX- proprietary Telco language (Programming Language for Ericsson Exchanges)
Turbo Pascal - Two solid years in high school
Graphical SDL - nonproprietary Telco/god knows what language
SPARC Assembly
Perl
C++
C
Java

No, QBASIC was open in a window on my desktop when I posted the OP.

**
I’ve used OS-9, but not for embedded controllers, and very limited home computers, so I know the importance of fast, compact code.

**
I always thought Level 1 (and Level 2) to be very nice implementations of BASIC, at least compared with the competition. There was a book of routines for it that made for insanely cool business apps.

Hi tracer, glad to meetcha.

Maybe so, but it feeds the bulldog. In fact that bulldog’s been eating so well lately, he needs to go on a diet.
Actually, RPG IV is pretty cool, although display screens are still incredibly tedious.

Yeah, but are you having fun? :wink:

I’d like to learn Java. But my boss has some kind of mental block against it. I can’t explain it.
Anyway, as you probably know, almost any scripting language will work for ASP. Basically, what I’ve done so far calls the DB2 database on the AS/400 using SQL, and then formats the data for browser consumption with a peculiar mixture of VBscript and HTML.
It’s (relatively) fast and impresses the customers.
If the customers are happy, my employer is happy.
And if my employer is happy, he gives me money. :smiley:
(I can always plug in some Java script later.)

tracer asked:

JavaScript. You? Let me guess… all three? dropzone said jave is boring, but I like it.

Java is boring because everybody seems to be programming in it.

So, any FORTH programmers out there? I once said that I assumed that the only two people who were ever paid to program in FORTH were probably Dopers, so prove me right!

And do any of you program rather than play computer, especially RPG, games because, if you are going to solve puzzles and get your wording just right you might as well have something to show for it?

And why can’t programmers spell? My programmer friends are, as a group, appalling spellers. I would think that spelling would be important in programming.

Yeah, I know what you mean. I ended up in a C class because there were no C++ classes at our local junior college. ::rimshot::

Cuz thatz whut cumpylers r fore.

Nah, the compiler will catch those syntax errors.

Of course, I won 6th place in the Iowa state spelling bee in 8th grade :smiley:

True, but won’t the debugging process be a lot faster without syntax errors?

Pascal
C++
VB

HTML
JavaScript
Perl

I like scripting languages a lot better. They seem so much more flexible when it comes to variable declaration.

Pardon a question from an obsolete guy who is not current with the computer languages, but what is a “scripting language?”

At work I use UniBasic. For recreation, I…don’t program. I’ve take Pascal classes and started a C++ class (I dropped it because the instructor chose to read from the text as his lecture), as well as dabbled in VB and some application-specific programming (scripting?)languages (e.g., FileMaker Pro). I general, however, I’ve just been too lazy to come up with a practical use for any programming outside of work.

From reading all of the previous resonses, I feel inadequate and ignorant. :slight_smile:

I’ve programmed in:
QBasic
Commodore Basic
the version of basic on my TI-86 (if that counts)
Javascript
Java
C++ (currently learning)
x86 Assembly (just a “Hello World” program)
Visual Basic

I’m not an expert at any of these languages, but I’ve gotten pretty decent at QBasic and Javascript/DHTML.

Reasonably conversant in:
C/C++
Java
VB
Perl
Lisp
x86/PPC assembly
Pascal
The web stuff (HTML,XML,JavaScript,ASP in Jscript,PHP n so on)
shell scripting (ksh/sh/bash)

Can read/crank out a few lines in:
Tcl
Python

My current addiction is Perl, perhaps it’s the attraction of incomprehensible code without line feeds? :slight_smile:
perl -e ‘$k=$ARGV[0];print " $k
";($k<4)&¨$j=int(sqrt($k))+1;$l=2;while(($l<=$j)&&($k>($l**2))){$m=$k/$l;$n=0;while(int($m)==$m){$k=$m;$m=$k/$l;$n++;}($n)&&(print "$l ^$n ($k left)
");(($l==2)&&($l++))||($l+=2);}($k>1)&&(print "$k ^1
");’

I’m sure I’m forgetting something, but if I am I probably would need to play around and refresh my memory of it anyway.
Oh! QBasic! I actually wrote a little maze game in basic, some fractal stuff… Hm. Think the maze game is on my fried HD :(.

Maybe theres a better definition, but here’s what I’ve gathered from the times its been applied to languages I use.

A scripting language generally:

is interpreted, not compiled
is useful for little utility programs
has eval()
has a big standard library

BTW, languages for me:

Use a lot:
C/C++
Perl
Python
XML/HTML/XHTML

Used for a bit, could still read:
Dylan
Java
Lisp
Tcl
csh
Lingo
AppleScript
SQL

Learned for a class, promptly forgot:
ML
Prolog
Pascal
MIPS assembly

And a few others that are either special purpose, or ones I wrote.

And a typical scripting language is?

And I suppose eval() evaluates an expression?

Humor me. I’m dumb.

eval() at least in shell script, is a function that returns the exit status of the arguments given it when evaluated as a command (compare exec()). In general I believe they mean that scripting languages allow easy invocation of external applications - acting as a “glue” to put together pre-existing code. In Perl, anything between `` is evaluated as a command and the output returned. system() does not return anything. You could also use pipes.

As to your original question. When forced to use Windows 9x/NT, I install Cygwin shell as soon as possible, then turn on QuickEdit mode. I then compile Perl.

From then on, I have a reasonably fast tool for quick little projects, and a shell I am fairly familiar with.

(Watch the scales fall from my eyes as I remember bits of my hard-won education)

Hey! I think I know what you’re talking about! Boy, that sounds almost like fun–quick results with minimal effort, the soul of parttime programming.

I need to learn Perl anyway since the only decent free home automation software I’ve found that works with my stuff gets scripted in Perl. Unless I write one myself–don’t need all the fancy features this one has and want it to run on something less demanding, like my ol’ floppy-only Toshiba laptop. I finally have the QuickBasic subroutines, so all it’ll take is for me to stop wasting my time here.

Ok. I have got to go to bed now. :slight_smile:
system() is like exec() save for a fork - I meant it doesn’t return the actual output. :slight_smile: