Timeline for What do you name functions/variables/etc when you can't think of a good name? [closed]
Current License: CC BY-SA 3.0
41 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jun 16, 2020 at 10:01 | history | edited | CommunityBot | Commonmark migration | |
| Apr 5, 2015 at 15:17 | history | closed | durron597 CommunityBot ChrisF | Opinion-based | |
| Mar 28, 2015 at 20:06 | review | Close votes | |||
| Apr 5, 2015 at 15:17 | |||||
| Mar 6, 2015 at 14:20 | review | Close votes | |||
| Mar 16, 2015 at 3:03 | |||||
| Apr 12, 2014 at 2:53 | comment | added | Progo | I like using greek letters. | |
| Nov 28, 2013 at 3:31 | review | Close votes | |||
| Dec 6, 2013 at 3:01 | |||||
| Oct 12, 2012 at 14:59 | vote | accept | JD Isaacks | ||
| Oct 12, 2012 at 14:33 | comment | added | DistantEcho | It might not be something that's supposed to be used in the code. For exemple, you might have to log something, or split operations in parts to get a view from the debugger. Or you might have to give a fake user a fake name. I usually just go with chicken in those cases, as it's easy to find and remove. | |
| Sep 29, 2012 at 12:29 | review | Close votes | |||
| Oct 6, 2012 at 3:03 | |||||
| Feb 10, 2012 at 16:36 | comment | added | JBRWilkinson | Whoah, temporary?? You're specifically writing code that you'll have to come back and fix later? What's the likelihood you'll move onto higher priority work and it'll get left behind? | |
| Feb 10, 2012 at 16:19 | history | edited | gnat | CC BY-SA 3.0 | spelling cleanup |
| S Feb 10, 2012 at 16:03 | answer | added | ctrl-alt-delor | timeline score: 0 | |
| S Feb 10, 2012 at 16:03 | history | made wiki | Post Made Community Wiki by ctrl-alt-delor | ||
| Feb 1, 2012 at 23:33 | comment | added | Malcolm | I prefer thinking once again harder... | |
| Oct 2, 2010 at 5:40 | answer | added | Preet Sangha | timeline score: -2 | |
| Oct 1, 2010 at 15:07 | history | edited | JD Isaacks | CC BY-SA 2.5 | added 4 characters in body |
| Oct 1, 2010 at 15:04 | comment | added | spong | @Eduardo I use TODO: all the time, great recommendation. | |
| Oct 1, 2010 at 15:03 | comment | added | spong | This is also a good question for Programmers.SE. I can't believe I'm the only one that's up-voted it thus far. | |
| Oct 1, 2010 at 15:00 | comment | added | Eduardo Scoz | I guess the convention for something like this would be to add a TODO in the code, with the explanation of why you need to update it. Many tools can parse those TODOs and show a list of all things left to be done. | |
| Oct 1, 2010 at 14:49 | comment | added | spong | @JohnIsaacks I think you should bold temporary. Too many people are reading this question and making code into something holy. Honestly, yes, you can write sloppy code ESPECIALLY when you're trying to push through to something more important. We're not etching code into stone here. | |
| Oct 1, 2010 at 14:25 | comment | added | JD Isaacks | For all you people who are saying, you should never have a problem coming up with a name... Even Jon Skeet sometimes can't: stackoverflow.com/questions/521893/… | |
| Oct 1, 2010 at 8:30 | answer | added | user1041 | timeline score: 1 | |
| Oct 1, 2010 at 7:05 | answer | added | Zaz | timeline score: 0 | |
| Oct 1, 2010 at 4:09 | answer | added | Nick Spreitzer | timeline score: 4 | |
| Sep 30, 2010 at 21:46 | answer | added | Jon Onstott | timeline score: 0 | |
| Sep 30, 2010 at 20:45 | answer | added | David Thornley | timeline score: -1 | |
| Sep 30, 2010 at 20:44 | answer | added | Dan | timeline score: -1 | |
| Sep 30, 2010 at 20:42 | answer | added | Mark Canlas | timeline score: 30 | |
| Sep 30, 2010 at 20:41 | comment | added | JD Isaacks | @sunpech, I know, I use that naming convention for constants too. But I think the capitalization makes it stand out so I don't forget to rename it. I don't leave it named like that for long. | |
| Sep 30, 2010 at 20:40 | answer | added | Dan Ray | timeline score: 5 | |
| Sep 30, 2010 at 20:34 | comment | added | spong | Be careful about using all caps for variable names. By popular convention, it means a global variable. | |
| Sep 30, 2010 at 20:34 | answer | added | HardCode | timeline score: 1 | |
| Sep 30, 2010 at 20:27 | answer | added | gablin | timeline score: 12 | |
| Sep 30, 2010 at 20:25 | history | edited | JD Isaacks | CC BY-SA 2.5 | added 264 characters in body |
| Sep 30, 2010 at 20:22 | answer | added | Jason Berkan | timeline score: -2 | |
| Sep 30, 2010 at 20:15 | answer | added | Portman | timeline score: 34 | |
| Sep 30, 2010 at 20:14 | answer | added | Tester101 | timeline score: -2 | |
| Sep 30, 2010 at 20:12 | answer | added | spong | timeline score: 2 | |
| Sep 30, 2010 at 20:05 | answer | added | Josh K | timeline score: -3 | |
| Sep 30, 2010 at 20:04 | answer | added | Adam Lear♦ | timeline score: 3 | |
| Sep 30, 2010 at 20:00 | history | asked | JD Isaacks | CC BY-SA 2.5 |