DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

Programming C, bash, Python, Perl, PHP, Java, you name it.

View Poll Results: favorite programming language?
Asm 19 10.73%
C 67 37.85%
C++ 36 20.34%
C# 8 4.52%
Java 15 8.47%
Javascript 6 3.39%
Perl 30 16.95%
PHP 33 18.64%
Ruby 13 7.34%
Python 39 22.03%
Shell 36 20.34%
Awk 15 8.47%
Others: Tcl, Erlang, Haskell, Ocaml, D, Forth ... 25 14.12%
Multiple Choice Poll. Voters: 177. You may not vote on this poll

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 23rd May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default favorite programming language?

if you have chosen others please mention the language in your post.

its c, c++, asm, shell, awk for me.

Last edited by ephemera; 24th May 2008 at 02:23 PM.
Reply With Quote
  #2   (View Single Post)  
Old 23rd May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

JavaScript and PHP are two very different languages...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #3   (View Single Post)  
Old 23rd May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

Quote:
Originally Posted by Carpetsmoker
JavaScript and PHP are two very different languages...
... generally used for web programming and not for general purpose scripting?

Last edited by ephemera; 23rd May 2008 at 09:35 PM.
Reply With Quote
  #4   (View Single Post)  
Old 23rd May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

I use(d) PHP for general purpose scripting ... M0n0wall for example uses PHP for startup scripts, config, etc.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #5   (View Single Post)  
Old 23rd May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Easy choice: Bourne shell. Simple and quick. My favorite hammer.

To give some context here (since different languages satisfy different requirements), most of my programming needs revolve around automating data loads and data analysis. Shell programming - paired with the right utilities - is perfect for this situation: running quick tests, uncovering data differences, gluing apps together, etc.

FWIW, I've always been a bit partial to python as well, especially as a beginner-oriented language. (Which is not to imply that it is lacking in features or capabilities.)
__________________
Kill your t.v.

Last edited by anomie; 23rd May 2008 at 09:58 PM. Reason: explained a bit.
Reply With Quote
  #6   (View Single Post)  
Old 23rd May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

Quote:
Originally Posted by Carpetsmoker View Post
I use(d) PHP for general purpose scripting ... M0n0wall for example uses PHP for startup scripts, config, etc.
Oh, i didn't know that it was being outside web prog.
i was constrained by the 10 option limit and had to make a choice.

(i added shell as a seperate option as you suggested)

Last edited by ephemera; 23rd May 2008 at 10:03 PM.
Reply With Quote
  #7   (View Single Post)  
Old 23rd May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Ah, I didn't realize this.

I increased the maximum number of poll options to 100.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #8   (View Single Post)  
Old 23rd May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

Carpetsmoker,

is the poll immutable? if not i would like to seperate out some of the languages.
Reply With Quote
  #9   (View Single Post)  
Old 23rd May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

In the "titlebar" of the poll itself it says "edit poll".
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 24th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

This is a really hard poll for me (no vote yet) because I'm very much a linguistically diverse person at heart.

I began learning about programming through a tutorial on C++ about November 2005 and have always been largely self-educating with it like everything else I do in computers... I pick up languages pretty easy and like learning them, especially ones that take different approaches to problems.


As far as language design goes, I would say my favorite is probably Java. It's a nice language, most things in Java I've seen just 'make sense', and comes with a large collection of classes -> the only problem I have is the design is so OOP focused.

I especially love Javas interfaces, although I'm indifferent to whether a language uses single/multi-inheritance but I like the concept of interfaces.

Although I must admit, I generally do my best to _avoid_ writing any Java code!!!


If I had to pick a single favorite, I probably would pick either C or Perl.


C is to me, a perfect language without flaws. It is small, you can fit the entire language into your head w/o problems and use a reference to look for functions you use rarely. The only problem is the best parts of what make C so perfect also mean I tend to be more productive the less I use it :|


Perl I might pick, because it is the closest to natural language and I often can use it to do a lot of stuff. While still having a lot of familiar and logically thought up syntax. Not to mention for various tasks I often find it most effective to write a perl script to deal with it, define and refine a command line interface to the problem, and quickly document the entire thing in POD. Perl is like a best friend in my toolbox, not sure if I'd want to work with 10 thousands of lines of it but it's a great language for working on my machines.




