Best Practices

Presenter Presentation Info

Samuel Gaist
Edeltech Ltd

Test Driven Development for Invisible Hardware

Developing an application that communicates with a hardware device or an online service often boils down to open a connexion to exchange data through read and write operations. What happens frequently however, is that the software developer doesn’t have access to said hardware because it’s still in development, too pricey or too big to fit in the office space.

Helge Betzinger
pcvisit software ag

Write Event-based programs again sequentially or how to Clean Code in asynchronous programs

For modern applications there are always plenty of reasons to wait. It doesn’t matter whether they are of high or low complexity. They're waiting for network events, waiting for a slow database, waiting for content from the Internet, waiting for computationally intensive tasks. But waiting is not a virtue of programming languages like C + +. Thus, one needs to implement the well known workarounds like using threads, signals, callbacks as well as synchronization mechanisms to cope with this challenge. Using those techniques in general helps to solve the problem but at high costs.

Kevin Ottens

From QtWidgets Legacy to QtQuick and beyond

It is easier and easier to create a proper QtQuick application from scratch. But is it really that simple to bring existing code in the QtQuick structure? It can get especially challenging for a large project which collected C++ collected over more than 15 years. What can we do of all that code? Temptation is high for new developers to start from scratch, but what about the lost knowledge?

In this live coding session, we'll see how we can start from an untested QtWidgets legacy code base, add new features to it, and move it over QtQuick in around an hour.

Reginald Stadlbauer
froglogic GmbH

Behavior-Driven Development and Testing of Qt C++ and QML Applications

This presentation will introduce the audience to BDD - the
Behavior-Driven Development method. How can it be applied to
development of Qt applications? We will also try to debunk myths and
false hopes surrounding it.

Thiago Macieira

Writing better code with help from Qt and the compiler

Traditionally, getting the most out of a processor required writing assembly code that used specialised instructions to accomplish some particular tasks. And though that's still widely used, processors are very complex and maintaining assembly code by hand is a hard and tedious task. Add to that the fact that processors evolve and getting the timings right of each generation is better left to the compiler.