Better Exception-Handling in Block-Structured Systems

IEEE Software ◽  
1987 ◽  
Vol 4 (3) ◽  
pp. 40-49 ◽  
Author(s):  
J.L. Knudsen
1986 ◽  
Vol 15 (204) ◽  
Author(s):  
Jørgen Lindskov Knudsen

<p>One of the most dominant philosophies within programming disciplines is the philosophy of layered systems. In a layered system (or hierarchical system) the layers are thought of as each implementing an abstract machine on top of the lower layers. Such an abstract machine in turn implements utilities (e.g. data-structures and operations) to be used at higher layers.</p><p>This paper will focus on exception handling in block-structured systems (as a special case of layered systems). It will be argued that none of the existing programming language proposals for exception handling support secure and well-behaved termination of activities in a block-structured system. Moreover, it is argued that certain termination strategies within block-structured systems cannot be implemented using the existing proposals. As a result of this discussion and as a solution to the problems, a hierarchical, co-operative exception handling mechanism is proposed.</p>


2020 ◽  
Author(s):  
Matteo Tiecco ◽  
Irene Di Guida ◽  
Pier Luigi Gentili ◽  
Raimondo Germani ◽  
Carmela Bonaccorso ◽  
...  

<div><div><div><p>The structural features of a series of diverse Deep Eutectic Solvents (DESs) have been investigated and characterized by means of two fluorescent probes. The spectral and photophysical properties of the latter are strictly dependent on the experienced environment, so that they can provide insights into the polarity, viscosity, hydrogen-bond network, and micro-heterogeneity of the various DESs.</p><p>In fact, the investigated DESs exhibit a variety of properties with regards to their hydrophilicity, acidity, and hydrogen-bond ability, and these details were deeply probed by the two fluorescent molecules. The effect of the addition of water, which is a key strategy for tuning the properties of these structured systems, was also tested. In particular, the excited state dynamics of the probes, measured by femtosecond-resolved transient absorption, proved instrumental in understanding the changes in the structural properties of the DESs, namely reduced viscosity and enhanced heterogeneity, as the water percentage increases. Differences between the various DESs in terms of both local microheterogeneity and bulk viscosity also emerged from the peculiar multi-exponential solvation dynamics undergone by the excited states of the probes.</p></div></div></div>


2020 ◽  
Author(s):  
Matteo Tiecco ◽  
Irene Di Guida ◽  
Pier Luigi Gentili ◽  
Raimondo Germani ◽  
Carmela Bonaccorso ◽  
...  

<div><div><div><p>The structural features of a series of diverse Deep Eutectic Solvents (DESs) have been investigated and characterized by means of two fluorescent probes. The spectral and photophysical properties of the latter are strictly dependent on the experienced environment, so that they can provide insights into the polarity, viscosity, hydrogen-bond network, and micro-heterogeneity of the various DESs.</p><p>In fact, the investigated DESs exhibit a variety of properties with regards to their hydrophilicity, acidity, and hydrogen-bond ability, and these details were deeply probed by the two fluorescent molecules. The effect of the addition of water, which is a key strategy for tuning the properties of these structured systems, was also tested. In particular, the excited state dynamics of the probes, measured by femtosecond-resolved transient absorption, proved instrumental in understanding the changes in the structural properties of the DESs, namely reduced viscosity and enhanced heterogeneity, as the water percentage increases. Differences between the various DESs in terms of both local microheterogeneity and bulk viscosity also emerged from the peculiar multi-exponential solvation dynamics undergone by the excited states of the probes.</p></div></div></div>


Author(s):  
Tran Thanh Luong ◽  
Le My Canh

JavaScript has become more and more popular in recent years because its wealthy features as being dynamic, interpreted and object-oriented with first-class functions. Furthermore, JavaScript is designed with event-driven and I/O non-blocking model that boosts the performance of overall application especially in the case of Node.js. To take advantage of these characteristics, many design patterns that implement asynchronous programming for JavaScript were proposed. However, choosing a right pattern and implementing a good asynchronous source code is a challenge and thus easily lead into less robust application and low quality source code. Extended from our previous works on exception handling code smells in JavaScript and exception handling code smells in JavaScript asynchronous programming with promise, this research aims at studying the impact of three JavaScript asynchronous programming patterns on quality of source code and application.


Sign in / Sign up

Export Citation Format

Share Document