zlacker

[parent] [thread] 2 comments
1. th0ma5+(OP)[view] [source] 2024-02-13 20:24:45
How is laziness programmatically defined or used as a benchmark
replies(1): >>makest+i1
2. makest+i1[view] [source] 2024-02-13 20:33:02
>>th0ma5+(OP)
Personally I have seen it saying stuff like:

public someComplexLogic() { // Complex logic goes here }

or another example when the code is long (ex: asking it to create a vue component) is that it will just add a comment saying the rest of the code goes here.

So you could test for it by asking it to create long/complex code and then running the output against unit tests that you created.

replies(1): >>rvnx+73
◧◩
3. rvnx+73[view] [source] [discussion] 2024-02-13 20:43:57
>>makest+i1
Yeah this is a typical issue:

- Can you do XXX (something complex) ?

- Yes of course, to do XXX, you need to implement XXX, and then you are good, here is how you can do:

int main(int argc, char **argv) {

  /* add your implementation here */

}
[go to top]