News for hackers. Stuff that matters.
Re:Smol Developer by emodendroket on Tuesday May 16, 2023 @08:10PM (#35969572)
That sounds like a really dull way to work to me, but I suppose I'd be a hypocrite if I complained about new software making my job rote and uninteresting.
Re:Smol Developer by fbrncci on Tuesday May 16, 2023 @08:29PM (#35969733)
Well to each it’s own. I want to hack together stuff and make it work. The less time spend on code, the faster I can figure out what does and not.
Re:Smol Developer by nemothekid on Tuesday May 16, 2023 @08:49PM (#35969913)
Some parts of engineering are really just copying and pasting the most banal scaffolding for some framework that refuses to work. I've been working on a side project where I get to play generics golf in Rust to my hearts content, but having to constantly Google what magic incantation I have to write to get react-hook-form to properly allow me to write variable input fields for an array of strings is mind numbing. [hint: useFieldsArray only works with objects, but the TS compiler wasn't smart enough to suggest that me]
Re:Smol Developer by emodendroket on Tuesday May 16, 2023 @09:15PM (#35970125)
True, products like Copilot do seem promising in that way.
Re:Smol Developer by aksss on Tuesday May 16, 2023 @11:44PM (#35971028)
Copilot is great for this and it’s impressive how the code it suggests is in keeping with the conventions used in the existing code base. Will be even better when I can highlight something like a string literal SQL statement in code and have it suggest optimizations. That’s just a tooling issue but that kind of context switching within the IDE will be fantastic.
Re:Smol Developer by emodendroket on Wednesday May 17, 2023 @12:26AM (#35971235)
I used a competing product due to work restrictions and it feels like it _could_ be really useful but in practice mostly was just helpful for banging out really repetitive tests. I think Copilot is probably more robust though.
Re:Smol Developer by 9dev on Wednesday May 17, 2023 @02:15AM (#35971831)
It really is. We use Copilot with three senior and two junior devs, and all of them really reported that it consistently suggests code snippets that are exactly what they were about to type.

Initially, I was a bit concerned about handing it over to the juniors, but it turns out, they aren’t really used to working with an IDE and context aware suggestions yet, so they don’t use Copilot to its fullest extent and often type stuff out even if it’s suggested to them.

Re:Smol Developer by easton on Wednesday May 17, 2023 @07:24AM (#35973785)
The Copilot Chat thingy they have in private beta has this, you can highlight a block and ask it to simplify/optimize. Not sure how well it works in big multi-file examples, but I had a block of PowerShell in a single file it was able to work with.
Re:Smol Developer by aksss on Monday May 29, 2023 @05:38PM (#36118401)
I’m still waiting on my invitation for the vs2022 copilot chat preview. :( Looking forward to it though.
Re:Smol Developer by anonzzzies on Wednesday May 17, 2023 @02:17AM (#35971839)
I write (when I write anything; I am a product manager) mostly compilers, databases, optimisations and create/invent programming languages and DSLs for the former. This work contains a lot of tedious stuff which I hate, but also contains (80/20 rule) work that takes by far the most time and least code; hardcore and cutting computer science mixed with a lot of cross cutting decisions (a wrong decision will destroy a lot of work all over the place). That’s the work I like. I don’t see that work being replaced by AIs soon (10+ years), but the tedious work I hope will be replaced today, and it is getting there; currently large swaths are now done by copilot or gpt for us.