“If … , then …” don’t forget define the “Else …”
Expect less and define my own actions
3 min readApr 10, 2022
- If <lamp is off> and <button is pressed>
- Then <turn the light on>
- Else if <lamp is on> and <button is pressed>
- Then <turn the light off>
- Else <keep the light as is>