Hacker News new | ask | show | jobs
by moonchrome 1117 days ago
It's easy to :

- anticipate when the suggestions are likely to be useless and not even bother

- scan the proposals to see if they are what you want in cases it's useful

It's a boilerplate generator and you're happy when it saves you tedious mental effort.

1 comments

>It's a boilerplate generator and you're happy when it saves you tedious mental effort.

On the other hand the person trying to track down a subtle bug afterwards might be a little less happy at having to wade through oceans of boilerplate.

Sounds like you haven't tried copilot, basically scenarios like :

  if(a) {...}
  if(b) // here it predicts line by line from a once you start with similar logic
  if(c) // here it will do a one shot generalization of a and b for c
Likewise method variations, enum mappings, inferring call parameters from names and signature, etc. - these things are trivial to check and test but take effort to type out. When you know what you want to do and someone suggests the solution you had in mind you're happy you saved half a min or min of typing.

I'm as, if not more, likely to zone out on tedium and introduce the subtle bug myself.

That isnt boilerplate. It's isolated, repeated code.
In my book boilerplate = repetitive code you can't abstract.