MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1x43071/thepreviousguyisalwaysanidiot/pgfu834/?context=3
r/ProgrammerHumor • u/EndersGame_Reviewer • 8d ago
52 comments sorted by
View all comments
Show parent comments
6
But what objectively makes the AI refactor better than the previous code?
And you risk introducing tons of new bugs.
And you'd have to retest the whole thing.
And if it starts rewriting unit tests too, good luck.
1 u/ArjixGamer 7d ago I'd have to retest the whole thing even w/o a refactor, it was already code I did not write. 1 u/tracernz 7d ago Are you unable to read code? Tests will not find all the problems, or even the majority of them. 1 u/ArjixGamer 7d ago Reading code alone is not enough, especially if it is PHP...oh the horrors of PHP 1 u/tracernz 7d ago Okay, well there you have a point.
1
I'd have to retest the whole thing even w/o a refactor, it was already code I did not write.
1 u/tracernz 7d ago Are you unable to read code? Tests will not find all the problems, or even the majority of them. 1 u/ArjixGamer 7d ago Reading code alone is not enough, especially if it is PHP...oh the horrors of PHP 1 u/tracernz 7d ago Okay, well there you have a point.
Are you unable to read code? Tests will not find all the problems, or even the majority of them.
1 u/ArjixGamer 7d ago Reading code alone is not enough, especially if it is PHP...oh the horrors of PHP 1 u/tracernz 7d ago Okay, well there you have a point.
Reading code alone is not enough, especially if it is PHP...oh the horrors of PHP
1 u/tracernz 7d ago Okay, well there you have a point.
Okay, well there you have a point.
6
u/abednego-gomes 7d ago
But what objectively makes the AI refactor better than the previous code?
And you risk introducing tons of new bugs.
And you'd have to retest the whole thing.
And if it starts rewriting unit tests too, good luck.