In recent years, programming as a subject have increasingly become an important part of primary school curriculum in many countries. As a consequence, programming activities have also been merged into teacher training programs in higher education as part of content knowledge for future school teachers. In this paper we investigate how groups of teacher students in their discussions constructs ideas about programming while performing different programming tasks within their teacher training education. The study is drawn from online workshops where the teacher students are engaged in programming activities working in groups. The research questions we ask in this paper are: 1). In what ways do teacher students concretise their comprehension of creating didactical conditions for teaching programming as a subject in primary school? and 2). How are different discourses about the learning process and didactical potential in relation to programming activities constructed in teacher students' discussions while involved in programming activities in teacher education? Using a discourse analytical approach, the results of the study show conflicting contradictions among the teacher students’ opinions of programming as a teaching subject within primary school.