(a) The costs discretion to be exercised under r 1163(2) where a party is given leave to discontinue is at large, but must be exercised judicially.
(b) There is no presumption that under r 1163(2) costs will be awarded to one or other party. There is no entitlement to costs against the discontinuing party arising simply because in some cases it may be preferable in the interests of finality to enter judgment against the party rather than giving leave to discontinue.
(c) In the exercise of the costs discretion, it is appropriate to have regard to:
(i) whether the behaviour of each party was reasonable until the point when discontinuance was sought; and
(ii) whether seeking to discontinue reflects a surrender by the discontinuing party in a hopeless case or a supervening event or other change in external circumstances that has rendered the action 'futile' or pointless.
(d) In relation to the reasonableness of a party's behaviour, the matters that may be relevant include (but are not limited to), those set out in the following list (extracted from [Oshlack v Richmond River Council [1998] HCA 11; (1998) 193 CLR 72] and [Edwards Madigan Torzillo Briggs Pty Ltd v Gloria Stack & Ors [2003] NSWCA 302]):
(i) whether a party has 'by its lax conduct effectively invite[d] the litigation';
(ii) whether either party has unnecessarily protracted the proceedings;
(iii) whether the successful party has succeeded on a point not argued before a lower court;
(iv) whether a party has prosecuted the matter solely to increase the costs recoverable;
(v) whether a party has obtained only the relief previously offered by another party in settlement offers;
(vi) whether a discontinuing plaintiff had 'an arguable case' against the other party;
(vii) whether the 'complexity, duration or expense of the litigation could have been reduced if either party had taken a different view of the case'.
(e) In relation to the reason for seeking to discontinue:
(i) a surrender will usually leave the surrendering party to pay the other party's costs; and
(ii) discontinuance for futility will sometimes mean that no costs order is made.