Click here to Skip to main content

Welcome to the Lounge

   

For lazing about and discussing anything in a software developer's life that takes your fancy.
The Lounge is rated PG. If you're about to post something you wouldn't want your kid sister to read then don't post it. No flame wars, no abusive conduct and please don't post ads.

Technical discussions are welcome, but if you need specific help please ask your question here.


 
GeneralRe: Developers with bad tempers? PinmemberMember 906355631-Mar-14 2:51 
GeneralRe: Developers with bad tempers? Pinmemberviaducting31-Mar-14 3:38 
GeneralRe: Developers with bad tempers? PinmemberMember 906355631-Mar-14 3:54 
AnswerRe: Developers with bad tempers? PinmemberBobJanova31-Mar-14 0:04 
AnswerRe: Developers with bad tempers? PinprotectorMarc Clifton31-Mar-14 3:20 
AnswerRe: Developers with bad tempers? PinmemberEnnis Ray Lynch, Jr.31-Mar-14 4:39 
AnswerRe: Developers with bad tempers? PinmemberKamen Nik31-Mar-14 4:53 
GeneralGo directly to jail... Pinprofessional_Maxxx_30-Mar-14 20:29 
responding in the VB thread below, I mentioned our current application had GOTOs in it.
 
As I removed one recently, I thought I'd check again.
 
NINE goto statements.
 
In a C# WPF MVVM application.
 
This is my favourite:
 
if (e.Key == Key.Delete || e.Key == Key.Back)
           goto L1;
 
       else if (e.Key < Key.D0 || e.Key > Key.Z
            || (e.Key == Key.C && Keyboard.Modifiers == ModifierKeys.Control)) {
           e.Handled = true;
           return;
       }
 
       L1: this.Text = this.txtLookup.Text;
 
I feel a little dirty, now.
GeneralRe: Go directly to jail... PinprofessionalKornfeld Eliyahu Peter30-Mar-14 20:37 
GeneralRe: Go directly to jail... PinprotectorOriginalGriff30-Mar-14 21:10 
GeneralRe: Go directly to jail... PinmemberSteve Solomon30-Mar-14 22:46 
GeneralRe: Go directly to jail... PinmemberBobJanova31-Mar-14 0:07 
GeneralRe: Go directly to jail... PinmemberSteve Solomon31-Mar-14 23:06 
GeneralVB6: Best programming language ever Pinmember d@nish 30-Mar-14 7:11 
GeneralRe: VB6: Best programming language ever PinprotectorOriginalGriff30-Mar-14 7:16 
GeneralRe: VB6: Best programming language ever Pinmember d@nish 30-Mar-14 7:22 
GeneralRe: VB6: Best programming language ever PinprotectorOriginalGriff30-Mar-14 7:34 
GeneralRe: VB6: Best programming language ever PinmemberBikash Prakash Dash30-Mar-14 23:01 
GeneralRe: VB6: Best programming language ever PinprotectorPete O'Hanlon30-Mar-14 7:38 
GeneralRe: VB6: Best programming language ever Pinmemberharold aptroot30-Mar-14 7:56 
GeneralRe: VB6: Best programming language ever PinmemberManfred R. Bihy30-Mar-14 8:01 
GeneralRe: VB6: Best programming language ever PinprofessionalKornfeld Eliyahu Peter30-Mar-14 7:59 
GeneralRe: VB6: Best programming language ever PinmemberJimmyRopes30-Mar-14 19:22 
GeneralRe: VB6: Best programming language ever PinprotectorPete O'Hanlon30-Mar-14 22:26 
GeneralRe: VB6: Best programming language ever PinprofessionalKornfeld Eliyahu Peter30-Mar-14 22:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web02 | 2.8.150129.1 | Last Updated 31 Jan 2015
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid