GeneralThis forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!
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: Which programming language do you prefer to use?
Which programming language do you prefer to use for programming, between the famous programming languages: A, B, C, C++, or C#?
Here few examples of syntax:
Code:
/* A TUTORIAL INTRODUCTION TO THE LANGUAGE B
B. W. Kernighan Bell Laboratories, New Jersey,
January 1973 - first documented "hello, world!" */
main( ) {
extrn a, b, c;
putchar (a); putchar (b); putchar (c); putchar ('!*n');
}
a 'hell' ;
b 'o, w' ;
c 'orld' ;
Code:
/* C: "Hello, world!" */
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("Hello world \n"); return 0;
}
Code:
// C#: "Hello, world!"
using System;
class HelloWorld {
public static int Main(String[] args) {
Console.WriteLine("Hello, world!");
return 0;
}
}
I'm not a computer science historian and not even that old, but which language do you mean by A? I can only find early members of ALGOL family (ALGOL 58, ALGOL 60), then CPL, BCPL, B, and finally C. I don't see A anywhere.
Why include language like B which is almost extinct and only interesting to those learning history of computer science? Wouldn't it be better to list modern languages like D, Go and Rust instead? After all, your poll is about preference in using languages.
Also why mention C# in this list? Because of its name? C# is Microsoft's alternative to Java (at least that's how I see it), so why Java isn't listed?
Because C# was recommended by a friend of mine into the above list.
Quote:
Originally Posted by audriusk
I'm not a computer science historian and not even that old, but which language do you mean by A? I can only find early members of ALGOL family (ALGOL 58, ALGOL 60), then CPL, BCPL, B, and finally C. I don't see A anywhere.
A was before B. It wasn't well documented.
There might be eventually some historical data in Bell lab museums...
@hydrurga: lol, excellent joke and comparison of the list of choices. I fully agree with you. Sumerian was a brilliant idea in the list. What about Mesopotamian also? Latin?
@hydrurga: lol, excellent joke and comparison of the list of choices. I fully agree with you. Sumerian was a brilliant idea in the list. What about Mesopotamian also? Latin?
Have you ever heard of W?
Without wanting to derail your thread any further, apart from my little silly quip, there wasn't, as far as I can see, any language that we call Mesopotamian - they spoke Sumerian, Akkadian and other languages (https://en.wikipedia.org/wiki/Mesopo...ge_and_writing).
Without wanting to derail your thread any further, apart from my little silly quip, there wasn't, as far as I can see, any language that we call Mesopotamian - they spoke Sumerian, Akkadian and other languages (https://en.wikipedia.org/wiki/Mesopo...ge_and_writing).
The history of written Sumerian can be divided into several periods:
Archaic Sumerian 31st26th century BC
Old or Classical Sumerian 26th23rd century BC
Neo-Sumerian 23rd21st century BC
Late Sumerian 20th18th century BC
Post-Sumerian after 1700 BC
What was the language before Sumerian? How long spans the time of Sumerian civilization? I read that archeos have difficulties to read find it out.
Can you give an example of B being used in real world? Is it used mostly in legacy systems or, more importantly, are there any new projects started in B?
Can you give an example of B being used in real world? Is it used mostly in legacy systems or, more importantly, are there any new projects started in B?
Yes, I can give few examples. Of course, today, C* is being used for new projects.
My first choice would be Pascal, but I also like D, rust, and Oberon II.
Ruby, Python, Perl, LISP, ALGOL, FORTRAN, MicroFocus Object Oriented COBOL, and Smalltalk have a place here also.
It really depends upon the project.
My first choice would be Pascal, but I also like D, rust, and Oberon II.
Ruby, Python, Perl, LISP, ALGOL, FORTRAN, MicroFocus Object Oriented COBOL, and Smalltalk have a place here also.
It really depends upon the project.
Please remember that the Programming forum is intended for seeking answers to programming questions.
As this thread and poll are intended to ask opinions rather than specific programming related question it has been moved to the more appropriate General forum.
No: it's a derivative of APL and (as far as I know) replaced by A+. I learned the rudiments of APL back in the 80s, only to find that it wasn't suitable for what I intended to do £100 wasted, if I remember rightly. I'm still using the Basic code I wrote instead, though.
Quote:
Originally Posted by audriusk
Can you give an example of B being used in real world? Is it used mostly in legacy systems or, more importantly, are there any new projects started in B?
It's still used under the GCOS operating system, which Bull say they'll support until at least 2025, so it's legacy. But legacy languages can survive for years: think of COBOL.
C is my favorite. But I prefer to use C++ for Gui. But this poll should have the current most popular languages for better comparison. It would than be very useful for beginners deciding which language to learn.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.