Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new features #1

Open
toltarisa opened this issue Apr 14, 2020 · 1 comment
Open

new features #1

toltarisa opened this issue Apr 14, 2020 · 1 comment

Comments

@toltarisa
Copy link

how would be this app can show how many lines of code each method have and if it is a big method you can warn the developer, or correcting method and variable name according to naming convention ?

@lucamezzalira
Copy link
Owner

Hi @toltarisa
thanks for the feedback, what you are talking about sounds more static analysis (regarding the lines of code) and a linter.
There are many tools in the JavaScript ecosystem that fulfil these requirements.
For instance, for static analysis I used Plato or sonarqube.
Instead, as linter I recommend eslint.

Micro-runner's goal is doing micro benchmarking, therefore after individuated an algorithm that smells, trying to isolate (if possible) and having metrics for guiding you toward an optimal solution.
I believe data is power, often we are too lazy or we accept that certain implementations should be done in a specific way because everyone is doing that.
In reality, there are certain situations where you need to target low-end devices with JavaScript and also a for loop could matter.
I hope it makes sense, let me know if this answers your recommendation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants