Working on new implementation of IHumbleProgrammer
I’ve noticed my geek ego being aggravated a few times lately so I figured I’d better work on a more effective personal implementation of IHumbleProgrammer. My current implementation seems to be leading to errors in my thought process and even causing my learning to hang. Please excuse the VB.NET, poor formatting, and lack of a valid unit test.
Public Class HumbleProgrammer
Implements CodingHorror.EgolessProgramming.IHumbleProgrammer
Public Sub Listen() Implements CodingHorror.EgolessProgramming.IHumbleProgrammer.Listen
‘TODO: need to add a SyncLock to avoid message from being overwritten by another thought thread
Try
While isOtherPersonTalking()
If GrokPoint() Then
If VerballyVerifyMessage() Then
Respond()
End If
End If
End While
Catch pex As PrideOutOfBoundsException
TakeDeepBreath()
ResetPride()
Listen()Catch psex As PatienceStackOverflowException
PolitelyRescheduleMeeting()
Catch ex As Exception
GoToStarbucks()
End Try
End Function
End Class
Popularity: 4% [?]
Comments(1)


Starbucks as ICoffeeHouse perhaps?
Public Interface ICoffeeHouse
Property HasDriveThru
…
End Interface
…
Starbucks.HasDriveThru = True
ClassicBean.HasDriveThru = False