Timeline for Is it OK to split long functions and methods into smaller ones even though they won't be called by anything else? [duplicate]
Current License: CC BY-SA 3.0
39 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 18, 2014 at 2:25 | comment | added | Brandon |
@user58668 I have worked on a product which had a database table named objectdata . I was happy that the next version renamed it.
|
|
May 4, 2014 at 10:59 | vote | accept | Stas Bichenko | ||
Sep 10, 2013 at 13:01 | review | Reopen votes | |||
Sep 10, 2013 at 13:48 | |||||
Sep 9, 2013 at 12:59 | review | Reopen votes | |||
Sep 9, 2013 at 14:00 | |||||
Aug 16, 2013 at 6:51 | comment | added | glglgl | hey, you are famous: arstechnica.com/information-technology/2013/08/… | |
May 10, 2013 at 6:45 | comment | added | user2528 |
I like using codeblocks. Ex: void process_url() { {...} {...} } typically if I want i can cut and paste those blocks w/o the function breaking
|
|
May 3, 2013 at 8:59 | history | closed |
fredoverflow gnat Rein Henrichs Bart van Ingen Schenau Joris Timmermans |
exact duplicate | |
May 3, 2013 at 3:02 | review | Close votes | |||
May 3, 2013 at 8:59 | |||||
May 1, 2013 at 7:47 | answer | added | Sebastian | timeline score: 11 | |
May 1, 2013 at 6:03 | comment | added | gnat | @BenLee I studied that top answer at reddit: most of it looks like basic handwaving I often see in it depends disclaimers in answers here. References to McConnell are good but not spectacular. I fail to see how it's better... unless one somehow feels attracted by simplistic / populist remark about "bad makeover" | |
Apr 29, 2013 at 19:04 | comment | added | Ben Lee | I think the alternate perspective provided in the top answer in the reddit discussions is a far better answer than any provided here. | |
Apr 28, 2013 at 11:58 | comment | added | gnat | possible duplicate of Should I extract specific functionality into a function and why? and of Should a method do one thing and be good at it? | |
Apr 26, 2013 at 16:23 | comment | added | Michael | yes, it's called the unix philosophy. | |
Apr 26, 2013 at 14:31 | answer | added | Macke | timeline score: 5 | |
Apr 26, 2013 at 14:10 | history | edited | Stas Bichenko | CC BY-SA 3.0 |
added 290 characters in body
|
Apr 26, 2013 at 9:19 | history | edited | Joris Timmermans | CC BY-SA 3.0 |
added 3 characters in body
|
Apr 26, 2013 at 7:23 | answer | added | Petr | timeline score: 3 | |
Apr 25, 2013 at 19:37 | answer | added | Ryan Rodemoyer | timeline score: 14 | |
Apr 25, 2013 at 17:25 | answer | added | Colin Nicholls | timeline score: -6 | |
Apr 25, 2013 at 14:28 | answer | added | mjs | timeline score: 11 | |
Apr 25, 2013 at 14:13 | comment | added | user58668 |
Function names which don't add understanding: process , call , doIt . Similarly for value names: data , object , thing , component , vector , list , etc.
|
|
Apr 25, 2013 at 13:33 | answer | added | Fred | timeline score: 5 | |
Apr 25, 2013 at 12:28 | comment | added | Stas Bichenko | @BryanOakley "Update" | |
Apr 25, 2013 at 12:05 | comment | added | COME FROM | I wonder what kind of syntax would be suitable for subroutines that will be called from one point only... ;) | |
Apr 25, 2013 at 11:40 | answer | added | Svish | timeline score: 19 | |
Apr 25, 2013 at 10:53 | comment | added | Bryan Oakley | What does UPD stand for? | |
Apr 25, 2013 at 6:42 | answer | added | lucasvc | timeline score: 2 | |
Apr 24, 2013 at 19:34 | comment | added | Michael Shaw | @KilianFoth: That question is specifically about one line functions, this question doesn't imply that the smaller functions aren't fairly long themselves. | |
Apr 24, 2013 at 19:12 | comment | added | Amy Blankenship | Also, many IDE's have tools that let you view references to methods. | |
Apr 24, 2013 at 18:33 | comment | added | psr | If your language doesn't have a way of distinguishing such methods you can always create a naming convention to do so. | |
Apr 24, 2013 at 18:20 | review | Close votes | |||
Apr 24, 2013 at 20:45 | |||||
Apr 24, 2013 at 17:59 | answer | added | Tom Haley | timeline score: 4 | |
Apr 24, 2013 at 17:26 | answer | added | Trylks | timeline score: 39 | |
Apr 24, 2013 at 17:05 | history | tweeted | twitter.com/#!/StackProgrammer/status/327106101445283842 | ||
Apr 24, 2013 at 16:50 | review | First posts | |||
Apr 24, 2013 at 17:21 | |||||
Apr 24, 2013 at 16:42 | history | edited | Stas Bichenko | CC BY-SA 3.0 |
added 135 characters in body
|
Apr 24, 2013 at 16:41 | answer | added | user40980 | timeline score: 240 | |
Apr 24, 2013 at 16:34 | answer | added | Scott Whitlock | timeline score: 81 | |
Apr 24, 2013 at 16:31 | history | asked | Stas Bichenko | CC BY-SA 3.0 |