Tiny Core Linux

Off-Topic => Off-Topic - Tiny Tux's Corner => Topic started by: Lee on December 11, 2008, 11:04:22 AM

Title: What was your first programming language? Favorite? Least Favorite?
Post by: Lee on December 11, 2008, 11:04:22 AM
Also in the vein of clivesay's question, and Neo's, what are your experiences with various programming languages?

I'm trying to get a better idea of who's out there in TC land.

For me: First: BASIC.  Favorite: C.  Least Favorite: COBOL.

After learning some BASIC, FORTRAN and COBOL (yuck) in college (and dropping out of college), I set out on a quest to learn some more about computers.  I taught myself Pascal, Forth, dBASE III Plus, Clipper and assembler and had a hard time with C.  Then I went back to school and took a class in C and it was easy - to this day I'm not sure why I ever had trouble with it.  Then  classes in C++, Java, VB, HTML, javascript and even one in regular BASIC.  Yeah, I know HTML's not a "programming" language.

Now I'm doing mostly EDI work in MUMPS and some shell scripting on UNIX.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: Jason W on December 11, 2008, 01:32:23 PM
Shell scripting is the only type of programming I have experience in, though I am eager to learn C.  I can look at a C source file and make small changes but I would like to be further able to write or modify C programs.  It is such a universally used language, especially with Linux related apps, that learning it would seem a good investment.  At this stage in life I don't have time to learn more than one language, and even that will cut into other things, so C gets the nod.

I have "C for dummies" and a couple others, but I plan to get the K&R book I have heard so much about and do some deeper learning.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: mikshaw on December 11, 2008, 04:47:15 PM
First: Basic.  I didn't spend much time with it, and didn't learn anything beyond printing stuff to the screen.  As I said in the other thread,  I hated it.

First language I learned comfortably: Actionscript (Flash 4).  I had already gotten sick of Flash by the time Actionscript became widely considered a programming language, though (Flash 6, a.k.a Flash MX), so again maybe this doesn't count.

I never actually started enjoying programming until I tried Linux and shell scripting.

After that, I got into using Lua thanks to Robert and Jay Carlson.

I have never learned much beyond that...Perl and Python annoy me from an enduser's point of view, so I have no interest in them.  C/C++ are the only "real" languages I have any interest in, but I've had a hard time getting myself to stick with the studies.  Apart from that, Ruby looks interesting, but never found the time to study  it yet.

Favorite is still *nix shell, since I can quickly make a script to tie together a pile of programs that other people have already created.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: lagagnon on March 14, 2009, 07:07:02 PM
First: FORTRAN. Favourite: Tcl/Tk Least Favourite: C++ Now learning: Python.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: softwaregurl on March 15, 2009, 02:39:02 AM
first would be Integer basic, fav was the included mini assembler. I kind of wish it was still practical to write in that low level of language. When I got stuck without a copy of the mini assembler I would grab the book and program with the two digit hex codes.
For now it's mostly perl because, coupled with a web server, the end user has a familiar web interface (sorry mikshaw :P).  I was very disappointed with c++ for windows 3.1x and dropped it but now that I'm getting more into Linux I'm spending some time getting back into c/c++. Shell is difficult because I use it so little that I've forgotten what I learned by the next time I use it.  Right now I'm trying to understand using regex with utf-8.  Wasn't keeping track and some things Ive written quit working.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: fos on March 24, 2009, 04:24:42 PM
My first was Fortran with punch cards in the early 70s, crt terminal were experimental and unreliable. I graduated to an early BASIC on an IBM selectric terminal. I eventually learned C and Turbo C++. I would have to say my favorite ic ANSI C. But I have always been an amateur so take my opinions with a grain of salt.

Jeff
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: Flymo on March 26, 2009, 11:57:37 PM
Hex!  I started with Hex machine code on the SC/MP in 1977

C4 = LDI = Load Immediate


Not long after, I was introduced to a High Level Language -> NIBL
http://www.dos4ever.com/SCMP/SCMP.html#NIBL (http://www.dos4ever.com/SCMP/SCMP.html#NIBL)

Neither of them involved writing more than a few K of code, but
that was all the memory there was in the world at that time. Well,
that was what my boss told me. 

NIBL was surprisingly good, the indirect '@' operator was demon
for creating useful integer (8-bit) variables and (best of all) banging
or reading bytes in memory-mapped I/O, it is so nearly a favourite.
Lean but effective, designed for the task it performed.

>>>>off topic<<<<<
SC/MP was afaik the first multiprocessor micro architecture sold to
the public. I still have the demo card in the attic. It is neat.
For a long long time it looked like being the last of the multiprocessors,
but Casey Powell at Sequent picked that up with a successor to the
SC/MP, the NS32000 family in 1983/4.
http://en.wikipedia.org/wiki/Sequent_Computer_Systems (http://en.wikipedia.org/wiki/Sequent_Computer_Systems)

Sadly, it was at that time very much an Intel world, and Sequent
switched to them for the next design iteration, although Casey
told me that it was a backward step in many ways.

Now Intel and AMD are enjoying the fun of multiprocessing - the devil
is in the software segmentation.  32 years ago, that was also true.
>>>>back again<<<<<

Fave language has to be FORTH, the implementation on the
Jupiter Ace.  Fell in love with that, bigtime.  Wrote some very
very unreadable code, too! ???

Unfavourite is C++.  Just as I was getting the hang of C, not
a great love, but useful enough, along comes this Object OOP stuff
that cluttered up the scenery with fuzzy concepts and  h u g e
compiled code.         Most of the time (when coding) I was happily doing
similar applications in Assembler for Z80/NSC800 and COP400 single-
chip micro - in about a tenth of the ROM needed by the compilers.
Of course, it all had to fit inside 64K, or 640K, or less than 1K on
some  COP400  low cost versions (like 50c in volume).
Today code is so big that different approaches are clearly needed,
guess I ought to learn something more useful!

<sigh>
 ::)
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: fos on March 27, 2009, 04:06:54 AM
The university I attended had a quad core Sequent machine running Unix in the early 90s. While taking a C/Unix intro course there were only four unix terminals in the computer lab. There were over a hundred students.

I solved my problem by loading MW Coherent on a Zeos 386 laptop. I actually got an early version of X Window running on it. The MW K&R C compiler was excellent. It was fast and produced very efficient code.

Jeff
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: nickispeaki on April 09, 2009, 03:03:56 PM
first basic and Russian Algorithmic Language. Then favorite Pascal.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: alanbcohen on April 10, 2009, 10:14:09 AM
My first computer language was CUPL, a PL/I variant that was a contemporary of the original Dartmouth BASIC.  It was run from punch cards via RJE HASP.  I guess my favorites for my own use, or at least the ones I used most frequently were AppleSoft Basic and Forth-79; I developed my own Forth-79 system for the Apple ][ series of machines.  My least favorite was clearly Pascal; I am not a fan of heavily-typed languages.  I would add that I enjoyed the application generators in Revelation and Advanced Revelation; they were the simplest, most convenient databases I've ever used.  Unfortunately, the modern successors to them are well outside my price range at $1,400US at a minimum. (I paid $150 new ten years ago).
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: adssse on August 07, 2009, 07:31:19 PM
Wow, I didnt expect to see the word COBOL in this thread...

Like many my first experience was with Basic in school. After that it was some VB, C/C++ and Java. I always enjoyed C++ the best (perhaps that was just because it was what most of my classes were based in). Now I am stuck at work doing mostly COBOL coding along with some Java and Javascript. I have been planning on learning Perl and also dusting off the old C books I have, but it has been hard to find enough time to dig in deep.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: thane on August 07, 2009, 11:58:59 PM
My first language was WATFIV-S (a subset of FORTRAN), followed by BASIC, COBOL, Pascal, a little PL/I, and (nowadays) Java. Actually liked Pascal the best (someone once called it a language that requires you to think sideways). PL/I was definitely the worst.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: bmarkus on August 08, 2009, 12:13:06 AM
FORTRAN and ALGOL 60 nearly at the same time.

Later I implemented FORTH on many different arhitectures and developped applications. And of course C and assembly.

Currently I'm using mostly Python and PHP. I really love Python!
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: bmarkus on August 08, 2009, 12:19:11 AM

Fave language has to be FORTH, the implementation on the
Jupiter Ace.  Fell in love with that, bigtime.  Wrote some very
very unreadable code, too! ???


Really happy to see a FORTH guy on the board.

 :D I see I have to submit my FORTH extensions to Jason
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: jpeters on August 08, 2009, 10:57:37 AM
I'm always surprised to see no votes for tcl-tk.  I used it to re-write virtually all my windoz oo apps.   
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: Lee on August 08, 2009, 08:50:24 PM
Very cool indeed to see a Forth guy cooler yet to see -two-!

I never used Forth professionally, but had a great time with it as a hobby  a decade or two ago.  I wrote (what I then though was) a great screen editor - I'll have to resurrect that code and see if I still think so.

Somehow it just seems somehow wrongish to run Forth on the modern PC hardware, though it wouldn't be the first time I put "retro" software back into service.

As for tcl/tk I've been meaning for years to really dig in and learn that.    I used to pick up programming languages just for the sheer fun of it (Forth, Pascal, Logo,C/C++ etc) but nowadays I have so many other demands on my time (Wife, Kids, TC forum browsing).

Any suggestions on a nice modern, 32 bit Forth?  :)

