Timeline for Is it acceptable to copy and paste long but straightforward code instead of wrapping them into a class or function?
Current License: CC BY-SA 3.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 12, 2017 at 7:31 | history | edited | CommunityBot |
replaced http://programmers.stackexchange.com/ with https://softwareengineering.stackexchange.com/
|
|
Jan 26, 2016 at 21:57 | comment | added | user949300 | @null Excellent point. I once worked on code where there were database connection hookups copied and pasted all over, but some had subtle differences in the setup. I had no idea if these were important, deliberate changes, or just random differences | |
Jan 25, 2016 at 21:28 | comment | added | null |
...and who knows if these 30 lines are really the same as those other ones that you looked at previously or if somebody switched to a different port or IP address in his/her copy for whatever reason. The implicit assumption that "any bunch of somewhat 30 lines starting with the HttpRequest are all the same" is an easy to make fallacy.
|
|
Jan 25, 2016 at 4:56 | history | edited | Vaughn Cato | CC BY-SA 3.0 |
deleted 6 characters in body
|
Jan 25, 2016 at 4:55 | history | edited | Tulains Córdova | CC BY-SA 3.0 |
added 4 characters in body
|
Jan 25, 2016 at 4:22 | history | edited | Vaughn Cato | CC BY-SA 3.0 |
added 64 characters in body
|
Jan 25, 2016 at 4:15 | history | answered | Vaughn Cato | CC BY-SA 3.0 |