corpnewt / CorpBot.py

A very clumsy python bot for discord
MIT License
194 stars 91 forks source link

Code readability #144

Open CaedenPH opened 2 years ago

CaedenPH commented 2 years ago

The code is very uncontrolled and everywhere. For most python projects, black is used to format code to ensure readability. You can find black here: https://github.com/psf/black

crystall1nedev commented 2 years ago

my machine in this case is my ability to edit the code

we like spaghetti around here

kernel-dev commented 2 years ago

I don't think everyone should resort to simply using a predefined format for code formatting, because some people may not like the format of black, myself included. Although it is a very nice and useful project, I just do not like the overall format. I'm much better off doing it myself, since I do it automatically as I write the code. And, yes, Corp does acknowledge that it's spaghetti, but you do have to take into consideration that it's a few years of programming experience poured into this project, which may lead to messy code early-on, or even retain throughout the entire project's existence.