Squirrels Hate Robots

Rage Driven Development

Posts Tagged With:
Attribute

RSS

The main point of attributes is to add metadata to code that is easily parseable and can think for itself when you ask for it. Up to now most devs were probably doing this using the PHP docblock thing - those double star multi-line comments. We'd fill them with @tags and then parse that data with Reflection and probably some regular expressions to make any sense of the blob of text.
Continue Reading...
1 Image | 9 Code Blocks | 8 Min Read


Page 1 of 1

About


Blogging about web development. Sometimes there might even be useful information wedged in between complaints. You never know.

T_PAAMAYIM_NEKUDOTAYIM

Bloggers


Blog Owner
bob
Dallas, TX

Posts
18

Comments
6

Images
27

Code Blocks
38

Reading Time
~ 50m 4s