Any suggestions on a good quick tcl/tk turotial?
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: bmarkus on August 09, 2009, 12:12:42 AM
I used FORTH to build an intelligent graphical terminal for a nuclear plant for example. Hardware was based on MOTOTOLA 8-bit 6800 CPU, no hard disk, only tape cartridge. Only available development environment was MOTOROLA ASSEMBLER. Using FORTH we could develope really fas the terminal.

Our systems were also used in secondary schools to teach computers, process satellite images, etc.

Reasons why FORTH was gone in the last two decades is off topic here.

I compiled two systems for TC which are still living and maintained, after some testing I will submit them:

bigFORTH - http://www.jwdt.com/~paysan/bigforth.html

Gforth - http://www.jwdt.com/~paysan/gforth.html
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: jpeters on August 09, 2009, 01:30:14 AM
Any suggestions on a good quick tcl/tk turotial?

Example using tcl-tk.tcz
This pastes text into entry widget with  "<control> p"  
Code: [Select]
#!/usr/local/bin/wish8.5

label .label -text name  
entry .entry -width 12  -relief sunken -textvariable mytext
pack .label .entry -side left -padx 1m -pady 2m
bind .entry  <Control-p> {.entry insert end [ paste ] }
focus .entry

proc paste {} {
set mytext "My Name"
}

More info:
http://wiki.tcl.tk/

Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: bigpcman on August 09, 2009, 02:47:05 PM
My earliest programming experiences started in the 1970s writing hex code programs on a DEC PDP8 and Intel 8080 development system. Next I wrote an assembler for the TI 9900. After that I wrote a BIOS for the CPM OS in Z80 assembler. From there my job was to create AMD 2900 bit slice controllers including the micro code instruction set, followed by writing micro code programs.  I have played around with PHP, Basic and C code but never really liked it much.  I have been more of a hardware guy than a software engineer.

[fast forward 20+ years in the ugly world of "management"]

Now that I have some time to spare I have been engaged in the Linux world necessitating learning shell scripting.  I’m still a novice at it but I’m progressing as the need arises.

Like so many others, I got interested in web site development and now spent much of my spare time in this area.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: bmarkus on August 09, 2009, 03:13:59 PM
My earliest programming experiences started in the 1970s writing hex code programs on a DEC PDP8 and Intel 8080 development system. Next I wrote an assembler for the TI 9900. After that I wrote a BIOS for the CPM OS in Z80 assembler. From there my job was to create AMD 2900 bit slice controllers including the micro code instruction set, followed by writing micro code programs.  I have played around with PHP, Basic and C code but never really liked it much.  I have been more of a hardware guy than a software engineer.

[fast forward 20+ years in the ugly world of "management"]

