recentpopularlog in

codestyle

« earlier   
psf/black: The uncompromising Python code formatter
Black is a well-behaved Unix-style command-line tool:

* it does nothing if no sources are passed to it;
* it will read from standard input and write to standard output if - is used as the filename;
* it only outputs messages to users on standard error; exits with code 0 unless an internal error occurred (or --check was used).
python  codingstyle  codestyle  formatter 
9 weeks ago by kme
Indent Finder - Freehackers
Indent Finder is a python script that reads a file and tells you what indentation is used inside the file. The indentation analysis works on any language. It was tested successfully with C, C++, python and Java code.
development  indentation  codestyle  python 
november 2019 by timbeadle
Thank you, Guido | Dropbox Blog
“When asked, I would give people my opinion that maintainable code is more important than clever code,” he said. “If I encountered clever code that was particularly cryptic, and I had to do some maintenance on it, I would probably rewrite it. So I led by example, and also by talking to other people.”
dropbox  python  techculture  maintainability  codearchitecture  debugging  codestyle  technicaldebt 
november 2019 by dirtystylus
Marco Rogers on Twitter: "The javascript community fought hard for the fat arrow syntax, () => {}. It’s shorter for sure. But way more annoying to type on a regular basis than function() {}. And that is the folly of programmer culture IMO. Constantly op
The javascript community fought hard for the fat arrow syntax, () => {}.

It’s shorter for sure. But way more annoying to type on a regular basis than function() {}.

And that is the folly of programmer culture IMO. Constantly optimizing the wrong things for the wrong reasons.
complexity  codestyle  programming  by:marcorogers  twitterthread 
october 2019 by dirtystylus
Terseness tension | Christian Heilmann
“The biggest flaw in the shorter is better thinking to me is that it assumes an outdated idea of development. We’ve come a long way in delivering code to our end users. Instead of writing live code there are a lot of sensible steps we can take. Linting the code for issues even before we add it to version control. Writing tests and validating the code against erroneous input. And converting and packing the code to be smaller in production than it is in development. Tools are great at shortening code to be more effective and even parsers and engines do their bit. JavaScript engines do a lot of optmising and caching of code. Thus a seemingly long piece of code can run faster than something that has been optimised prematurely.”
codearchitecture  programming  codestyle  by:christianheilmann  via:codrops 
october 2019 by dirtystylus
GitHub - python/black: The uncompromising Python code formatter
The uncompromising Python code formatter. Contribute to python/black development by creating an account on GitHub.
python  formatter  linter  codestyle  opinionated  alternativeto  pycodestyle 
june 2019 by kme
GitHub - PyCQA/flake8-bugbear: A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle.
A plugin for Flake8 finding likely bugs and design problems in your program. Contains warnings that don't belong in pyflakes and pycodestyle. - PyCQA/flake8-bugbear
python  flake8  codestyle  formatter  linter 
june 2019 by kme

Copy this bookmark:





to read