I support judges being appointed and if that ca n't happen , they should be elected , '' said City Councilman David Yassky , a Democrat in Brooklyn who was formerly a professor at the Brooklyn Law School . ''