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
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

Two things-

1) I think PERL is easy because I find it easy to emulate what I do in a shell (bourne, windows, etc.) that will then (if done right) be cross-platform. The modules from CPAN can be a lifesaver as well (guess they're similar to 'libraries', right?)


2) The votes for PERL now show as zero... which is wrong. When I voted, it moved up to two, and with the recent PERL comments I would expect perhaps at least one more. And yet it's zero. What happened? Has someone sabotaged this vote?
__________________
Network Firefighter
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 ai-danno View Post
2) The votes for PERL now show as zero... which is wrong. When I voted, it moved up to two, and with the recent PERL comments I would expect perhaps at least one more. And yet it's zero. What happened? Has someone sabotaged this vote?
i think you must have voted before Carpetsmoker edited the poll. my votes are wrong too.
Reply With Quote
Old 24th May 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

Quote:
Originally Posted by Carpetsmoker View Post
I don't know, doesn't seem like it ... here's a screenshot.
You are back to Windows?

Remember guys, you cant master any language without kitten's assistant

__________________
The power of plain text? It can control an entire OS
Reply With Quote
Old 24th May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Quote:
Originally Posted by Carpetsmoker
Funny how people call Perl "easy", I always found if chaotic, ugly, and hard ...
That's interesting. I respect perl, and I'm happy that other folks are able to get practical usage out of it. My cousin, when he was 16, claimed to learn perl in a day.

C-style languages are logical to me. Legacy languages (Cobol, Natural) -- same thing. As I mentioned earlier, I like python, and I'm sure if I took the time to learn php I'd find it straightforward and useful.

Yet every time I've decided to learn/practice with perl, it has seemed arcane and kludgey to me. I know it rocks (I'm told so repeatedly), but apparently it doesn't jibe with the way my mind works.
__________________
Kill your t.v.
Reply With Quote
Old 24th May 2008
lvlamb's Avatar
lvlamb lvlamb is offline
Real Name: Louis V. Lambrecht
Spam Deminer
 
Join Date: May 2008
Location: .be
Posts: 221
Default

I use (pd)ksh, gawk, (gsed) and other legacy tr, cut, ....
To make my wrappers "Windows users friendly", I put them in zenity.
Have some uneasy tasks, translate tables from html pages and send the data to postgresql database.
Take those financial data and generate charts.
I balance between using sql functions or keep ksh in control.
When I looked at CPAN modules to handle some tasks, but for each module, you have to read the pod to finally only use one function ksh or the OS userland can do in a one-liner.
There are modules for everything I need. But, gosh!, you first have the chose the right module, mean reading and comparing even more pods.

Always the case with languages (and window managers) which pretend to do everything. I cmpare them to a Black&Decker: does everything you want ... unefficiently.
Drill, but not as good as a driller, saws, but not as good as a circle-saw, ...
__________________
da more I know I know I know nuttin'
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 anomie View Post
Yet every time I've decided to learn/practice with perl, it has seemed arcane and kludgey to me.
i agree perl is kludgey (TIMTOWTDI), but once you get past the initial discomfort it really rocks. Also, CPAN is probably perl's biggest asset.
actually, perl is a powerful tool for sys-administration.

right now python looks interesting.
Reply With Quote
Old 24th May 2008
tuck's Avatar
tuck tuck is offline
Shell Scout
 
Join Date: May 2008
Posts: 99
Default

HTML for teh win
Reply With Quote
Old 24th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin Tournoij
Tcpdump Spy
 
Join Date: Apr 2008
Location: Ireland
Posts: 2,245
Default

Quote:
Originally Posted by 18Googol2 View Post
Quote:
Originally Posted by Carpetsmoker View Post
I don't know, doesn't seem like it ... here's a screenshot.
You are back to Windows?
No, I was playing Icewind Dale, I tried wine but it doesn't work ...

Quote:
Originally Posted by tuck View Post
HTML for teh win
HTML is not a programming language...

Quote:
2) The votes for PERL now show as zero... which is wrong. When I voted, it moved up to two, and with the recent PERL comments I would expect perhaps at least one more. And yet it's zero. What happened? Has someone sabotaged this vote?
The got screwed because I changed the poll, I added a few languages and changed the order alphabetically, I'm sorry, I didn't know this would mess up the results
Your vote is now registered for Java ... And even worse, as far as I can see there is no way to change it ...
Reply With Quote
Old 24th May 2008
tuck's Avatar
tuck tuck is offline
Shell Scout
 
Join Date: May 2008
Posts: 99
Default

Quote:
Originally Posted by Carpetsmoker View Post
HTML is not a programming language...
In comparison to brainfuck I would say HTML _is_ a programming language
Reply With Quote
Old 24th May 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

