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 is your favorite language?
Well, any lang that is 'Turing complete' (?) is a real prog lang (logically they are all equiv to each other ie capable).
Some langs are better suited to certain applications than others.
A lang such as one of the Unix shells that is strictly an interpreted lang will be significantly slower than a 'compiled' eg C, Perl, Java.
Obviously, HTML is not a 'Turing complete' lang.
There's no formal distinction between scripting and programming, unless you only use interpreted langs for the former and compiled ones for the latter.
I threw out my old K&R stuff and just have the ANSI C stuff sitting on the desk now.
Ruby *does* have some neat features. Haven't found a practical use for standalone apps though. RoR is pretty cool in regards to how little code that needs to be written to implement powerful functionality. However, the MVC model (IMO) makes debugging difficult compared to C...
My heart goes to C, but rather GNU flavor of it. There are few neat additions compare to K&R.
Given choices at the title, I'd split second place between Python and Java.
My criteria for programming language usefulness is the thickness of more or less full description of them, using this qualifier I'd put:
1. C - K&R is really thin
2. Java & Python - O'Reilly books are thin enough
3. C++ - distant last, Stroustrup's volume is huge
Use the language that is best suited for the project.
c for low level systems coding
perl for text rocessing
c++ / objective-c for gui work.
[ objective-c is the foundation of OSX Cocoa framework, so it is a usefull language to know ]
Fortran for anything using massive mathematics, like autocad needs for stress testing designs.
COBOL, great for reports.
And Object Oriented COBOL is great for ... nothing really. Its plain predecessor still exist only because there is much software around written using this venerable artifact.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.