@a4dd4cb2 Certainly. It's a trial-and-error process that really depends on your learning style and how you think. For me, I'm a strong visual learner with a focus on hands-on so having visuals and direct examples tend to help the most.
I find that before I write any code, I first write down on a piece of paper the following:
1. The overall objective, purpose, or goal of my code
2. The steps to achieve it (using pseudo code or full sentences)
3. Any extreme cases to watch out for
It's a rigid, but useful habit I learned from my math and CS courses that I sometimes overdo to stay focused, minimize time wasted, and understand what I do and why.
#documentation #coding #codingstrategy #detailoriented
#introduction
I'm an MS Statistics graduate who codes in #r (and #python in the past). My past work involves data reporting for #highered and #environment conservation. I'm on #Mastodon to connect with like-minded professionals about their work and collaborate.
My interests include mental health, nature, politics, history, and culture.
When I'm free, I enjoy learning about R, checking out new restaurants and hiking spots with others, and working out. Looking forward to meeting folks here 😄
Notes by Ken Vu | export