4 ms·
An IDE can help you write the code, but does not make it easier to read the code.
by xigoi 2y ago
An IDE can help you write the code, but does not make it easier to read the code.
- mklepaczewski 2y agoCan you elaborate? I'm not sure what you mean, but IDEs definitely make reading code easier. IDE does code formatting, highlighting, argument hints, jumping to methods, declarations, and various hover effects on variables, methods, and classes. Some IDEs offer call graphs and other more advanced tools. Not to mention static analysis that works out of the box in PHPStorm (and I'm sure it can be set up in VSCode).
- xigoi 2y agoI mean that no matter what you do, the arguments will always be shown in an inconsistent order and you’ll have to mentally swap them around. You probably could configure your editor to visually swap them, but that sounds like a really bad idea.
- mklepaczewski 2y agoIf the argument order is a problem for you, you can use named arguments.