Skip to main content

Timeline for Palindrome checker program

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Feb 19, 2020 at 16:02 comment added MJ713 @Cruncher Whitespace actually has semantic meaning in Python, so there's both less room to play around and more reason to pay attention to style in the first place. There might also be historical factors; Python is younger than C, and its rise coincided with the rise of the web, which may have made it easier to share/enforce style standards...I'm just speculating.
Feb 19, 2020 at 15:56 comment added Cruncher @MJ713 I find it interesting how C-like languages, people just say to be consistent, but with languages like python people are like the gestapo when it comes to styling.
Feb 19, 2020 at 15:13 comment added MJ713 @Cruncher For C-like languages in general, it seems like everyone has their favorite indentation style...honestly it is more important to be consistent within a project, regardless of which style is actually picked. But yeah, I think same-line braces are "official" for Java.
Feb 19, 2020 at 14:45 comment added Cruncher Doesn't the official style guide for java recommend same-line braces, and not newline braces?
Feb 19, 2020 at 11:48 comment added Peter Cordes I'd suggest writing "Camel case" as "camelCase". When underlined as a link, it looks like capitalized Snake_case.
Feb 19, 2020 at 8:44 vote accept Tlomoloko
Feb 19, 2020 at 1:38 history edited Doi9t CC BY-SA 4.0
added MJ713's suggestion
Feb 19, 2020 at 1:28 comment added MJ713 For clarity, you could explain that constants are written in ALL_CAPS snake case, not just any snake case.
Feb 19, 2020 at 1:23 comment added MJ713 "Refactored code" section is still using snake case for the reversed_string variable. Also the last } is missing.
Feb 19, 2020 at 1:20 history answered Doi9t CC BY-SA 4.0