When it comes to actually writing code, I usually use whatever I am using the most of at the moment, what I feel like (the oh let's just do XYZ in Foo for the sake of doing it in Foo), or the language I have to (e.g. working a websites CMS or a given library)



A lot of times I try to use the simplest solution first, if I can do it in Bourne I usually will -> the utilities provided on a unix box are to good to write my own!

If I need more then that can do, I'll often apply Perl, Python, or Ruby -> which ever I'm using most of at the time or feel most like using^^


PHP is also a great scripting language and recently has transitioned from most hated to debug to very handy since I learned it had an interactive mode . Because my introduction to the language was having to edit someone else's sludge without even learning the language first lol. Since then I've had to grab the manual and start writing a library for a website that has lacked anyone with a brain behind the code.

I could swear... My predecessor is the first "know nothing" in terms of HTML/CSS/JS/PHP/SQL we've had as a webmaster but most of the code was written by his predecessors (now a graduate of Cambridge) predecessor (who became a MCSE). And I'm probably the first moron on the website to ever hear of doing things "properly" instead of the half rear-ended way!


GUI related projects usually end up in Python with Qt because I don't like C++ for a lot of stuff I'd rather do in C or Perl/Python/Ruby. Most command line driven projects I do end up in Perl or C.


I guess you could say, I don't have a favorite language exactly :|
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Old 24th May 2008
ai-danno's Avatar
ai-danno ai-danno is offline
Spam Deminer
 
Join Date: May 2008
Location: Boca Raton, Florida
Posts: 284
Default

My vote's for PERL, but it's obviously not for everyone or every situation. In my situation, as a network administrator, it's been invaluable in the past. And the fact that most network administrators are just that ("that" being network administrators), and not programmers, means PERL fits well because you don't have to be a complete evil genius to crank out some useful scripts. You can cook something up pretty quickly, and then get back to your life.

I'm seriously on-again-off-again with PERL. I won't touch it for months at a time, then there will be some migration project (like migrating away from MS-DNS to BIND, with 7k domains spread across 30+ DNS servers) and suddenly there's PERL, staring at me with that look on it's face that's saying "Now can I come out and play?"
__________________
Network Firefighter
Reply With Quote
Old 24th May 2008
nero nero is offline
New User
 
Join Date: May 2008
Location: Austin, TX
Posts: 9
Default

Laugh as much as you wish, but I still use Mumps, Snobol, FORTRAN and APL for little home projects. I'm turning 64 next week, by way of explanation. 'Never have understood why GOTO is such a bad thing. Cheers to your choices from an old fart.
Reply With Quote
Old 24th May 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,318
Default

Quote:
Originally Posted by nero View Post
Laugh as much as you wish, but I still use Mumps, Snobol, FORTRAN and APL for little home projects.
Well designed & well implemented code using older tools is a whole lot better than bad code slapped together with trendy tools. Ultimately, it comes down to getting the best out of what tools are available, & this comes from knowing the tools through experience.
Quote:
'Never have understood why GOTO is such a bad thing. Cheers to your choices from an old fart.
As opposed to the platitudes taught in schools, goto has its place, however, it takes significant time to develop the insight needed to know when to use it in a disciplined manner. Paraphrasing Dijkstra, gratuitous use of goto doesn't scale well, & it can make the maintenance job of the next guy inheriting the code a living hell. Given that most code ends up being write-only (It only made sense to whoever wrote it...), & given that most code lives in a maintenance phase, it behooves programmers to have a solid reasoning for using it. If you are maintaining your own code, then you understand why various decisions were made.

As for my experience, I can't recall that I have intentionally used goto's in original code, but I have perpetuated the practice when extending the work of others.
Reply With Quote
Old 24th May 2008
mtx's Avatar
mtx mtx is offline
Real Name: Valentin Bud
Fdisk Soldier
 
Join Date: May 2008
Location: RO/TM
Posts: 79
Default

Quote:
Originally Posted by ai-danno View Post
... And the fact that most network administrators are just that ("that" being network administrators), and not programmers, ...
+1
never have been a programmer (never will be) myself but since i've started using bsd at home/work i had to automate certain tasks and there it comes the efficiency of bourne shell. since i'm at the start of my bsd experience and career in net admin i don't know what will happen with my "programming skills" but bourne shell will always be my "first love".
I am also thinking of perl in the future

/v
__________________
Stop! think! ... the problem is somewhere between the monitor and chair...
"First they ignore you, then they laugh at you, then they fight you, then you win." Gandhi
links: spreadbsd syk
Reply With Quote
Old 24th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

Quote:
Originally Posted by Carpetsmoker View Post
In the "titlebar" of the poll itself it says "edit poll".
i can't find it. maybe it's available only to admin account?
Reply With Quote
Old 24th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

I don't know, doesn't seem like it ... here's a screenshot.
Attached Images
File Type: jpg Capture-1.jpg (37.6 KB, 155 views)
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 24th May 2008
ephemera's Avatar
ephemera ephemera is offline
Knuth's homeboy
 
Join Date: Apr 2008
Posts: 537
Default

nope, i don't get that option.
Reply With Quote
Old 24th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default


I can't find any option for it either ...

You can PM me any changes and I will edit the poll...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Old 24th May 2008
cajunman4life cajunman4life is offline
Real Name: Aaron Graves
Package Pilot
 
Join Date: May 2008
Location: Coolidge, Arizona
Posts: 203
Default

As most of my tasks lately have been system automation, and putting a "pretty face" on an "ugly command line" for "Windows-centric users," I've been doing a lot of shell scripting.

I intend to pick up Perl soon. Also I'm starting to get back into C. I haven't written much code since... well... school. But that's starting to change recently.

Don't make me go dust off MS-DOS 6.22 and run QBASIC...
__________________
I just saved a bunch of money on my car insurance by fleeing the scene of the accident!
Reply With Quote
Old 24th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

Funny how people call Perl "easy", I always found if chaotic, ugly, and hard ...
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
Reply

Tags
programming, programming language

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Favorite Programming Tools JMJ_coder Programming 20 19th January 2015 07:56 AM
your 3 favorite games welkin FreeBSD Ports and Packages 17 5th June 2010 08:26 PM
Best Web Application Language JMJ_coder Programming 24 25th November 2008 12:25 PM
The language here scottro Feedback and Suggestions 11 19th May 2008 11:54 PM


All times are GMT. The time now is 10:27 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick