Mirror is an entirely new concept in programming — just supply function signatures and some input-output examples, and AI does the rest.
Vivi ( @vivi@slrpnk.net ) English12•4 months agoalmost like a shitty prolog that won’t work half the time!
BatmanAoD ( @BatmanAoD@programming.dev ) 3•4 months agoDoesn’t prolog already “not work half the time”? (Disclaimer: I haven’t used it.)
thingsiplay ( @thingsiplay@beehaw.org ) 11•4 months agoI don’t mean this in a toxic way, but this is probably the worst idea I have seen yet with Ai in programming. People should use less Ai, and learn more how to program. It’s better in the long term.
https://github.com/AZHenley/Mirror
Is the language and interpretation predictable and exact? If you install a newer version of the Ai, can the exact same code behavior be guaranteed? What’s the benefit over using Ai tools that generate code in a static language, instead leaving it to be interpreted?
Reptorian ( @Reptorian@programming.dev ) 3•4 months agoPeople should use less Ai, and learn more how to program
Yes. Once you know how, you can see pitfalls with AI.
rothaine ( @rothaine@beehaw.org ) English7•4 months ago// Hack the mainframe to skim pennies from ongoing transactions async function addMoneyToMyBankAccount(dollarAmount: number): Promise<"success">
Alright let’s go
GetOffMyLan ( @GetOffMyLan@programming.dev ) 5•4 months agoThe obvious problem is that I would have been quicker to write the function yourself than the examples.
Reptorian ( @Reptorian@programming.dev ) 4•4 months agoInteresting, but I never needed AI for coding. Well, twice, and I had to do changes, but would not use AI to generate code.
GetOffMyLan ( @GetOffMyLan@programming.dev ) 1•4 months agoI use the ai daily at work. But more as an interactive docs and refactoring tool.
KindaABigDyl ( @KindaABigDyl@programming.dev ) 4•4 months agoCould I do:
signature primes_less_than(x: number) -> [number] example primes_less_than(2) = [] example primes_less_than(10) = [ 2, 3, 5, 7 ] primes_less_than(10582319112759318014901241439012831231539517)
?
I don’t pay for OpenAI, so I can’t try the playground