You are here: Main » WikiUsers » SebastianLohmeier
Sebastian Lohmeier.jpg

Sebastian Lohmeier


Sebastian Lohmeier

- external research associate -


I use theory from cognitive linguistics as well as cognitive modelling and eye tracking to look for ways to improve programming and program comprehension via perspectivation of Java source code using anaphors.

In linguistics, perspectivation is understood as a process of turning a mental representation into text. Perspectivation may be achieved using anaphors (textual references to prior information). I'm implementing anaphors for Java in the Eclipse IDE, will model them cognitively and study them empirically in order to figure out how Java source code with anaphors can be perspectivised for individual programmers in a manner that shortens source code and improves comprehensibility during code reading.

For a very simple example of perspectivation via an anaphor, see below snippets for two perspectivations of a reference to a MimeMessage : normal Java code (top) and code using the anaphor message (bottom).

final MimeMessage message = new MimeMessage();

new MimeMessage();

The anaphor does not require a local variable to be declared. Instead, the suffix message of the type MimeMessage can used to refer to the instance because there are no other messages in scope.

There's also a demo video of the editor: .

Most things I do are listed on .
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback