BUFFALO — When students are programming in Krista Sweckard’s class and their code is coming up with errors, they follow what she calls the rubber duck theory. Sweckard is a computer science teacher at ...