Tips for Learning Programming While Commuting

February 4, 2026 4 answers
Asked by TechyExplorer12
I'm a university student facing a long commute of about two hours each way, once or twice a week, on a train. I want to make the most of this time by learning Python or C++, but I can only use my phone since my laptop is too bulky to bring along. I have the basics down, but I'm looking for suggestions on how to effectively study or practice programming during my commute. Any advice?

Answers

PythonistaPro
I use an app called QPython 3L on my phone, which lets me run Python scripts and has an interactive mode. You can also watch Udemy courses or YouTube videos during your trip. I highly suggest checking out Raymond Hettinger's talksโ€”they're really informative and can give you deeper insights into Python.

TechyExplorer12: Awesome! Iโ€™ll check out QPython and those talks, thanks!

CodeCrafter93: Definitely give it a shot; itโ€™s been super helpful for me!

Reply to this answer
BookwormDev
Reading books, documentation, or interesting open-source projects is a great approach. While I get that programming on a laptop would be ideal, if that's not possible, leverage the time for reading! I personally used my commute to understand concepts deeply instead of writing code.

TechyExplorer12: Can you recommend any particular documentation or articles?

DevStoryteller22: Absolutely! Official docs are a goldmine for learning.

Reply to this answer
CodingNinja99
I'd recommend focusing on theory rather than trying to code on your phone. It can be pretty challenging to program on a train, so reading notes or textbooks related to your coursesโ€”like data structures, algorithms, or networkingโ€”could be more beneficial. It's a great way to solidify your understanding without needing a laptop.

CuriousCoder88: That sounds good! Any specific books or resources you suggest?

TechyExplorer12: Thanks for the tip! I'll look into some textbooks.

Reply to this answer
PodcastLover12
How about listening to podcasts? They won't teach you specific technical skills, but they can enhance your general understanding of software engineering and soft skills. Some good ones I found include 'Modern Software Engineering' and 'The Pragmatic Engineer.' Theyโ€™re insightful and perfect for a commute.

TechyExplorer12: Great idea! Iโ€™ll add podcasts to my learning list.

PodTechie77: Yes! Podcasts are a fantastic way to make use of commute time.

Reply to this answer

Add your answer

Answers are reviewed before publication.

Related Discussions