tag:blogger.com,1999:blog-7988792589954261688.post1800413422631264756..comments2024-03-08T12:36:26.976+03:00Comments on CodeBuild: 15 Best Practices of Variable & Method NamingCBhttp://www.blogger.com/profile/13504212299235753253noreply@blogger.comBlogger18125tag:blogger.com,1999:blog-7988792589954261688.post-87350848117627160842016-08-01T13:32:49.239+03:002016-08-01T13:32:49.239+03:00포스팅 잘 봤어요. 앞으로 더 좋은글 부탁드려요!포스팅 잘 봤어요. 앞으로 더 좋은글 부탁드려요!Anonymoushttps://www.blogger.com/profile/13522444565532476277noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-8444274246159982232016-08-01T13:18:25.287+03:002016-08-01T13:18:25.287+03:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/13522444565532476277noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-51529794363661005942016-08-01T13:04:36.961+03:002016-08-01T13:04:36.961+03:00This comment has been removed by the author.Anonymoushttps://www.blogger.com/profile/13522444565532476277noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-35134300213273522342013-05-06T08:39:08.162+03:002013-05-06T08:39:08.162+03:00Corrected. Thanks.Corrected. Thanks.CBhttps://www.blogger.com/profile/13504212299235753253noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-28213993759936951262013-05-05T11:53:37.088+03:002013-05-05T11:53:37.088+03:004. ... tags which states it is a variable. Is &quo...4. ... tags which states it is a variable. Is "state" the verb?. "tags" is plural. I'm confused.Duncan Sung W. Kimhttps://www.blogger.com/profile/06114187209251931475noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-54033633842134555432012-02-26T19:23:55.948+02:002012-02-26T19:23:55.948+02:00Thanks for the useful translation.Thanks for the useful translation.CBhttps://www.blogger.com/profile/13504212299235753253noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-56497271057087964512012-02-26T18:29:03.239+02:002012-02-26T18:29:03.239+02:00I introduce this post on my blog by translation in...I introduce this post on my blog by translation into Japanese. Thanks!<br />http://d.hatena.ne.jp/suginoy/20120226/p1suginoyhttps://www.blogger.com/profile/08644370772461419610noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-6105861371878469232012-02-25T23:04:03.767+02:002012-02-25T23:04:03.767+02:00This is fine for java but the python PEP 8 standar...This is fine for java but the python PEP 8 standards require underscores in between words for variable names unless lower camel case is already being used.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-51223439164734268972012-02-25T19:01:47.671+02:002012-02-25T19:01:47.671+02:00I disagree with you about using _ in variable name...I disagree with you about using _ in variable names. In my opinion it makes code far more readable.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-58317451268552628392012-02-25T18:45:25.456+02:002012-02-25T18:45:25.456+02:00The size of the project matters. A thousand line ...The size of the project matters. A thousand line stand-alone app can have single character globals.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-76603460030454955012012-02-22T04:09:06.437+02:002012-02-22T04:09:06.437+02:00I think myXMLVariable is the most suitable one, be...I think myXMLVariable is the most suitable one, because acronyms are written uppercase in general. But myXmlVariable may also be used. myxmlValue is unacceptable.<br />The important things is consistency here. Choose one of the first two and use it consistently in every class of the application.CBhttps://www.blogger.com/profile/13504212299235753253noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-91613572204415784312012-02-21T22:26:49.029+02:002012-02-21T22:26:49.029+02:00What about naming of vars that have acronyms in th...What about naming of vars that have acronyms in the name?<br /><br />i.e. <br /><br />myXMLVariable<br />myXmlVariable<br />myxmlVariableAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-34069140838491806082012-02-21T15:46:43.932+02:002012-02-21T15:46:43.932+02:00Yes.Yes.CBhttps://www.blogger.com/profile/13504212299235753253noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-46172251851600420522012-02-21T15:18:45.281+02:002012-02-21T15:18:45.281+02:00oh man, did you make all this up on your own?oh man, did you make all this up on your own?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-44208429166147307672012-02-21T04:02:00.001+02:002012-02-21T04:02:00.001+02:00What is most important in any convention is consis...What is most important in any convention is consistency. if you follow one convention in one part and other in other part no matter how good convention is it loses its benefit. consistency brings readability and predictability.You may like <a href="http://javarevisited.blogspot.com/2011/08/code-comments-java-best-practices.html" rel="nofollow">10 Code comments best practices </a>ArrayList Example javahttp://javarevisited.blogspot.com/2011/05/example-of-arraylist-in-java-tutorial.htmlnoreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-82733666997347021312012-02-21T00:33:58.202+02:002012-02-21T00:33:58.202+02:00Word counts are not strict standards, just general...Word counts are not strict standards, just general approximate suggestions. Also 13 & 14 doesn't related with 1st rule, it is about variable naming.CBhttps://www.blogger.com/profile/13504212299235753253noreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-75985557397492210482012-02-21T00:03:10.422+02:002012-02-21T00:03:10.422+02:00Another +1 for meaningful names.
Also, I'd av...Another +1 for meaningful names.<br /><br />Also, I'd avoid strict standards on how many words you should use in methods etc (1st rule.) Doesn't look like you follow the rule in any case (see points 13 and 14.)Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7988792589954261688.post-56242494757076546142012-02-20T20:39:39.408+02:002012-02-20T20:39:39.408+02:00+1 for using meaningful names. This is so helpful ...+1 for using meaningful names. This is so helpful for being able to understand what the code is trying to do. If you use meaningful names, you rarely have to add in apologies (sometimes called comments).Anonymousnoreply@blogger.com