ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: What was your first programming language?
I recognize what you're talking about, but assembly left me totally confused, I had mates that used it, but I opted for the easier way.
Your knowledge went far deeper than mine.
I did use scripting with AutoCAD, but again that was using preset routines. My biggest ever effort was writing a database, tape based, for a friend in BASIC using a COCO2. It used arrays for data storage and ran like a three legged donkey in deep mud.
My last foray into programming was working with another friend, he uses a Raspberry Pi, in developing a read/write programme for Morse code. I did the easy bit, text to Morse using the dictionary option of Python.
Thank you for your reply, it is always pleasant to hear from others over the ether.
IBM 1401 Autocoder
This started in January 1964 at the IBM World Trade Data Centre in Wellington New Zealand. We used to book time in the middle of the night and would often patch in absolute using a hand card punch which punched one column at a time specifying the holes to be punched in the column.
What memories!
My first language was Sinclair Basic, coded in a ZX Spectrum.
I learned about logo reading in old magazines in my grandma's home, but my effort to make a logo-to-basic compiler only gave some result (not very similar to real logo) years after, programmed in Gw-Basic.
So my second programming language was sinclair assembler, coden into the machine by looking up hex codes one by one (luckyly, ZX Spectrum 48 included them in the nanual. Sinclair+ reference was more frienly but less informative.
I remember the arrival of a PC to my home as a great opportunity to learn new ways to program computers. The OS included a few tools able to make simple programm8ng, and most office applications had a rich macro languages.
After that, I learnt, in this order:
Ms-dos batch script
GW BASIC
Wordperfect 5 macro language
Wordperfect 5 printer definition language (along with proprinter escape codes. Do they count?)
I think I only tried to learn 8086 assembler after that, using debug to translate it into hex.
print("my first programming language was Python./nI was taught python my senior year of High School in 2008. /nI have programmed as a hobby ever since.")
I learned LOGO in elementary school, on one of their shiny-new Apple ][e machines! I ultimately learned to write a procedure to draw a circle, with any radius you like.
Sharp S-BASIC on the MZ721 Z80-based microcomputer (https://www.sharpmz.no/). And your trusty copy of Peeking and poking the Sharp MZ-700 by G P Ridley.
Fortran IV with WATFOR on an IBM 360 at my first computer class in college, maybe 1968 or 1969. Punch cards, take it to the center for processing...I loved it! And when I got my own first computer about 1980, a Color Computer from Radio Shack, the syntax of Basic was really quite similar to the Fortran I had learned. Some years later I discovered C, and that was all I have ever needed since then.
Bash shell scripting, but really a lot of languages, one after another...
Remarkably, my first programming language was Bash scripting. I used to barely understand it. Now I know how the Bash shell works internally. So much has changed.
Shortly thereafter, I started learning C. This is my far, far preferred language today of them all, though I can write code in well over a dozen other languages, including (in no particular order):
C++
JavaScript
Java
Python
Perl
Tcl (including Tcl/Tk!)
A few other shell scripting languages (including CSH)
Several assembler languages
A whole pile of others which I couldn't care to remember right now, sorry...
I've written interpreters for a few of those languages, just for fun...
I would like to alert you to the fact that the following:
Quote:
Originally Posted by ramboahoe
print("my first programming language was Python./nI was taught python my senior year of High School in 2008. /nI have programmed as a hobby ever since.")
...probably does not do what you want it to. You need backslashes ('\'), not forward slashes, before the 'n' if you want newline characters.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.