If you decompile that code you won’t get lambdas. You get ifs. Because that is how the hardware is build. Ifs/ands/Ors that is what computing is built on. Everything else is flavor.
If you decompile that code you won’t get lambdas. You get ifs. Because that is how the hardware is build. Ifs/ands/Ors that is what computing is built on. Everything else is flavor.
The scope is irrelevant it’s a single function class as presented. It was a single method that they broke out “to hide the ifs”. Then they just used compiler specialties to remove the word ‘if’ from the assignments. The comparisons are still there and depending on the execution path those constants may not be so constant during runtime.
They’re still ifs. They’ve just been lambda’d and assigned to constants.
This doesn’t get rid of the if statements. It hides them.
Stop making every fucking game and open world mmo wanna be. Bring back single player with couch co op or make private lobby setups so we don’t have to fuck with every douche who wants to make everyone else’s life as sad as their own. I’m a big GYA fan but have refused to buy for this specific reason. Have almost given in repeatedly but just go watch some YouTube’s on it and it reminds me not to contribute to this shit every time.
Others may find this sacrilege but this is one the best uses for ai at the moment. I toss it methods and ask it to describe what’s happening each method. Then after you’ve gone through a whole class ask it to describe the whole class. If you break it up well it can very quickly document massive code sets specifically for both technical and non technical people. Even better it can take that same documentation and convert it to highly detailed and advanced markdowns for wikis. This will also help you review your code. If the ai is having an issues understanding what you’re doing you can bet anyone else dropping into it without backup is going to have issues too. Particularly PO’s, QA, Scrum masters and all those they meet with when you’re not there. It has saved me repeatedly showing up in meetings where those other non technicals just “ho hum” their way through meeting questions, come back asking where docs are because they usually don’t even bother looking. “No one else had anything documented and we didn’t see it so we just wondered.” “Yep here it is, here’s it broken down by class, here’s the method, here’s the variable types in and out, and here’s the quick overview levels 1,2,3,4 and 5.” All getting progressively more technical. My PO has thanked me repeatedly for saving her ass in meetings where they complain about lack of documentation but not from me.
No one does this to them so they are incapable of ‘getting it’. Some CNN or Fox shit about Vance taking it up the ass from Trump with a few Facebook posts and maybe an AI deepfake to back it up might make them think twice. But then you have to get dirty with the people spreading the dirt. Who’s gonna jump in the mud pit….
How many UI/UX usability studies have you done yourself. Links to results.
If you can’t find anything useful on the net that’s a ‘you’ problem. So probably option 2.
No they’re giving you exactly what you’re asking for. Problem is you’re not asking for advice. Your asking to “build a thing” and expecting it to read your mind.
Open it how using what at what size what codec where, for how long, for what purpose, using what data structures, use what libraries, what versions. You sound like my PO trying to request an update to software they have no comprehension of.
Where’s the articles about humans doing the exact same shit for the last 40-50 fucking years and no one bats an eye. Looks at the prompts from people complaining about ai responses and see they don’t know how to use this shit any better than my grandparents can use a touchtone phone.
“Build an app”
Fails
“This ai is shit”.
Just like ever other piece of technology. Garbage in garbage out. If you can’t reliably describe what you want then no one is going to be able to do it. AI just blatantly points out your descriptive failures.
I almost exclusively use ai now. Customized responses, no ‘google it’ responses, no ads.
That’s not what was said. He specifically said coding.
One down couple hundred more to go.
On the progress of humanity over the last 10000+ years
Done. Nothing this person says is worth reading after that bullshit.