The flipped classroom approach provides implementation of a student-centered learning environment. By changing the traditional classroom lectures and homework elements of a course, it facilitates active learning and higher-order understanding. This paper presents initial experiments on a flipped classroom approach and its application in a programming course. The course results and evaluation show that this approach is rewarding, and why it deserves further investigation.