Enumerative geometry of curves: old and new