locked
startPeriodicUpdate method: optional parameters should come at the end? WTF? RRS feed

  • Question

  • Hello guys.

    After playing a little bit with the tile and badge api, I can't stop asking who was it that decided to put an optional parameter in the middle of the parameters list for the startPeriodicUpdate method. Here's the api for the BadgeUpdater object:

    badeUpdater.startPeriodicUpdate(Uri, PeriodicUpdateRecurrence)
    badeUpdater.startPeriodicUpdate(Uri, DateTime, PeriodicUpdateRecurrence)

    I'm really hoping that the next release fixes this and puts the DateTime parameter at its right palce, ie, at the end of the parameter list...


    Luis Abreu

    Tuesday, April 24, 2012 10:46 AM

Answers

All replies