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

Re: ?: = Obfuscation? (value)

by tye (Sage)
on Dec 01, 2006 at 17:25 UTC ( #587238=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download

  1. or download this
    $x= cond() ? this() : that();
    # vs.
    } else {
        $x= that();
  2. or download this
    my $x= cond() ? this() : that();
    # vs.
    } else {
        $x= that();
  3. or download this
    $x= cond() ? this() : that();
    # vs.
    $x= pick();
  4. or download this
    my $x= DoSomething(
        cond() ? this() : that(),
        foo() ? bar() : baz(),
  5. or download this
        # Some fairly complex parsing regex

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://587238]
[Discipulus]: but i'd need 2 courses o acces the first lvl examen: they didnt pay it this year
[1nickt]: damn. pricey. I would have said there's not much to learn but apt-get, and do everything else in Perl ... but maybe I am forgetting some of the learning curve ;-)
[Discipulus]: the teacher is a python programmer.. ;=) he said it was fshion when he had to choose..

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2017-12-11 17:21 GMT
Find Nodes?
    Voting Booth?
    What programming language do you hate the most?

    Results (308 votes). Check out past polls.