re: What Is The Worst Comment In Your Code? VIEW POST

// hack, don't want to think about this

EDIT: Never mind, found a better one, for when I was refactoring a ps1 script written four years ago by another team:

# NOTE TO FUTURE DEVELOPERS: If you're wondering where things like
# "Set-OnlineCASMailbox" are defined, it comes from the import-pssession
# call on the Exchange/Lync/etc sessions. The names
# of the commands are changed by the -prefix argument.
# I have no idea why this is even a thing you can do in Powershell,
# but I'm not changing it. --Derek
code of conduct - report abuse