←back to thread

2024 points randlet | 3 comments | | HN request time: 2.34s | source
1. at-fates-hands ◴[] No.17517047[source]
When I first started getting into programming (was not a CS major in college) everybody said to start learning Python first.

I started digging in and a lot of concepts were easy to grasp and I learned quite a bit until I started doing front-end work and I stopped working with it.

This year, my buddy who got me into it originally, suggested I look at django and I've been having fun with that in the past few months. Made me think about picking Python back up and working with it again as the front-end scene is just so crazy right now.

replies(2): >>17518068 #>>17518204 #
2. dfsegoat ◴[] No.17518068[source]
We run django with django-rest-framework in production to provide our frontend app with the JSON api it needs -- it has some gotchas and isn't perfect, but is a treat to work with when you want to split time between front and back work.
3. hermitdev ◴[] No.17518204[source]
I learned Python ~14 years ago. I already had decent C, C++ & C# knowledge, plus a handful of assembly languages. I already knew how to program, but was taken aback by how approachable Python was. I can't remember if I started on 2.2 or 2.4, but I basically learned 99% of what I needed to know in the first few days. In the last 14 years, I've written a significant amount of Python, mostly for work (finance/trading). It's no exaggeration to say that my Python apps had billions, even trillions of dollars worth of orders/transactions/contracts flowing through them, and Python was rock solid for me every time.

It's still my scripting language of choice. I'm still more likely to rewrite a Perl script in Python than I am to try and make any significant change to the Perl script. I like the "batteries included" approach, and that the Python devs prefer to add new features via libraries than new obtuse syntax. I think most of the recent syntax changes were well deserved and wouldn't otherwise have been well served by a library (thinks like async, context managers, and going back further generators and the if/else ternary expression).

Also, I'm almost exclusively on Python 3 now. The only real issue I've had is constantly needing to remember how to properly open a CSV file for reading (I really don't know how they let that wart live for so long).