Skip to content

Instantly share code, notes, and snippets.

View kevinjom's full-sized avatar
💭
I may be slow to respond.

Kevin Fan kevinjom

💭
I may be slow to respond.
  • Singapore
View GitHub Profile
@delbetu
delbetu / function_structure.md
Last active February 11, 2024 17:28
Uncle Bob best practices function structure

Intro

  • function signature should be small- the fewer the arguments the better
  • what types should be passed into those arguments
  • why switch and if cost such harm in the software structure ? -> how to get rid of them ?
  • why assign operator is consider harmful ?
  • Many software problems can be avoided by constraining state changing operators, and side effects.
  • How to structure our functions making error handling clean and maintainable fashion ?

Function arguments

@MohamedAlaa
MohamedAlaa / tmux-cheatsheet.markdown
Last active May 3, 2024 19:09
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname