**DO NOT USE!
I would like to display Yes/No in different languages according to some boolean variable. Is there a generic way …
c# formatting coding-style string-formattingI want to toggle a variable between 0 and 1. If it's 0 I want to set it to 1, else if it's 1 I …
javascript variables coding-style toggleThe python style guide suggests to group imports like this: Imports should be grouped in the following order: standard library …
python coding-style python-import pep8I am using an XSLT stylesheet to create an Excel document from an XML file. One of the values that …
xslt coding-style uppercaseWhy does everyone tell me writing code like this is a bad practice? if (foo) Bar(); //or for(int i = 0 …
java c# c++ c coding-styleNew to ruby, put on your newbie gloves. Is there any difference (obscure or practical) between the following two snippets? …
ruby coding-styleWhat do you think about using private static methods? Personally, I prefer using a static private method to non-static as …
java oop coding-style static-methodsI've recently read the Yahoo manifesto Best Practices for Speeding Up Your Web Site. They recommend to put the JavaScript …
javascript performance optimization coding-styleHow can styles be applied to CheckBoxList ListItems. Unlike other controls, such as the Repeater where you can specify <…
asp.net html controls coding-styleI have some functions which occasionally (not always) will receive a callback and run it. Is checking if the callback …
javascript coding-style callback