[-] [email protected] 5 points 3 weeks ago

Similarly, Perl lets you say

my $ret = do {    if (...) {        ...    } else {        ...    }};
[-] [email protected] 3 points 1 month ago

I am 100% confident that your claim is factually wrong.

[-] [email protected] 5 points 1 month ago

I agree with your core point, but no software is intuitive.

[-] [email protected] 5 points 1 month ago

b == 7 is a boolean value

Citation needed. I'm pretty sure it's an int.

[-] [email protected] 4 points 1 month ago

Do you know the difference between a script and a program?

A script is what you give the actors; a program is what you give the audience.

[-] [email protected] 3 points 3 months ago

Yeah, just don't make any mistakes and you'll be fine. Come on guys, how hard can it be?

[-] [email protected] 4 points 4 months ago

@Tangentism @Ephera Did you mean:

echo "${var:-empty}${var:+no it aint}"

?

[-] [email protected] 5 points 5 months ago

@affiliate Hey, you didn't even mention that char *args[] actually means char **args in a parameter list.

[-] [email protected] 8 points 6 months ago

... Perl, Haskell, Lisp, ...

[-] [email protected] 3 points 6 months ago

@masterspace

I haven’t used Perl though, what do you like better about it?

"Undeclared variable" is a compile-time error.

[-] [email protected] 4 points 6 months ago

@masterspace "Undeclared variable" is a runtime error.

Perl.

view more: ‹ prev next ›

barubary

0 post score
0 comment score
joined 2 years ago