1.lambda expression c# a.(x, y) => x == y b.() => SomeMethod() ruby: -> {|msg| puts msg} python can use c# like and remove "lambda" keyword. 2.global variable ruby $glo_var python can use $ or @ or another and remove "global".
But why?
-- Markus (from phone)
Pynix Wang
1.lambda expression
c# a.(x, y) => x == y b.() => SomeMethod()
ruby: -> {|msg| puts msg}
python can use c# like and remove "lambda" keyword.
2.global variable
ruby $glo_var
python can use $ or @ or another and remove "global".
------------------------------------------------------------------------
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/markus%40unterwaditzer.net
This discussion is better suited for python-ideas than it
is for python-dev.
On Fri, 14 Jun 2013 16:50:53 +0200, Markus Unterwaditzer
But why?
-- Markus (from phone)
Pynix Wang
wrote: 1.lambda expression
c# a.(x, y) => x == y b.() => SomeMethod()
ruby: -> {|msg| puts msg}
python can use c# like and remove "lambda" keyword.
2.global variable
ruby $glo_var
python can use $ or @ or another and remove "global".
------------------------------------------------------------------------
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/markus%40unterwaditzer.net
_______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/rdmurray%40bitdance.com
On Fri, 14 Jun 2013, R. David Murray wrote:
This discussion is better suited for python-ideas than it is for python-dev.
Better yet, perl-ideas.
On Fri, 14 Jun 2013 16:50:53 +0200, Markus Unterwaditzer
wrote: But why?
-- Markus (from phone)
Pynix Wang
wrote: 1.lambda expression
c# a.(x, y) => x == y b.() => SomeMethod()
ruby: -> {|msg| puts msg}
python can use c# like and remove "lambda" keyword.
2.global variable
ruby $glo_var
python can use $ or @ or another and remove "global".
Isaac Morland CSCF Web Guru DC 2554C, x36650 WWW Software Specialist
participants (4)
-
Isaac Morland
-
Markus Unterwaditzer
-
Pynix Wang
-
R. David Murray