32 I dunno. Probably not, unless you're code golfing.
And I cannot help but be reminded of Haskell's two-line quicksort:
qsort [] = []
qsort (x:xs) = (qsort [n | n <- xs, n < x]) ++ [x] ++ (qsort [n | n <- xs, n >= x])
I think I'm remembering that correctly, at least.
public function login(){
parent::redirectLoggedIn();
parent::loadAll("users/login");
}
public function register(){
parent::redirectLoggedIn();
parent::loadAll("users/register");
}
I could technically make a function that combines both loadAll and redirectLoggedIn this makes them both only 1 line big