Treffer: Enonciation et langages de programmation. Conclusions : de l'émergence de l'écrit aux styles de codes ; Programming languages and languages. Conclusions: from the emergence of writing to the code styles

Title:
Enonciation et langages de programmation. Conclusions : de l'émergence de l'écrit aux styles de codes ; Programming languages and languages. Conclusions: from the emergence of writing to the code styles
Authors:
Contributors:
Mondes anciens, F.R.S.-FNRS - Fonds de la Recherche Scientifique
Source:
ORBi : Université de Liège
Publication Year:
2019
Document Type:
Konferenz conference object
Language:
English
Relation:
info:hdl:2268/240316; 2268/240316; https://orbi.uliege.be/handle/2268/240316
Rights:
undefined
Accession Number:
edsbas.15C8CFD6
Database:
BASE

Weitere Informationen

Conclusions de la journée d'étude qui envisagent la programmation comme écriture et le code comme texte, rendant de ce fait pertinentes les méthodes et outils d'analyse de la rhétorique. Repartant de 'The elements of programming style' de Kernighan & Plauger (1974), on analyse les caractéristiques du 'bon' style en matière de codage dans les domaines (1) des conventions de nommage, (2) de la syntaxe visuelle (indentations, alignements et espaces signifiants), (3) du péritexte (commentaires expliquant ce que l'on fait et pourquoi on le fait), et (4) du paratexte (typiquement de le 'readme'). La forme (modularisation, recours aux classes) et l'emploi de méthodes 'built-ins' sont également considérées comme participant du bon style et contribuant à l''human readability'. Enfin l'exemple du Python est pris pour étudier le style 'pythonic' et les valeurs associées sur les forums d'aide et de discussion. ; Conclusions of the Study Day which envisage programming as writing and code as text, making methods and tools for analysing rhetoric relevant. Starting from Kernighan -Plauger’s ‘The elements of programming style’ (1974), we analyse the characteristics of the ‘good’ style in terms of coding in the fields (1) of naming conventions, (2) visual syntax (indentations, alignments and significant spaces), (3) peritText (comments explaining what is being done and why), and (4) paratText (typically ‘Readme’). The form (modularisation, use of classes) and the use of ‘built-in’ methods are also considered to be part of the right style and contribute to human readability. Finally, the Python example is taken to study the ‘pythonic’ style and the associated values in the forums for help and discussion.