Ironically, what I miss most from Python is Python2's print, which for a language proud of getting rid of parenthesis, that is very contradictory....
Same here. I will probably keep using Python 2 for as long as it works... simply because I don't have to type those parentheses.
Anyprint: use any language's print statements in Python
21–30 of 76 posts
Re: Anyprint: use any language's print statements in Python
#22Re: Anyprint: use any language's print statements in Python
#23Ironically, what I miss most from Python is Python2's print, which for a language proud of getting rid of parenthesis, that is very contradictory....
echo "hello world"
echo("hello world")
and as a bonus, also the following: "hello world".echoRe: Anyprint: use any language's print statements in Python
#24Re: Anyprint: use any language's print statements in Python
#25Ironically, what I miss most from Python is Python2's print, which for a language proud of getting rid of parenthesis, that is very contradictory....
Re: Anyprint: use any language's print statements in Python
#26Earlier quoted context omitted.
Same here. I will probably keep using Python 2 for as long as it works... simply because I don't have to type those parentheses.
As someone most at home in lisps--there's just no accounting for taste ;)
Re: Anyprint: use any language's print statements in Python
#27Ironically, what I miss most from Python is Python2's print, which for a language proud of getting rid of parenthesis, that is very contradictory....
Perhaps you'd enjoy Nim which supports both. echo "hello world" echo("hello world") and as a bonus, also the following: "hello world".echo
> print("OK")
> print "OK"
> ("OK %d"):format(1)
I've seen some funky (ab)use of these, people using literal strings and tables and functions named class and similar to do:
> class "Something" {
> -- ...
> }
Re: Anyprint: use any language's print statements in Python
#28Ironically, what I miss most from Python is Python2's print, which for a language proud of getting rid of parenthesis, that is very contradictory....
Perhaps you'd enjoy Nim which supports both. echo "hello world" echo("hello world") and as a bonus, also the following: "hello world".echo
You try to figure out how to do something, you see 3 different solutions and you ask yourself, what's the difference? What's more correct? Will I need one over the other? Are they compatible? Is one way better supported than the other?
The amount of time I've spent looking up differences between two APIs or two paradigms in Typescript is seriously ridiculous. And it feels really bad to not recognize something you've done before because it's written differently.
Common culprits: require() and imports, the countless ways of creating classes, the crazy amount of different ways to implement similar or identical workflows in webpack and pretty much the entire JS ecosystem in general.
Re: Anyprint: use any language's print statements in Python
#29Earlier quoted context omitted.
As someone most at home in lisps--there's just no accounting for taste ;)
Is there a LISP with significant white space in place of parentheses? Our two groups could be united by the disgust of the rest of the programming community.