L
15

Had to pick between Python and JavaScript for my first real project

I finally decided to build a proper project after 3 months of tutorials. I had this idea to make a tool that tracks my weekly spending and gives me a simple summary. I went back and forth between Python and JavaScript for about two weeks before settling on Python with just plain text files for storage. The hardest part was picking between Flask for a web interface or keeping it as a command line app. I ended up going with the command line version and honestly it took me about 4 evenings to get something working. Has anyone else struggled with picking a first language for a real project instead of just following tutorials?
2 comments

Log in to join the discussion

Log In
2 Comments
troy977
troy9777d ago
What kind of project exactly? Python's fine for tracking spending but JavaScript would've let you build a proper web interface without switching languages. Flask adds complexity you probably didn't need for a personal tool anyway.
6
foster.dylan
foster.dylan7d agoMost Upvoted
I actually used to think the opposite... I was all about JavaScript for everything because of how versatile it is on the web. But then I tried to build a similar personal finance tracker in JS and got completely lost in dependencies and build tools. Python with just text files sounds so much simpler and honestly that's probably why you actually finished it. The command line route was smart too because you avoided all that HTML/CSS overhead that would've doubled your work. It's wild how picking the "boring" option actually helps you learn more... you're forced to think about the logic instead of fighting with frameworks.
4