[pacman-dev] Pointless public/private functions

Andrew Fyfe andrew at neptune-one.net
Fri Jul 27 10:27:03 EDT 2007


Throughout the libalpm and pacman code there's a lot of public functions 
that simply wrap a private function (maybe with some asserts). What's 
the point? Why not have the asserts in the private function and make the 
private function public reducing the number of function being called?


Andrew




More information about the pacman-dev mailing list