Quote:
Originally Posted by Carpetsmoker View Post
HTML is not a programming language...
HTML is scripting language, but php, javascript, shell are scripting language too, and they are in the pool
__________________
The power of plain text? It can control an entire OS
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 18Googol2 View Post
HTML is scripting language, but php, javascript, shell are scripting language too, and they are in the pool
carpetsmoker is right (and i think tuck was just joking). html is simply a markup language _not_ a programming language while the others you mentioned are.
Reply With Quote
Old 24th May 2008
anomie's Avatar
anomie anomie is offline
Local
 
Join Date: Apr 2008
Location: Texas
Posts: 445
Default

Quote:
Originally Posted by Carpetsmoker
Your vote is now registered for Java ... And even worse, as far as I can see there is no way to change it ...
So, the next person who chooses java as a favorite language can vote for perl instead. They'll trade votes with ai-danno.

Problem solved.
__________________
Kill your t.v.
Reply With Quote
Old 24th May 2008
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 3,319
Default

Quote:
Originally Posted by anomie View Post
Yet every time I've decided to learn/practice with perl, it has seemed arcane and kludgey to me. I know it rocks (I'm told so repeatedly)...
Perl's heritage starts with shell programming & blenderizes several constructs from C (amongst several other sources...). Given that its expressiveness is greater than what is offered by most other languages, Perl code can be hard to fathom (for example, study the examples from The Perl Journal's elite...), plus, consider how well regular expressions are so well integrated into the language. It can be hard at times knowing where the Perl specific code ends & regular expressions begin. At the same time, a well structured Perl script can be found in a single (yet convoluted... ) regular expression.

As my own proficiency in Perl has grown, the code I write has gotten denser, & the higher the probability that others will give up trying to understand all the nuances. As most of the Perl I write is only for my own benefit, this doesn't really matter, however, the point remains that Perl can help speed up a lot of work especially when it comes to parsing & translating text.
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

Perl has it's oddities but really it's not that bad, unless you pass out while reading the fine manual page anyway.


The only thing I hate about Perl is I'm used to writing hash['key'] not hash{'key'} and my $var sounds self centred >_>


Quote:
Originally Posted by 18Googol2 View Post
HTML is scripting language, but php, javascript, shell are scripting language too, and they are in the pool
HTML is a mark up language for defining document structure not a scripting language... Scripting is done via external or embedded langauges (i.e JavaScript, Perl, PHP, etc). Although it's a bit polluted these days HTMLs really a nice language for what it was designed for IMHO.


You could say I'm someone who feels 'dirty' doing things in HTML, that really belong in a stylesheet whenever possible ^_^
__________________
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
sverreh's Avatar
sverreh sverreh is offline
Real Name: Sverre Hval
Port Guard
 
Join Date: Apr 2008
Location: Norway
Posts: 36
Default

There must be something wrong here! I voted for perl, as several others, bur still the number of votes is 1!??
Reply With Quote
Old 25th May 2008
tuck's Avatar
tuck tuck is offline
Shell Scout
 
Join Date: May 2008
Posts: 99
Default

Quote:
Originally Posted by ephemera View Post
i think tuck was just joking
right, just a joke.

The only programming (sorry scripting) I did in the last 2 Years was HTML, PHP and I messed around with style sheets and Perl (I love Perl).

I really need to open my C book _and_ write some code. Reading C books during a night shift doesn't make you understand it if you have no chance to practice the learned stuff
Reply With Quote
Old 25th 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

Quote:
Originally Posted by anomie View Post
So, the next person who chooses java as a favorite language can vote for perl instead. They'll trade votes with ai-danno.

Problem solved.
Thanks, mate!

And thanks to Carpetsmoker for explaining what happened.

It's interesting that there is so much conversation surrounding Perl. If you read some other forums for years people have been comparing it to Latin (aka, a dead language.) Perhaps as a "web programming language" it is... and yet, given its powers as described in previous posts ("parsing & translating text" and "a powerful tool for sys-administration") , it seems to take a licking and keep on ticking.

And that makes me all warm and fuzzy inside.
__________________
Network Firefighter
Reply With Quote
Old 25th May 2008
matt matt is offline
Port Guard
 
Join Date: May 2008
Posts: 13
Default Ruby vs Perl

I started learning Ruby about a month ago and I like it a lot more than Perl. The syntax is a lot cleaner and easier to work with. Take functions, for example. You can just say:
Code:
def fn(param1, param2, param3)
  ...
end
instead of:
Code:
sub fn {
  my ($param1, $param2, $param3) = @_;
  ...
}
That just seems so much harder than it needs to be. I practically have to break out the book every time I want to declare a function in Perl. I like Ruby a lot better. I think the design of it is just really good.
Reply With Quote
Old 26th May 2008
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

The only bad thing about Ruby is when you go back to Semicolon land !!!
__________________
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 26th May 2008
drhowarddrfine drhowarddrfine is offline
VPN Cryptographer
 
Join Date: May 2008
Posts: 377
Default

Everything should be done in assembly language.
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 03:07 PM.


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