Wednesday, July 17, 2013
Invariants, Primitives
Learned about Invariants (how are these related if at all to business rule enforcement?) and topics of primitives, e.g. named primitives and how they can be a source of OO classes and regarding primitive obsession code smell.
Tuesday, July 2, 2013
C Basics
Was wondering about how the iterator over a pointer worked by simply adding 1 in final example of http://en.wikipedia.org/wiki/Struct_(C_programming_language). Answer:
Because pointers in BCPL and B are merely integer indices in the memory array, arithmetic on them is meaningful: if p is the address of a cell, then p+1 is the address of the next cell.http://plan9.bell-labs.com/who/dmr/chist.html
Subscribe to:
Posts (Atom)