ide - What are your favorite skeleton files for the various languages? -


This skeleton or template files are useful that you can copy and use only as a new script or app base Are there.

For example, I use the following people (with auto insert module, emacs automatically opens a copy of the appropriate file when I create a new file).

Pearl :

  #! / Usr / bin / perl -w stringent experiment; Getopt :: Long; My $ verbose = 1; GetOptions ("verbose!" = & Gt; \ $ verbose) or die ("option error");  

C ++ :

#include & lt; Iostream & gt; # Include & lt; Stdexcept & gt; Int main (int argc, char ** argv) {try {} catches (std :: exception & e) {std :: cerr & lt; & Lt; E.what () & lt; & Lt; Std :: endl; Return EXIT_FAILURE; } Return EXIT_SUCCESS; }

Of course, any basic code can be included for boost :: program_options etc.

What are your favorite skeletal files?

I only have a skeleton file that is for latex.

Comments