Programming languages polyglots: how many languages you know?


 
Thread Tools Search this Thread
The Lounge What is on Your Mind? Programming languages polyglots: how many languages you know?
# 8  
Old 08-15-2008
Yeah, BASIC goes out of my time span. I'll try to find that article.
# 9  
Old 08-15-2008
# 10  
Old 08-15-2008
I see! So in very simple terms, the letter does not criticize goto by itself. It criticizes programmers that used to over use goto on their programs because that could lead to a less structured and harder to maintain program. Although I can agree with that, I often see people criticizing goto even if it's only used in a structured basis like packing all errors and returns in the end portion of a function:
Code:
int
whatever()
{
        int error;

        do_stuff();
        keep_doing_stuff();
        if (!this_is_right())
        {
                error = EINVAL;
                goto err;
        }
        bla();
        if (this_is_wrong())
        {
                error = EPERM;
                goto err;
        }
        while (...)
        {
                stuff();
                if (stuff2())
                {
                        error = EFAULT;
                        goto err;
                }
        }
        ...
err:
        do_this();
        do_that();
        do_whatever();
        return -error;
}

# 11  
Old 08-15-2008
The article was very influential for many years, and of course, contemporary Western culture and media can't remember the "unless used correctly" part of any criticism.
# 12  
Old 08-15-2008
Let's see, C, perl, ksh/bash/sh, and thats it! Rather a limited list. I have written code in assembly and LISP, but that was when I was in college, so its not really worth mentioning.

And I can actually feel my C skills falling off, the reason being that I haven't written anything worth mentioning in over a year! Plus perl/shell scripting makes you lazy...
# 13  
Old 08-15-2008
15 years ago I had to do some reverse engineering to rewrite in cobol85 a program written in cobol74...
I have heard a lot about NOT using goto like mad and spaggetti code, but never imagined what it could be like until that nightmare day where I was given thig challenge...
I almost went through depression after a week, and so had the help of the top analyst to play " Train " with me for a an extra week just to understand how the damn thing worked...

To give you an idea the goto started on the first line already, you had 400 lines of code
finishing with stop run on last line...

It took me 6 weeks to rewrite the program and almost 1200 lines of code.
But anyone able to read english can maintain what I wrote, and the reading of the first page you knew what and how it worked.
You just cant imagine how bad you feel when as a confirmed programmer you have been reading 3 pages of code not understanding whats going on and still have not seen the end.

OK I learned ( and forgot..) basic and basic clones PASCAL MANTISSE (Mainframe) COBOL
# 14  
Old 08-19-2008
Somehow I missed this thread, but let me see, when Era said Basic : was that :
Quote:
LET A = 10
LET B = 5
LET C = A + B
Was that the right syntax ? I think I've used it on Atari.... Boy, I started learning computers with this language, 17 years ago. Apparently, I don't remember anything now Smilie
Else, on the topic : perl and bash, this is what I use daily. I have some skills in reading and writing TCL/Expect code, and less Java, Python and C.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. What is on Your Mind?

How can I learn computer programming languages on my own?

I would love the idea to develop games. How can I teach myself computer programming? What programs or software must I use? I have the new iMac? (5 Replies)
Discussion started by: Anna Hussie
5 Replies

2. Web Development

What Web Development languages should i learn?

I am learning Web Development, so far i am learning html,xhtml, css, java script.... What I want to know is what other Web Development languages should i learn? (1 Reply)
Discussion started by: Anna Hussie
1 Replies

3. UNIX for Advanced & Expert Users

How to export/link Control_m with another programming languages

Hello All. Everyday at work I have to fill a big .xls spreadsheet with process chains start and end time information. The thing is that it takes too long and a lot of boring work. :( I was wondering if I could link this with a tool in java that would export this information into a .xls... (1 Reply)
Discussion started by: pingosa
1 Replies

4. Shell Programming and Scripting

bash and languages

Hi everyone, First of all, i dont know what id do without this forum its been such a great help:) so a big thankyou to all, anyway i have a simple question, if i wrote a scrpt in english would it work on another machine with a different language, or do i have to put something in the script to say... (9 Replies)
Discussion started by: dave123
9 Replies

5. Shell Programming and Scripting

output in different languages

hello, i have to change a lot of shell scripts for one reason : the output in a script should be done in different languages. for example: echo "this is a test" and "this is a test" should be printed out in language for an example: german,italian and so. i saw a tool "gettext" ,... (2 Replies)
Discussion started by: bora99
2 Replies

6. UNIX for Dummies Questions & Answers

Programming/Scripting Languages To Learn

Which languages would, in the long run, be best to learn on a UNIX environment for kernel work, every day programs, and overall UNIX programming? I've been learning C for over a year now (which I'm pretty confident with) and decided I want to look into some other languages. I'll mainly be... (1 Reply)
Discussion started by: tjinr
1 Replies

7. UNIX for Advanced & Expert Users

Operating System and Programming languages

I'm trying to create an operating system. Just as a small hobby, it will not be anything big I am trying to get some practice. Does anyone reccomend a certain programming language because I dont know which one to use. Any help please? (2 Replies)
Discussion started by: jacx2
2 Replies

8. UNIX Desktop Questions & Answers

Shell scripting & programming languages

If I want to do high-end 3d animation, what skell scripting languages, and programming languages shoul I learn? If you know any good resources for learning these languages they would be appreciated. (1 Reply)
Discussion started by: aloysius1001
1 Replies
Login or Register to Ask a Question