Search engine for discovering works of Art, research articles, and books related to Art and Culture
ShareThis
Javascript must be enabled to continue!

A modular approach to object initialization for Pharo

View through CrossRef
Une approche modulaire de l'initialisation d'objets pour Pharo La modularité du code favorise la réutilisation. Les concepteurs de langages de programmation se sont principalement consacrés à la modularité des méthodes. À l’inverse, la modularité du code d’initialisation a souvent été négligé. Le code d’initialisation de beaucoup de langages orientés objets à classe est laborieux dans plusieurs cas: par exemple, quand quelques champs (i.e., variables d’instances) ont plusieurs options d’initialisation (e.g., un rectangle peut être initialisé avec des coordonnées Cartésiennes ou polaires), ont une initialisation optionnelle (e.g., un rectangle peut être positionné à une coordonnée fournie ou à l’origine (0,0) si aucune coordonnée n’est fournie) ou héritent d’une initialisation de la super classe (e.g., un rectangle coloré doit redéfinir tous les constructeurs de sa super classe pour ajouter la notion de couleur). Dans de telles circonstances, le nombre de constructeurs augmente exponentiellement avec les options d’initialisation car l’approche d’initialisation manque de modularité.Nous proposons une approche d’initialisation novatrice s’inspirant du langage prototypique Magda. Cette approche est basée sur des modules d’initialisation composables plus petits que les constructeurs classiques. De plus, le nombre de ces modules augmente linéairement avec les options d’initialisation. Nous appliquons cette approche à Pharo, un langage orienté objets dynamiquement typé inspiré de Smalltalk. L’adaptation à Pharo de l’approche d’initialisation de Magda implique la résolution de nouveaux défis issus du passage d’un contexte statiquement typé à un contexte dynamique.
Agence Bibliographique de l'Enseignement Supérieur
Title: A modular approach to object initialization for Pharo
Description:
Une approche modulaire de l'initialisation d'objets pour Pharo La modularité du code favorise la réutilisation.
Les concepteurs de langages de programmation se sont principalement consacrés à la modularité des méthodes.
À l’inverse, la modularité du code d’initialisation a souvent été négligé.
Le code d’initialisation de beaucoup de langages orientés objets à classe est laborieux dans plusieurs cas: par exemple, quand quelques champs (i.
e.
, variables d’instances) ont plusieurs options d’initialisation (e.
g.
, un rectangle peut être initialisé avec des coordonnées Cartésiennes ou polaires), ont une initialisation optionnelle (e.
g.
, un rectangle peut être positionné à une coordonnée fournie ou à l’origine (0,0) si aucune coordonnée n’est fournie) ou héritent d’une initialisation de la super classe (e.
g.
, un rectangle coloré doit redéfinir tous les constructeurs de sa super classe pour ajouter la notion de couleur).
Dans de telles circonstances, le nombre de constructeurs augmente exponentiellement avec les options d’initialisation car l’approche d’initialisation manque de modularité.
Nous proposons une approche d’initialisation novatrice s’inspirant du langage prototypique Magda.
Cette approche est basée sur des modules d’initialisation composables plus petits que les constructeurs classiques.
De plus, le nombre de ces modules augmente linéairement avec les options d’initialisation.
Nous appliquons cette approche à Pharo, un langage orienté objets dynamiquement typé inspiré de Smalltalk.
L’adaptation à Pharo de l’approche d’initialisation de Magda implique la résolution de nouveaux défis issus du passage d’un contexte statiquement typé à un contexte dynamique.

Related Results

Chronotopic initialization of the narrative as a genre feature of the story
Chronotopic initialization of the narrative as a genre feature of the story
The subject of the study is the principle of chronotopic initialization of the story's beginning – a regularity according to which the beginning of a piece of short prose contains ...
Dynamic Calibration of Saturation in Reservoir Simulation Initialization
Dynamic Calibration of Saturation in Reservoir Simulation Initialization
Abstract Accurate initialization of water saturation is a critical step in reservoir simulation, particularly in heterogeneous carbonate reservoirs where dynamic ...
A new weight initialization method for sigmoidal FFANN
A new weight initialization method for sigmoidal FFANN
Weight initialization is the most important component which affects the performance of artificial neural network during training the network using Back-propagation algorithm. The i...
Pharo year one
Pharo year one
It's the season when everyone writes about the past year, or even the past decade for a year number ending in 9. I'll make a modest contribution by summarizing my e...
Design features of modular buildings
Design features of modular buildings
The paper is devoted to modular buildings as а current topic of modern construction. A significant number of studies on this topic have appeared both in Russia and abroad in last y...
The Absence of Smart Technology as One of The Key Factors of Transportation in Modular Construction: A Case Study in Malaysia
The Absence of Smart Technology as One of The Key Factors of Transportation in Modular Construction: A Case Study in Malaysia
Modular construction is a new method introduced to meet the modernisation agenda in the Malaysian construction industry. It provides various benefits to the construction industry, ...
Improved Data Association of Hypothesis-Based Trackers Using Fast and Robust Object Initialization
Improved Data Association of Hypothesis-Based Trackers Using Fast and Robust Object Initialization
The tracking of Vulnerable Road Users (VRU) is one of the vital tasks of autonomous cars. This includes estimating the positions and velocities of VRUs surrounding a car. To do thi...

Back to Top