Programming pitfalls for beginners