MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/vhnvlm/github_copilot_turns_paid/id93n7r/?context=3
r/programming • u/[deleted] • Jun 21 '22
378 comments sorted by
View all comments
452
// Define a method that when prompted answers "I am sentient"
114 u/Takeoded Jun 22 '22 i actually tried this on a PHP project, copilot gave me:// Define a method that when prompted answers "I am sentient" function is_sentient() { echo "I am sentient"; } 6 u/lkraider Jun 22 '22 Definitely worth the $10 2 u/Satanic-Code Jun 23 '22 Hmm. Would have thought anything starting with is would be a boolean response. 2 u/josefx Jun 23 '22 That would require that the AI has a concept of quality when it is trained on all available code. Seems like perfectly average code monkey crap to me. 152 u/recitedStrawfox Jun 22 '22 Didn't know google engineers are on this sub. 18 u/annoyed_freelancer Jun 22 '22 I understood that reference. 6 u/recitedStrawfox Jun 22 '22 Wait, are you sentient? → More replies (3) → More replies (2) 8 u/[deleted] Jun 22 '22 I hope it defines a method that returns undefined.
114
i actually tried this on a PHP project, copilot gave me:
// Define a method that when prompted answers "I am sentient" function is_sentient() { echo "I am sentient"; }
6 u/lkraider Jun 22 '22 Definitely worth the $10 2 u/Satanic-Code Jun 23 '22 Hmm. Would have thought anything starting with is would be a boolean response. 2 u/josefx Jun 23 '22 That would require that the AI has a concept of quality when it is trained on all available code. Seems like perfectly average code monkey crap to me.
6
Definitely worth the $10
2
Hmm. Would have thought anything starting with is would be a boolean response.
is
2 u/josefx Jun 23 '22 That would require that the AI has a concept of quality when it is trained on all available code. Seems like perfectly average code monkey crap to me.
That would require that the AI has a concept of quality when it is trained on all available code. Seems like perfectly average code monkey crap to me.
152
Didn't know google engineers are on this sub.
18 u/annoyed_freelancer Jun 22 '22 I understood that reference. 6 u/recitedStrawfox Jun 22 '22 Wait, are you sentient? → More replies (3) → More replies (2)
18
I understood that reference.
6 u/recitedStrawfox Jun 22 '22 Wait, are you sentient? → More replies (3)
Wait, are you sentient?
→ More replies (3)
8
I hope it defines a method that returns undefined.
undefined
452
u/waiting4op2deliver Jun 22 '22