Surprisingly, there is evidence that nicotine really does improve performance on information processing tasks. For example. the paper Selective effects of nicotine on attentional processes (Psychopharmacology 146(2), 1999) begins as follows:
There is strong evidence that nicotine facilitates some types of information processing (Edwards et al. 1985; Warburton 1990; Sherwood 1993; Heishman et al. 1994),and that this effect does not result from a reversal effect of a withdrawal-induced deficit (Wesnes and Warburton 1984; Le Houezec et al. 1994; Warburton and Arnall 1994; Foulds et al. 1996). However, the specific nature of the nicotine-induced improvements on information processing has proved more difficult to specify.
The paper goes on to describe a study that, in the authors' view, supports the hypothesis that nicotine achieves these benefits by increasing the intensity of attention.

Of course I wouldn't recommend smoking, because of the well-known risks, but it's not impossible that it would help your coding in the short-to-medium term.

Disclosure: I am a nicotine addict. I don't smoke though; I use snus (which appears to be the safest tobacco product around, but is of course not without risk).


In reply to Re^2: coding under the influence by robin
in thread coding under the influence by leocharre

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.