If they had a sane way to keep IDE files in a single top level project directory, I would be much happier.
Write Clean, Professional, Maintainable, Quality Code in Python
21–30 of 56 posts
Re: Write Clean, Professional, Maintainable, Quality Code in Python
#22Earlier quoted context omitted.
Me too!
You know about the free community edition, right?
Re: Write Clean, Professional, Maintainable, Quality Code in Python
#23Earlier quoted context omitted.
[deleted]
Certainly in eclipse it's possible to specify formatting rules. You can also use the checkstyle plugin to enforce correct formatting.
Re: Write Clean, Professional, Maintainable, Quality Code in Python
#24My biggest problem with the JetBrains IDE is that it scatters file turds through your project; making it a pain for developers to use source control without generating random conflicts. An IDE's files have no reason to be version controlled in every project (nor should a project require every developer to use the same IDE). If they had a sane way to keep IDE files in a single top level project directory, I would be m…
Brilliant way of describing the IDE metadata files, BTW. I got a nice chuckle from that.
Re: Write Clean, Professional, Maintainable, Quality Code in Python
#25My biggest problem with the JetBrains IDE is that it scatters file turds through your project; making it a pain for developers to use source control without generating random conflicts. An IDE's files have no reason to be version controlled in every project (nor should a project require every developer to use the same IDE). If they had a sane way to keep IDE files in a single top level project directory, I would be m…
Re: Write Clean, Professional, Maintainable, Quality Code in Python
#26My biggest problem with the JetBrains IDE is that it scatters file turds through your project; making it a pain for developers to use source control without generating random conflicts. An IDE's files have no reason to be version controlled in every project (nor should a project require every developer to use the same IDE). If they had a sane way to keep IDE files in a single top level project directory, I would be m…
https://github.com/github/gitignore/blob/master/Global/JetBr...
Re: Write Clean, Professional, Maintainable, Quality Code in Python
#27I have been using PyCharm for few months after using Sublime Text 2 for years. It is very well engineered tool and has greatly improved my code quality. Just came to know 'Python code compatibility checks' option. Will definitely be helpful as I am starting to write Python 2/3 compatible code.
Re: Write Clean, Professional, Maintainable, Quality Code in Python
#28vim+python-mode is more than enough for my needs.
Re: Write Clean, Professional, Maintainable, Quality Code in Python
#29An IDE will never help you develop "Clean, Professional, Maintainable, [and] Quality" code if you're not interested in writing it in the first place. And if you're interested in writing good code in the first place, an IDE is hardly a requirement. Frankly, as a developer who has tried a number of IDE's and text editors, I'm not sold on the idea that your choice of editing environment has any correlation to any of tho…
And specifically, it's a lot harder than doing it in java or C++. I've seen C++ codebases that exceed 8 million lines of code and held together (not without friction, that I guarantee). I've seen java codebases with about half that that held together a lot better than the C++ ones.
Even accounting for the fact that python easily lets you achieve 5 times as much in the same amount of lines (at the cost, imho, of more surprises when wrong types get passed to your functions). I'm not sure "normal python" is more than a little bit more succint than (good) C++ though. Easier to read, sure, if you're allowed to make assumptions about types. But not that much shorter.
I've yet to see the first million line python codebase. And python has certainly had sufficient time to develop such codebases. Why aren't they here already ? Those C++ codebases were almost operating systems though (with extremely tricky threading support libraries, every project it's own of course), something you fundamentally can't do in python. The java codebases were financial stuff though, something that could easily be done in python, and they certainly have the money to absorb the increased hardware cost, and looking to have faster development turnaround. That's another discussion I can guarantee you will have with your boss if your app really grows, the hardware cost. When it comes right down to it, a programmer is worth (rule of thumb) about 15 servers. If python means one less programmer, but 50 extra servers, you will lose that discussion with your boss.
Dynamic typing is certainly a massive advantage for small codebases. It becomes more and more of a disaster on larger ones though. So an IDE for python ... it merely lets you lose the battle with your code that much faster.
Re: Write Clean, Professional, Maintainable, Quality Code in Python
#30An IDE will never help you develop "Clean, Professional, Maintainable, [and] Quality" code if you're not interested in writing it in the first place. And if you're interested in writing good code in the first place, an IDE is hardly a requirement. Frankly, as a developer who has tried a number of IDE's and text editors, I'm not sold on the idea that your choice of editing environment has any correlation to any of tho…
However, I think great IDE will help OTHER people to maintenance and refactor code to clean, professional, and maintainable one. I always use IDE to refactor code, as other developers might not writing clean code, even myself.