Now that I have some time to spare I have been engaged in the Linux world necessitating learning shell scripting.  I’m still a novice at it but I’m progressing as the need arises.

Like so many others, I got interested in web site development and now spent much of my spare time in this area.


Great, very similar here. For example I developed a CDL2 interpreter for AM 2900 :)

Programming in many languages, but always hating PERL.

My current favourite is Python. Fast to develop, portable and code runs on LINUX and WINDOWS, reach with modules, easy to read and clean code, great data structure, can be compiled to WINDOWS EXE, ...

Everybody must try. You can create your first real application in few hours.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: gerald_clark on August 09, 2009, 04:09:24 PM
First: Fortran 4 Waterloo Fortran.
Least favorite: COBOL.
Favorite: C

Other Favorites:
  Perl for power and ease of programming.
  FORTH for just plain weirdness and fun.  I implemented FIG FORTH for OSI 6502 based computers about 30 years ago.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: jpeters on August 09, 2009, 06:20:30 PM

I'm happy to announce that I still have an Atari ST available (only one left) that uses the Motorolla 8-bit 6800 CPU (perfect for bmarkus' FORTH software!)

* recently upgraded with COLOR monitor, dual sided floopy drives, increased RAM.  
* thrown in is the latest version of Pagestream (printing software....14 font disks).

Although I paid about $4,000 for the complete setup (comes with midi cords), I'd be willing to let it go for a small discount.  
* They don't make computers like this anymore!
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: bmarkus on August 10, 2009, 06:32:32 AM
Regarding Forth, I just finished the bigforth (http://www.jwdt.com/~paysan/bigforth.html) extension, I will submit it today.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: gerald_clark on August 10, 2009, 12:26:15 PM
Now all we need is a really big telescope.
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: Lee on August 11, 2009, 10:54:12 AM
Thanks jpeters, for the example and link re. tcl/tk.

Béla, I was just kidding about "a nice modern, 32 bit Forth" but, having followed the link to the bigForth site, I'm intrigued by it.  Thanks for the info.  OT: I don't suppose you did that nuclear plant work at Westinghouse in the 1980's?
Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: bmarkus on August 11, 2009, 12:10:58 PM

Béla, I was just kidding about "a nice modern, 32 bit Forth" but, having followed the link to the bigForth site, I'm intrigued by it.  Thanks for the info.  OT: I don't suppose you did that nuclear plant work at Westinghouse in the 1980's?


No, it was in Hungary, at Paks nuclear power plant and used in the monitoring system to display info about reactor inside but not for primary control circuits. But it was working for years realibly :)

bigforth looks interesting. Also there is a live community as I see. The only issue is the lack of documentation. At least I did not find it, specially about the key features, like capability to generate native compiled Intel executable code :( But you can play with it as soon as will be added to the repository.

Title: Re: What was your first programming language? Favorite? Least Favorite?
Post by: MikeLockmoore on August 12, 2009, 09:51:17 AM
I'm a Forth guy too!  At least as a hobby language.  I've not done a lot with it recently.  My best Forth app was a Motorola 68HC11 simulator running on a 16-bit Windows Forth.  You could load .s19 binaries, single-step, run, and do a bunch of other debugger-type things with the virtual HC11.

First: BASIC

Favorite, philosphically: Forth - I like the simple (weird!) syntax and the virtual machine model behind it

Favorite, pragmatic: C  - this is what I use by default, and wrote most of my code in it

Least Favorite: BASH shell script

Disfavored: C++ (esp. templates and other recent complications), Java

Intrigued by (but not much practice yet): Python, Lua

I don't like BASH because it's different enough from C that many things don't work like I'd first guess, so I'm constantly needing to look stuff up.  The C-shell would probably be better for me, but BASH is the lowest common denominator, so I muddle along with it.

In C++, I now tend to use it more like a slightly more flexible C, and not use many of the object-oriented and template features.  The syntax for all of that stuff gets really complex, for not not much benefit.  But I do need to use it to interface with some useful libraries like FLTK.

Java: There are a few things I like about it, but its syntax tends to make code verbose and repetitious.