local structure

Table of Contents

A structure that is local to a specific context, with specific condition, situation, objective, and scope of consideration.

A local structure is usually small in length.

It is to the opposite of

1. example

1.1. jigsaw game

piecing together the edge and corners

1.2. capture

when I’m on my linux machine, when I want to take some note, I can use S-c to spawn an emacs frame with org-capture.

local to the context of my linux machine, objective of taking note, and only contain 1 step, with no conditions or alternatives to consider about.

1.3. cleaning surface

when I’m cleaning my room, I go from the highest surface to the lowest: closet, desk, bed, then floor.

local to the context of my room, objective of cleaning, contains a procedure, with no conditions or alternatives to decide on.

2. pros and cons

usually, the following properties are expected with local strucures:

2.1. Pros

  • fast, low effort, low overhead
  • flexible to change and modification
  • easier to implement new ideas
  • distributed, parrallel (if there’s more processors available)

2.2. Cons

  • usually harder to affect the whole system, make radical change to the whole system.(you can write a protocol for it).
  • less order, more chaos
  • less preditable (needs proof, rather than script)
  • progress are easily loss (if not being focused on)

Backlinks

Author: Linfeng He

Created: 2024-04-03 Wed 23:24