TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

4 pointsby areguealmost 8 years ago
As part of my academic research I am writing some python code. Although I try to follow good coding practices I don&#x27;t get any feedback on my code from my supervisors, as they are domain experts (civil engineering) but not experienced in software engineering.<p>How do others in simmilar situations get feedback for the code they write?

3 comments

tedmistonalmost 8 years ago
This is definitely a pretty common situation with academic code.<p>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.<p>Code Climate [1] is one service that provides the latter pretty well. It&#x27;s free for open source.<p>You can also run linting tools on your local machine, for instance ESLint for JavaScript or pycodestyle &#x2F; pep8 or flake8 for Python.<p>[1]: <a href="https:&#x2F;&#x2F;codeclimate.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;codeclimate.com&#x2F;</a>
brudgersalmost 8 years ago
CodeReview on StackExchange, so long as the code works.<p><a href="https:&#x2F;&#x2F;codereview.stackexchange.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;codereview.stackexchange.com&#x2F;</a>
评论 #14947302 未加载
math_and_stuffalmost 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.