View Full Version : What language do you use?
azorne
September 15th, 2012, 08:07 AM
I'm a fan of Python, Clojure and C++. I've heard that Java has a lot to offer, but I'm a gifted enough programmer to handle my own memory management, and barring that, I don't see what Java has to offer.
darkwoon
September 15th, 2012, 09:30 AM
I'm a fan of Python, Clojure and C++. I've heard that Java has a lot to offer, but I'm a gifted enough programmer to handle my own memory management, and barring that, I don't see what Java has to offer.
Python, Java, C, C++ are those I know the best/prefer.
In Java, you also have to properly manage memory; if you thought that a garbage collector meant you didn't have to, then you've been grossly mistaken (and this is true for any language/platform using a garbage collector).
What Java has "to offer" is increased portability, an extensive default library, and a solid dynamic class management system. Is there any use for those? It all depends on the application you want to write, the time you have to write it, and the platform you're aiming. I would definitely not use Java to write a Linux filesystem driver, just like I wouldn't use C++ to write a simple Android database-reading application.
Just pick the best tool for each kind of work; learning new programming languages makes that choice of tools wider, and thus is always a good idea.
Rayquaza
September 15th, 2012, 10:58 AM
Delphi + Pascal. Lol. I would learn Java but I have too much shit going on at the moment.
ethanf93
September 15th, 2012, 11:21 AM
C++ and Java, mostly. A little bit in PHP, C# and a couple others every now and then.
TheMatrix
September 17th, 2012, 12:48 AM
Perl 5, mainly. I've looked at Java now and then, but it's too commercial, and that means there's too much non-free stuff. :P
I've tried Python, but that wasn't my thing; PHP is for script kiddies and ad-hoc solutions(not my thing); C and C++ take too much time; C# is just confusing; and Ruby makes no sense, either.
Then there's Fortran... :P
Garbage collection is one of the most useful things I've ever come used. It isn't perfect(this goes for any language), and you can always have memory leaks(in Perl, round references is an example), but for the most part, it's not an issue.
You'll get used to it, which is part of the reason that my C programs that do anything advanced always say "Segmentation Fault" :P
Axw_JD
September 17th, 2012, 01:49 AM
C and C++, the only true real ones for any programmer that knows what he is doing. All others are just tools to help code some trivial things faster. Somewhat reading into XML (although my own XML-like language might be better for what I want).
I'm competent enough in C#, HTML and PHP, and could certainly take up on Java (seeing as it isn't that different to C#) rather quick.
If given a random task, I would choose C++, simply because I would be guaranteed to be able to do what I am being asked for.
Also, no offense, but Garbage Collection is for n00bs like Notch (who still manage to fuck it up and create huge memory blackholes somehow).
dylanm312
September 17th, 2012, 03:26 AM
Python. Hands down.
darkwoon
September 17th, 2012, 11:21 AM
Also, no offense, but Garbage Collection is for n00bs like Notch (who still manage to fuck it up and create huge memory blackholes somehow).
Garbage Collection and automated memory management are for skilled programmers who know when it is worth dealing with manual memory management, and when it brings nothing but complexity on the table.
Keep in mind that most development projects are time and resource-constrained; and in many cases, spending too much on low-level tasks is something you simply cannot afford.
TheMatrix
September 17th, 2012, 11:40 PM
C and C++, the only true real ones for any programmer that knows what he is doing. All others are just tools to help code some trivial things faster.
Go back to COBOL.
Somewhat reading into XML (although my own XML-like language might be better for what I want).
XML is not a programming language, it is just a complex data serialization format, in essence.
Also, no offense, but Garbage Collection is for n00bs like Notch (who still manage to fuck it up and create huge memory blackholes somehow).
Well, that is for non-free software, like Minecraft. Garbage collection is useful. I really enjoy being able to let a variable go out of scope, knowing it will be trashed after a while, without having to tell malloc and free to allocate and free the memory, respectively.
C++ is useful for things like Qt. But if I needed to choose between that and C, I'd use C, because it can be integrated into more places, like Perl's XS layer and Gtk+.
~~~
By the way, has anyone ever played around with D?
Silicate Wielder
September 21st, 2012, 10:55 PM
I'm trying to get int ojava but I mainly do HTML atthe moment
jack321
September 22nd, 2012, 02:49 AM
C# and an assortment of various scripting / markup languages (html, php , javascript, sql, lua) atm, but really trying to get into the real stuff (python, basic, C, etc.)
vBulletin® v3.8.9, Copyright ©2000-2021, vBulletin Solutions, Inc.