Improving automated error diagnosis for OOP practice with C++

This paper describes how to exploit some particular rules about generic programming implementation with C++, to be able to verify at compile-time the existence of symbols such as classes, functions or methods, and the validity of expressions involving those symbols. This validation is done in such a...

Descripción completa

Guardado en:
Detalles Bibliográficos
Autor principal: Novara, Pablo
Formato: Objeto de conferencia
Lenguaje:Inglés
Publicado: 2014
Materias:
C++
Acceso en línea:http://sedici.unlp.edu.ar/handle/10915/42127
Aporte de:
id I19-R120-10915-42127
record_format dspace
institution Universidad Nacional de La Plata
institution_str I-19
repository_str R-120
collection SEDICI (UNLP)
language Inglés
topic Ciencias Informáticas
programming teaching
object oriented programming
C++
generic programming
error diagnosis
Education
spellingShingle Ciencias Informáticas
programming teaching
object oriented programming
C++
generic programming
error diagnosis
Education
Novara, Pablo
Improving automated error diagnosis for OOP practice with C++
topic_facet Ciencias Informáticas
programming teaching
object oriented programming
C++
generic programming
error diagnosis
Education
description This paper describes how to exploit some particular rules about generic programming implementation with C++, to be able to verify at compile-time the existence of symbols such as classes, functions or methods, and the validity of expressions involving those symbols. This validation is done in such a way that the program will always compile and run, even if some expected class or function interface is missing, automatically skipping pieces of code when its compilation is not guaranteed to be successful. This techniques can be easily extended and applied to design and implement programming exercises that will precisely diagnose students errors when are executed, displaying custom run-time messages, and avoiding most compile time errors. This approach produces a selfcontained C++11 code representing a programming assignment, that requires only a standard compliant compiler to be used by the student. No other tool or instrumentation is needed.
format Objeto de conferencia
Objeto de conferencia
author Novara, Pablo
author_facet Novara, Pablo
author_sort Novara, Pablo
title Improving automated error diagnosis for OOP practice with C++
title_short Improving automated error diagnosis for OOP practice with C++
title_full Improving automated error diagnosis for OOP practice with C++
title_fullStr Improving automated error diagnosis for OOP practice with C++
title_full_unstemmed Improving automated error diagnosis for OOP practice with C++
title_sort improving automated error diagnosis for oop practice with c++
publishDate 2014
url http://sedici.unlp.edu.ar/handle/10915/42127
work_keys_str_mv AT novarapablo improvingautomatederrordiagnosisforooppracticewithc
bdutipo_str Repositorios
_version_ 1764820473286230017