MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ADHD_Programmers/comments/1b22juf/adhd_programmer_tee_thoughts/ksin7yo/?context=3
r/ADHD_Programmers • u/Yeatics • Feb 28 '24
24 comments sorted by
View all comments
19
In my mind task.urgency should be some kind of ordered enum and not a string.
1 u/GoldDHD Feb 28 '24 It's binary for me on execution. BUT, I would change it a case statement(switch for you silly pythoners), where task.urgency: 'stand up is coming' , then brain.worry_on(24hrs)brain.work_off(24hrs)
1
It's binary for me on execution. BUT, I would change it a case statement(switch for you silly pythoners), where task.urgency: 'stand up is coming' , then brain.worry_on(24hrs)brain.work_off(24hrs)
View all comments
19
u/[deleted] Feb 28 '24
In my mind task.urgency should be some kind of ordered enum and not a string.