Skip to content

Instantly share code, notes, and snippets.

@thaiall
Created November 29, 2016 06:09
Show Gist options
  • Save thaiall/52786e306324beb5f46ce5bf1a2722f9 to your computer and use it in GitHub Desktop.
Save thaiall/52786e306324beb5f46ce5bf1a2722f9 to your computer and use it in GitHub Desktop.
ชีวิตของมนุษย์มีทางเลือกมากมาย สามารถโปรแกรมได้แตกต่างกันหลายแบบ นี่คือโปรแกรมรุ่นแรก รักใครก็ต้องดูแลคนนั้น นำเสนอผ่าน pseudocode
if (รักลูก = true) { do(ดูแลลูก) }
if (รักแฟน = true) { do(ดูแลแฟน) }
if (พ่อแม่รักเรา = true) { do(พ่อแม่ดูแลเรา) }
if (รักพ่อแม่ = true) { do(ดูแลพ่อแม่) }
if (รัก x = true) { do(ดูแล x ) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment