Serious Coder One
Home
Blog
Resume
About
Serious Coder One
Blogs
One post
Understanding Cohesion - Grasping at the abstract
Jun 13, 2019
6 minutes read
Thinking in the abstract is absolutely nessesary for a developer. We constantly deal with abstract concepts, weather you know it or not. Unfortunately many times we dont recognize concepts, but rather just think of code as “If this… then that.. If this… then that.. else this…” and your increadibly long chain of “logic” builds up in your memory until… Finally! You know where to wirte the next line of code. It’s coding like this. When this first became popular I was a little annoyed. I was already a decent programmer, and my first reaction to this was “Yeah, I used to code like that… right out of school. When I did not know any better!” That great big long chain of “logic” should have been broken up into more cohesive abstractions. When coding’s abstract nature becomes just a little bit more concrete… code feels more like well architected building. With rooms, doors, hallways. Perhaps a courtyard, and a shed. It all makes sense. You know where you are! You don’t “get lost” We humans deal in the abstract ALL - THE - TIME! Langauge is pure abstraction. Our linguistic faculties are amazing! Children learn to understand what is going on and speak without even trying.......