Skip to main content
16 events
when toggle format what by license comment
Jun 21, 2020 at 3:00 history tweeted twitter.com/StackCodeReview/status/1274537529757192194
Jun 20, 2020 at 23:48 comment added Sophie Swett Do you have a goal of changing the function so that it only has one return statement? If so, is there a particular reason why you want to do that?
Jun 20, 2020 at 22:34 comment added pacmaninbw That title can make the question off-topic, which is why I changed it.
Jun 20, 2020 at 22:33 history edited Kay CC BY-SA 4.0
edited title
Jun 20, 2020 at 22:32 vote accept Kay
Jun 20, 2020 at 22:32 comment added Kay @pacmaninbw i disagree, its less about returning a token from the database and more about how to handle multiple return statements in a function.
S Jun 20, 2020 at 21:41 history suggested Riscy Coder CC BY-SA 4.0
Hope it helps improve readability. Thanks
Jun 20, 2020 at 21:36 history became hot network question
Jun 20, 2020 at 20:28 review Suggested edits
S Jun 20, 2020 at 21:41
Jun 20, 2020 at 14:44 answer added SirPython timeline score: 2
Jun 20, 2020 at 14:10 answer added pacmaninbw timeline score: 3
Jun 20, 2020 at 14:07 history edited pacmaninbw
edited tags
Jun 20, 2020 at 14:04 comment added pacmaninbw The question is basically a good one, but the title was a little too common for code review. The title has been changed to bring it more in line with what is expected on code review. The title should state what the code does rather than what your concerns about the code are, put the concerns in the body of the question. Please see our guidelines, especially the title section.
Jun 20, 2020 at 14:00 history edited pacmaninbw CC BY-SA 4.0
Changed the title to be more in line with code review guidelines. Made the text in the question a little more readable.
Jun 20, 2020 at 13:42 review First posts
Jun 20, 2020 at 14:04
Jun 20, 2020 at 13:36 history asked Kay CC BY-SA 4.0