Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: If I was forced to program in another language, the Perl language feature I would miss most would be: (ad-hoc lists)

by tye (Cardinal)
on Oct 17, 2006 at 14:54 UTC ( #578796=note: print w/ replies, xml ) Need Help??


in reply to If I was forced to program in another language, the Perl language feature I would miss most would be:

I most miss the ability to use ad-hoc lists. Although in C++ you can implement things like the >> and << that are used for streaming, it would be a lot of work and still not give you some simple tools like the ability to write just for my $p ( _min() .. _max(), 0, -1 ).

I miss trailing comma a tiny bit. I'd miss it even less if our company coding standard allowed me to use leading commas:

foo= bar( first , second , third );

I don't miss most of the items listed. I find that it works best to program in the language you are using rather than try to force the language into the mold of your preferred programming style. So when programming in C++, for example, I design solutions that fit C++ and only rarely wish for features of other languages.

- tye        


Comment on Re: If I was forced to program in another language, the Perl language feature I would miss most would be: (ad-hoc lists)
Select or Download Code
Re^2: If I was forced to program in another language, the Perl language feature I would miss most would be: (ad-hoc lists)
by davido (Archbishop) on Oct 18, 2006 at 05:46 UTC

    I find that it works best to program in the language you are using rather than try to force the language into the mold of your preferred programming style. So when programming in C++, for example, I design solutions that fit C++ and only rarely wish for features of other languages.

    That concept is very much similar to the way fluency in a verbal language works. English is my first language, but when I achieved fluency in Portuguese, I found it much easier, when speaking Portuguese, to simply think and express all in Portuguese. Formulating thoughts in English and translating them to Portuguese on-the-fly is cumbersome, and tends to force expression down into the baby-talk realm. You're simply better off thinking and interacting in the language of choice at the moment. Occasionally one finds oneself wishing that a certain word existed in another language, but for the most part it's inconvenient to hold up a conversation while focusing on wrapping an English means of expression in a Portuguese idiom.

    I guess that parallel is one of the reasons why programming languages are called programming languages.


    Dave

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://578796]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2014-12-17 22:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (40 votes), past polls