Tag: Development

Community

Create better namespaces in PHP

(Nathan A. Good) Namespaces — introduced in PHP V5.3 — are a way of giving your PHP classes, constants, and functions context so that elements with the same names can be understood as being unique. The unique names allow you to avoid naming collisions, which occur when two classes or functions of th

Community

Parsing with Active Patterns in F#

(Adam Granicz) You may have come across the need to read textual input into a structured representation before. Consider interpreting your own domain-specific language (DSL), reading back marshaled data from the disk, turning XML into a typed representation, or simply reading a comma-separated file: