News for hackers. Stuff that matters.
Re:Ask HN: What are some developer tools you wish existed? by jka on Tuesday February 02, 2021 @01:18PM (#26004528)
A way to surface code quality -- across various metrics -- at any level of code (individual token, line of code, file, directory, package, library, application, ...).

Metrics could include: code style consistency, stability (has the area of code changed much over time), risk (is there potential for security vulnerabilities related to the code area), and test coverage.

The metrics - if displayed visually - might look something like a Heat Map[1], and would ideally be represented in the same place as the code itself, perhaps via background colours.

[1] - https://en.wikipedia.org/wiki/Heat_map

Re:Ask HN: What are some developer tools you wish existed? by Chyzwar on Wednesday February 03, 2021 @04:30PM (#26019398)
Examples: Code Climate https://codeclimate.com/ SonarQube https://www.sonarqube.org/

There is plenty of tools like this. I find them not very useful. They do not provide more value than standard project CI/CD setup eslint/jest/typescript/dependabot. These create a lot of false positives and act as rubber stamp for incompetent managers. Look our code is great, but we just failed to release for 4 weeks because of bugs and infra.

Best code quality measure is rate of defects. Tracking these and properly labeling issues by component would give better indication where to invest time into refactors/rewrites. In current climate good QA are rare and companies believe that devs can do everything.

Re:Ask HN: What are some developer tools you wish existed? by jka on Tuesday February 02, 2021 @01:42PM (#26004831)
(in fact, resource usage efficiency for each code area could be a helpful metric too; CPU, memory, network, etc)
Re:Ask HN: What are some developer tools you wish existed? by lumpa on Tuesday February 02, 2021 @02:11PM (#26005190)
So either IDE and/or repository would show these? Sounds very useful and somewhat straightforward (if involved) to create, so I expect it to exist in some form. Will report back if I find anything.
Re:Ask HN: What are some developer tools you wish existed? by jka on Wednesday February 03, 2021 @08:49AM (#26013542)
Yep, it wouldn't be too surprising if it does already exist. It'd also potentially function something like a more advanced diff tool that can provide time-saving efforts to those who use it.

If mature and reliable enough it could actually be used to predict which changes are likely to cause future problems, and then the code reviewer(s) would have to decide how they'd like to act based on that information.

Re:Ask HN: What are some developer tools you wish existed? by lumpa on Tuesday February 02, 2021 @01:49PM (#26004917)
Something that could ingest an app's GUI code then render it as some accessible and editable... thing? So that users (and devs?) can easily produce mocks and proposed feature screenshots.

Like some sort of generic reverse wireframe sketcher.

Re:Ask HN: What are some developer tools you wish existed? by speedgoose on Tuesday February 02, 2021 @02:20PM (#26005313)
A no-code/little code platform that is open-source, well designed, powerful but simple, and does the GUI as well.

Like Hasura but not only for the data, or Microsoft Access but without Microsoft or vba.

Re:Ask HN: What are some developer tools you wish existed? by shayac2 on Tuesday February 02, 2021 @10:04PM (#26010106)
A heat-map of sorts for a codebase showing the files that have the most-frequent/most-recent edits as hottest. Purpose being to help acclimate new developers to a project by easily seeing which parts of the codebase are most actively worked on.
Re:Ask HN: What are some developer tools you wish existed? by fiftyacorn on Tuesday February 02, 2021 @02:13PM (#26005212)
A tool to autogenerate sequence diagrams for when I'm working on a method or function
Re:Ask HN: What are some developer tools you wish existed? by Chyzwar on Wednesday February 03, 2021 @04:41PM (#26019537)
https://www.youtube.com/watch?v=r5LA7ivUb2c Not same thing but VSCode have call hierachy.
Re:Ask HN: What are some developer tools you wish existed? by dave_sid on Tuesday February 02, 2021 @04:05PM (#26006627)
A machine that dispenses chocolate for every 100 lines of code I write.