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 programming/scripting language?
Hey all,
I would like to know what everyones favorite language is programming and scripting alike.
I will try to add all the ones I know to the poll.Please vote!
I like assembly language because you can do anything,b ut I am new at it, so I don't get to much done with it yet. The one's I work with most is C or C++. Both of these are equal for me.
The elegance of C astounds me, it has my vote and my heart.
I like C++, OOP is great for working with GUIs
Overloaded operators are such a great feature
but there are a little too many kinks for my taste.
I despise Java in all it's forms. It's a mess. Swing
isn't bad but ugh if you work in an editor/ide that
doesn't have code completion it takes *forever*.
Programming in it is slow and awkward. After that
it runs slow and awkward...stupid stack-based chip
emulation.
I really like assembly it takes forever to code something
but when it runs it's like a demon and I haven't ever kicked
out a 36 byte HLL program. But I mostly left it behind
after I stopped using DOS.
Hey,
I know what you mean... I love assembly but I just started last week.And C is my favorite....I despise C++ and don't really like javaScript( Pretty good at it though).
I'm writing a simple ascii graphic rpg using Ncurses with C.So I can get a hang of it.( Also cause I love making games.... I made them using : QB,VB,Alan,HTML,JavaScript,Tcl/tk.. I know .. i know your probably thinking "An HTML game?What is he nuts?" I probably am but I made a pretty good game considering the fact that it was with HTML.......dont have it anymore though )
If there is a need for optimized code i prefer C++. It's better at speed and efficiency. I like OOP for the reason of reusability. I could build a library of tools that I could use again and again (even update/upgrade it) for new project development.
For a RAD (Rapid Application Development) in OOP I choose Java for it's simplification of OOP.
For parsing, Perl is the best with its regular expressions.
For web applications, in Windows I prefer C# and J2EE in any other platforms.
Anything that requires low-level programming (device drivers, encryption and stuff) assembly is best at it. Don't even think of developing GUIs with this one...it'd take you forever. Unless of course if you have graphic libraries to link it with. I'd rather choose C++ to create GUIs and link assembly code as low-level modules.
I cant program in C, I just cant build anything big in the language.. I _need_ OOP, but the programming language that got my heart is still C. You can do anything in C, if you only do it right. OOP helps you to do things right. Java isnt a bad language, but its slow and take much memory. So, questions is if you want to build programs with low footprint, or big programs with humongous footprint.. It takes the same time.. well atleast for me, but Im learning 'C'. =)
I voted for java, I find easier to program with it and it's multi-platform.
Ok, it's true that C++ gives faster executables, and is more effective with memory allocation, having pointers..., but it's more difficult to program, maybe I'm too lazy .
Definitely java, because OO programming results in code that is highly flexible and maintainable (if you use it in a proper manner).
Of course it depends on what you want to achieve and what the requirements are. If speed is a very important requirement, you should probably go for C or C++.
For web applications I prefer PHP and JavaScript.I'm going to learn perl soon and I might try Java( not sure though).I saw how good assembly is...and it's.....awesome! I tell you just friggin awesome.But C still has my heart.I can't believe that anyone would like C++ !It friggin stinks....but different people like different things...... and I'm not gonna dis the people who vote on my poll. ... Later Dudes
SQL, since database work is what I do. I also like Ada, Pascal and (gasp) BASIC. In general, any language that is legible. No secret decoder rings required and programs are almost self-commenting... unless you don't speak English, I guess.
I first started with BASIC but I can tell you... I never want to see it again!
If you like simple languages why not try Alan : http://w1.705.telia.com/~u70529535/alan/index.html
Its great for making text IF games.I learned it before( when I was using windows) I don't remember anything of it anymore...but oh well.... I have C now.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.