|
|
|
|
|
by hejdjdjdkkss
1805 days ago
|
|
> I studied CS over 40 years ago. I think I'm still deficient, at the end of my career. CS is hard. Name one system you worked on in your career that was “abstracted well” and built to the quality uncle bob thinks is good. I bet you can’t. Because they don’t exist. Not in the framework that this industry now measures “abstract well” in. It’s a square peg in a round hole. Writing software is more like composing music than it is an engineering or maths discipline no matter how much people really want it to be. (Hardware is a different story) Come at me bro :) |
|
void get_coffee() { /* ... */ }
void move_away_from_obstacles(auto what_to_move_away) { /* .... */ }
void place(auto object_to_place, auto to_be_placed_on) { move_away_from_obstacles(where_to_place); put_object_on(to_place, to_be_placed_on); }
void sit() { place(butt, seat); }
void prepare_mind() { get_coffee(); sit(); }
void get_opinion(int on_whom) { /* .... */ if (on_whom == UNCLE_BOB) { return create_opinion("too many short functions"); } }
void get_opinion_of_uncle_bob() { prepare_mind(); opinion my_opinion = get_opinion(UNCLE_BOB); return my_opinion; }