Wassup Jose Weblog nonsense at its best!

5Oct/090

That’s Just Embarrassing

My colleague said it best when I presented him with this gem.

Public Function IsSatelliteConsolidatedForDate(ConsolidationId As Long, EffectiveDate As Date) As Boolean
    If ApplicationSupport.DataAccessProxy.IsSatelliteConsolidatedForDate(ConsolidationId, EffectiveDate) Then
        IsSatelliteConsolidatedForDate = True
    Else
        IsSatelliteConsolidatedForDate = False
    End If
End Function

Gabe: Unnecessary...
Thomas: wow!
Thomas: Maybe we should consider that as a design pattern
Gabe: what would we name the pattern?
Gabe: WhenTrueIsTrue?
Gabe: IGetPaidByTheLine Pattern?
Thomas: WhenYouNeedMoreLinesOfcode
Thomas: that's just embarrasing

Filed under: Blog Leave a comment
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

 

No trackbacks yet.