He earned his PhD in computer science from Rensselaer Polytechnic Institute in 1993. McCloskey has published papers in peer-reviewed professional journals and has presented at professional conferences. He is the long-time director of the University's annual computer programming contest for high school students. His research interests include formal languages, parsing, automata, and algorithms. McCloskey is a member of the Association for Computing Machinery (ACM).