Is there a python convention for when you should implement __str__() versus __unicode__(). I've seen classes override __unicode__() more frequently …
python string unicode conventionsDoes JavaScript support substitution/interpolation? Overview I'm working on a JS project, and as it's getting bigger, keeping strings in …
javascript string concatenation conventionsMost of the blogs or tutorials or books have private methods at the bottom of any class/module. Is this …
ruby conventionsI have been reading about Optionals in Swift, and I have seen examples where if let is used to check …
swift swift2 optional conventions control-flowIs there a best practice for defining custom error types in a Ruby library (gem) or Ruby on Rails application? …
ruby-on-rails ruby conventionsWhen writing a python module and functions in it, I have some "public" functions that are supposed to be exposed …
python python-2.7 coding-style naming conventionsPEP 8 says: Imports are always put at the top of the file, just after any module comments and docstrings, and …
python conventionsLet's say you have a Fortran 90 module containing lots of variables, functions and subroutines. In your USE statement, which convention …
module fortran conventions fortran90What is the Lisp convention about how many semicolons to use for different kinds of comments (and what the level …
comments lisp common-lisp conventionsI looked through some code and noticed that the convention was to turn pointer types like SomeStruct* into typedef SomeStruct* …
c++ c pointers typedef conventions