News for hackers. Stuff that matters.
Re:Why we need a book about naming by jjeaff on Thursday February 13, 2020 @06:03AM (#22316788)
I haven't looked much if this exists, but a name generator script would be very handy. Ask for a couple of parameters, what does it do, what does it affect, etc. And then it spits out a name. Would be a great ide extension and could have a config file that checks into the source code to help keep things consistent.
Re:Why we need a book about naming by geocar on Thursday February 13, 2020 @06:35AM (#22316911)
I would love to have a mechanical naming czar!

I'm aware of https://hoogle.haskell.org/ which is kindof like that: You give it a type description and it tells you all the functions that have that type. Unfortunately, it's not actually that useful in my experience.

I once saw a sublime text plugin that someone could insert a description of a function and it'd automatically pull in code snippets from stackoverflow. It was cute, but I have serious reservations for some of the code I've seen in stackoverflow.

I imagine someone somewhere might have tried hooking up GPT-2 (or something) to a JIRA database of user stories and the diffs, and I'd be curious to know how that works.

Re:Why we need a book about naming by throwaway15392 on Thursday February 13, 2020 @08:34AM (#22317579)
I think what would be more handy is a standardization of how APIs should be written across many different domains, to make modules more interoperable.

The result of conceptualizing and abstracting different domains is in as much of a Wild West as it’s ever going to be today.

This reminds me I wanted to research about the theory of marketplaces to understand better how can we improve the market of reusable software components. By that I mean improving the process that we actually use to find and use or create and distribute reusable software components.

Re:Why we need a book about naming by darkcha0s on Thursday February 13, 2020 @07:38AM (#22317242)
You are seriously suggesting breaking my coding workflow, to open a popup just to give me a half-assed suggestion I will probably dismiss anyways? Visual studio wants your location