Yash
Jan 18, 2024

--

It's true that the often used pattern for Python variable names is snake_case. Nonetheless, Python's flexibility is one of its strong points, the interpreter doesn't impose many rigid rules. Therefore, even if snake_case is recommended, camelCase won't result in mistakes. Most Python coders might just find it a little strange looking. Maintaining consistency within a codebase is crucial. Either convention can function well in practice as long as everyone on your team agrees on a style. I hope it makes sense.

--

--

Yash
Yash

Written by Yash

I'm a Data Scientist & Renewable Energy geek 🌱 Exploring Data📊, Green tech🌍, and Innovation💡 Hope to write on Data Science, Life, & Everything in between ;)

No responses yet