Summarize how to use your spare time to understand ironpython over the past few days (not to mention learning)
One goal of this project is to help other dynamic languages to be transplanted as a success case. NET platform, to enjoy the convenience provided by Clr and the general common library (this is a short part of Dynamic Language ).
Benefits of Dynamic Language: It facilitates an interactive development cycle and facilitates agile development.ProgramMore fun
Python benefits: Supports different programming paradigms: Object-oriented, structured, and functional programming, and supports Aspect-Oriented Programming. sparse Syntax provides better readability, compared with some structured languages, there are fewer syntactic structures, and a large number of English keywords are used to replace punctuation marks, eliminating many line NOSIE (James schementi said,Line noise in C # Is a statement for static type and display, but it objectively affects readability, so it makes a lot of noise Tomorrow :)), with the tracking of dynamic types by the compiler/interpreter, the programmer does a lot less of display declaration work.
Ironpython compilation process:
Ironpython handles C # exceptions and Python exceptions. The solution is to automatically convert exceptions to the type (?) that the catch wants in the program (?)
Another interesting thing is that Aaron Marten mentioned that ironpython can be used instead of VB to write vs macros.
Some specific syntaxes:
Import pyevent
Pyenent. make_event ()
If Elif
Try again t
Function:
Isinstance (OBJ, button)
Hasattr
Getattr
Loadxaml
References:
Http://blogs.msdn.com/aaronmar/archive/2006/02/16...
Http://msdn.microsoft.com/msdnmag/issues/06/10/CLR...
Ironpython tutorial