Crypto. D,Vala,Go,Python,Java,C++ Interpreted Languages: PHP, Perl, Python, Ruby (Sheet One) - Hyperpolyglot. A side-by-side reference sheet sheet one: grammar and invocation | variables and expressions | arithmetic and logic | strings | regexes | dates and time | arrays | dictionaries | functions | execution control | exceptions | concurrency sheet two: file handles | files | file formats | directories | processes and environment | option parsing | libraries and namespaces | objects | polymorphism | reflection | net and web | unit tests | debugging and profiling | java interop sheet two: file handles | files | directories | processes and environment | option parsing | libraries and namespaces | objects | polymorphism | reflection | net and web | unit tests | debugging and profiling | deployment versions used The versions used for testing code in the reference sheet.
Cheat Sheets. TimeTransitionsImage (PNG Image, 524 × 455 pixels) PHP: a fractal of bad design - fuzzy notepad. (This article has been translated into Thanks!)
Preface. Design Patterns In Python (@Testing Perspective) Dynamic State Machines. I was talking with my coworkers Jeff and Randy yesterday about some work Randy was doing implementing a finite state machine in django, and I was reminded of a pattern I've previously used to implement state machines using Python's dynamic typing to do it.
In more static languages, an object is forever bound to its type, and implementing state-dependent behavior often requires using supporting classes which can be switched out to implement the variable behavior of different states. Python's dynamic nature makes this much simpler. Implementing state with dynamic typing In python, an object's type is determined simply by looking at the value of it's __class__ attribute. Monkey patching in Python. Дерево ван Эмде Боаса / Алгоритмы. Advanced Bash-Scripting Guide.