This paper deals with semantic-based programming and presents two experiments, one executed and one planned where the aim is to see what benefits a semantic-based program development method would bring. The first experiment was designed to compare a contract-based programming method with a standard programming method based on exceptions. The purpose was to evaluate if using contracts would shorten development time, if contracts would improve work satisfaction and if contracts would increase the quality of the resulting software program. The experiment was performed in a project work course for computer science students who were to solve an assignment in groups of four. Half of the groups used the contract-based method and the other half used the exception-based method. The results indicate that there is a gain in the time spent on implementation of the assignment if the contract-based method is used, but no significant difference in total time consumption was found. The results also indicate that the work satisfaction was slightly higher in the groups using the contract-based method. The resulting program was analyzed for a range of quality metrics, but no significant differences were found. The main problems of this experiment were too few data points, diversity in competence and ethical considerations. These problems all contribute to the statistically weak results. The last part of this paper presents a planned experiment where the problems in the first experiment hopefully will be remedied. This part is the main new contribution of the paper and is thought of as a starting point for discussions and not as a finished product or paper. The first part of the paper has been published before in a longer version, but is included for background and reference