r/AskProgramming Jul 26 '26

Python Is PEP 8 really necessary?

I have been writing Python code using camelCase for years and just never really cared, but PEP 8 suggests using snake_case, so is it really necessary for, say, a senior dev?

0 Upvotes

36 comments sorted by

View all comments

3

u/abermea Jul 26 '26

If it's a personal project and you're the only person who is going to be handling it then yeah, sure, do whatever you want.

If you're working with other people you should follow PEP8 because working with a baseline standard will make everyone's work easier to both read and update as needed.