Settings

Theme

Ask HN: How to get good feedback for academic code?

4 points by aregue 8 years ago · 6 comments · 1 min read


As part of my academic research I am writing some python code. Although I try to follow good coding practices I don't get any feedback on my code from my supervisors, as they are domain experts (civil engineering) but not experienced in software engineering.

How do others in simmilar situations get feedback for the code they write?

tedmiston 8 years ago

This is definitely a pretty common situation with academic code.

I think there are two paths - (1) human code review to consider things like design patterns, and (2) automated code review through static analysis to consider things like linting, use of language idioms, cyclomatic complexity, code duplication, variable reuse, etc.

Code Climate [1] is one service that provides the latter pretty well. It's free for open source.

You can also run linting tools on your local machine, for instance ESLint for JavaScript or pycodestyle / pep8 or flake8 for Python.

[1]: https://codeclimate.com/

brudgers 8 years ago

CodeReview on StackExchange, so long as the code works.

https://codereview.stackexchange.com/

math_and_stuff 8 years ago

I would recommend starting a code peer review circle with your fellow domain experts and never allowing yourself to push to your repo without someone reviewing.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection