Evolving Software

Was doing something with the android API last night and noticed a strange method when auto-completing with eclipse.

1
UserManager.isUserAGoat()

A quick trip up the the git repo reveals that their goat detection algorithm, while unsophisticated, likely has a surprising high level of accuracy.

75
76
77
78
79
80
81
82
    /**
     * Used to determine whether the user making this call is subject to
     * teleportations.
     * @return whether the user making this call is a goat 
     */
     public boolean isUserAGoat() {
         return false;
     }

I wonder, what other detection algorithms are planned in the next major release?

Categories: Software Engineering