N00btacular
-
Just came across this code from an ex-coworker (names changed to protect the innocent):
Select Case DoStuff(SomeVariable)
Case 0
' Do something with SomeVariable.
Case 1, 2
' Do something else with SomeVariable.
Case Else
result = "omgnub"
End SelectWhen I saw that, I :-D . Well played, n00b, well played.
-
Just came across this code from an ex-coworker (names changed to protect the innocent):
Select Case DoStuff(SomeVariable)
Case 0
' Do something with SomeVariable.
Case 1, 2
' Do something else with SomeVariable.
Case Else
result = "omgnub"
End SelectWhen I saw that, I :-D . Well played, n00b, well played.
Nice, that's epic! :-D
""Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
-
Just came across this code from an ex-coworker (names changed to protect the innocent):
Select Case DoStuff(SomeVariable)
Case 0
' Do something with SomeVariable.
Case 1, 2
' Do something else with SomeVariable.
Case Else
result = "omgnub"
End SelectWhen I saw that, I :-D . Well played, n00b, well played.
That reminded me of a custom exception one of my friends made:
NoobDetectedException
. He said he would take it out when he turned in the project, but he didn't. The professor hit the exception, and was not very pleased. The professor showed the class the exception, which had the message: "You are a noob. You will be assimilated. There will be no escape. (This also applies to <professor name omitted>")public class SysAdmin : Employee
{public override void DoWork(IWorkItem workItem) { if (workItem.User.Type == UserType.NoLearn){ throw new NoIWillNotFixYourComputerException(new Luser(workItem.User)); }else{ base.DoWork(workItem); } }
}