Any tips on keeping up this discipline?
One and only, IMO: Link this question to an action you do every evening!
For example, washing your teeth, changing clothes, taking a shower, or when pulling the covers on to sleep. Select one action you do religiously every evening, and whenever you do this action, ask yourself the question, "have I learned something new today?". If you can honestly say "yes, I learned something useful today", then sleep sound, you earned it! But if not, then get up and do something, or read something useful on your phone using the DEV app :), etc.
Back when I was around 10 years old, I heard somewhere that the Japanese did this every night. I thought it was SO cool I decided to make that a part of my life. I don't even know if it's true from the Japanese! Also, I thank to my dad, who I saw learning and working really hard every day and night from home, to build his own thing. I learned that, even if all goes south, I can still learn something new every day, and what I learn, I can use to improve my life.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.