DaemonForums  

Go Back   DaemonForums > Miscellaneous > Programming

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

View Poll Results: favorite programming language?
Asm 19 12.93%
C 55 37.41%
C++ 31 21.09%
C# 7 4.76%
Java 13 8.84%
Javascript 5 3.40%
Perl 28 19.05%
PHP 29 19.73%
Ruby 11 7.48%
Python 32 21.77%
Shell 25 17.01%
Awk 11 7.48%
Others: Tcl, Erlang, Haskell, Ocaml, D, Forth ... 19 12.93%
Multiple Choice Poll. Voters: 147. 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
Thanked 35 Times in 31 Posts
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
Thanked 49 Times in 43 Posts
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
Thanked 20 Times in 18 Posts
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: 446
Thanked 69 Times in 46 Posts
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
Thanked 25 Times in 24 Posts
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
Thanked 49 Times in 43 Posts
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
Thanked 14 Times in 6 Posts
Default

HTML for teh win
Reply With Quote
Old 24th May 2008
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Old man from scene 24
 
Join Date: Apr 2008
Location: Eindhoven, Netherlands
Posts: 2,066
Thanked 198 Times in 156 Posts
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 ...
__________________
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
tuck's Avatar
tuck tuck is offline
Shell Scout
 
Join Date: May 2008
Posts: 99
Thanked 14 Times in 6 Posts
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
Thanked 20 Times in 18 Posts
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
Thanked 49 Times in 43 Posts
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: 446
Thanked 69 Times in 46 Posts
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: 2,876
Thanked 190 Times in 160 Posts
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
Thanked 112 Times in 104 Posts
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
Thanked 6 Times in 5 Posts
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
Thanked 14 Times in 6 Posts
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
Thanked 35 Times in 31 Posts
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
Thanked 0 Times in 0 Posts
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
Thanked 112 Times in 104 Posts
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: 358
Thanked 9 Times in 8 Posts
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 15 28th March 2012 01:40 PM
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 12:07 PM.


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