If we think about driving a car, it is generally agreed that there is no alcohol level at which one is a better driver than when one is sober. This document lists some of the findings:
Behavioural studies suggest that driving related skills are significantly impaired at blood alcohol concentrations below 10-9 mmol/l and that little evidence exists for a threshold below which driving related skills are unimpaired.
(Alcohol does of course impair judgement, so it is likely that there is an alcohol level at which one believes one is a better driver, even though one isn't.)
Computer programming is a significantly more demanding task than driving a car, and it is extremely unlikely that there is any level of alcohol at which one is really a better programmer than when one is sober.