Remove c
article thumbnail

Building High-Quality Software

DZone

It sits at the very beginning of the process before the code is written and can save an immense amount of time down the road (of somebody spending tons of time just to get to a dead-end). I really like what one of the smartest people with whom I worked said: “A good design is a design where you can see the code”. Important note.

Software 245
article thumbnail

Basis Path Testing in Software Testing

Testlodge

The tester established a baseline by selecting the most critical, common, or obvious path through the code selection. Steps to Performing Basis Path Testing The first step is to create a control flow graph for a specified code section. The second step is to select a baseline path through the code.

Testing 75
Insiders

Sign Up for our Newsletter

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Trending Sources

article thumbnail

Missing Library: A pg_upgrade History

Percona

While working as a DBA, we perform many regular tasks, and one of them is upgrading our database systems. In this blog post, I will show you a particular example I faced when working with an upgrade exercise using pg_upgrade. When working with the upgrade exercise, the goal was to move from PostgreSQL 11 to PostgreSQL 12.

C++ 81
article thumbnail

Supercharging saga development

Particular Software

Saga analyzers Sagas have a powerful API, but it’s limited by the confines of C#. You can create a class that is a lousy saga but is still perfectly valid C# code. With Roslyn analyzers and code fixes , we can now do a lot better and help guide you toward the pit of success. Let’s take a look at the new features. ??

article thumbnail

GotW #97 Solution: Assertions (Difficulty: 4/10)

Sutter's Mill

Assertions have been a foundational tool for writing understandable computer code since we could write computer code… far older than C’s assert() macro, they go back to at least John von Neumann and Herman Goldstine (1947) and Alan Turing (1949). 1,2] How well do we understand them… exactly? GUIDELINE: Assert liberally. [3]

C++ 58
article thumbnail

BPF Theremin, Tetris, and Typewriters

Brendan Gregg

In the video I explained how I arrived at tracing __iwl_dbg() in this way, and how you can follow a similar approach for tracing unfamiliar code. This is not my best code, since I hacked it in a hurry, but here it is: #!/usr/bin/python Embedded C. # # Tone generation from: [link] # # 29-Apr-2019 Brendan Gregg Created this.

C++ 52
article thumbnail

BPF Theremin, Tetris, and Typewriters

Brendan Gregg

In the video I explained how I arrived at tracing __iwl_dbg() in this way, and how you can follow a similar approach for tracing unfamiliar code. This is not my best code, since I hacked it in a hurry, but here it is: #!/usr/bin/python Embedded C. # # Tone generation from: [link] # # 29-Apr-2019 Brendan Gregg Created this.

C++ 52