• Complain

Paul David Hardy - Improving the Quality of ABAP Code: Striving for Perfection

Here you can read online Paul David Hardy - Improving the Quality of ABAP Code: Striving for Perfection full text of the book (entire story) in english for free. Download pdf and epub, get meaning, cover and reviews about this ebook. year: 2021, publisher: Apress, genre: Romance novel. Description of the work, (preface) as well as reviews are available. Best literature library LitArk.com created for fans of good reading and offers a wide selection of genres:

Romance novel Science fiction Adventure Detective Science History Home and family Prose Art Politics Computer Non-fiction Religion Business Children Humor

Choose a favorite category and find really read worthwhile books. Enjoy immersion in the world of imagination, feel the emotions of the characters or learn something new for yourself, make an fascinating discovery.

Paul David Hardy Improving the Quality of ABAP Code: Striving for Perfection
  • Book:
    Improving the Quality of ABAP Code: Striving for Perfection
  • Author:
  • Publisher:
    Apress
  • Genre:
  • Year:
    2021
  • Rating:
    5 / 5
  • Favourites:
    Add to favourites
  • Your mark:
    • 100
    • 1
    • 2
    • 3
    • 4
    • 5

Improving the Quality of ABAP Code: Striving for Perfection: summary, description and annotation

We offer to read an annotation, description, summary or preface (depends on what the author of the book "Improving the Quality of ABAP Code: Striving for Perfection" wrote himself). If you haven't found the necessary information about the book — write in the comments, we will try to find it.

Gain an in-depth understanding of the large number of common problems found in ABAP programs and have a robust methodology for fixing problems when you find them. This book also shows you how to prevent them from occurring in new programs.

A large chunk of the worlds biggest organizations use SAP software and virtually all of them have very large amounts of custom code. However, a lot of that custom code is not as good as it could be. In this book we look at why object-oriented programming is the basic building block for improved program quality and at the test-driven development that this enables. We cover the three pillars of clarity, stability, and high performance on which a high-quality ABAP program stands. You will then move on to the user interface, which needs its own set of standards for high quality. In the final chapters, you will learn about specialist topics such as user exits, making sure code will run on the latest releases of SAP, and how to add your own automated custom code quality checks.

What You Will Learn

  • Know why object-oriented programming and test-driven development are the cornerstones of high-quality custom code
  • Ensure that the three pillars of clarity, stability, and high performance are fulfilled
  • Make sure your applications are user friendly
  • Ensure that your custom code works on newer SAP releases
  • Create your own custom code quality checks

Who This Book Is For

ABAP developers who started yesterday or have been programming for 20 years

Paul David Hardy: author's other books


Who wrote Improving the Quality of ABAP Code: Striving for Perfection? Find out the surname, the name of the author of the book and a list of all author's works by series.

Improving the Quality of ABAP Code: Striving for Perfection — read online for free the complete book (whole text) full work

Below is the text of the book, divided by pages. System saving the place of the last page read, allows you to conveniently read the book "Improving the Quality of ABAP Code: Striving for Perfection" online for free, without having to search again every time where you left off. Put a bookmark, and you can go to the page where you finished reading at any time.

Light

Font size:

Reset

Interval:

Bookmark:

Make
Contents
Landmarks
Book cover of Improving the Quality of ABAP Code Paul David Hardy - photo 1
Book cover of Improving the Quality of ABAP Code
Paul David Hardy
Improving the Quality of ABAP Code
Striving for Perfection
1st ed.
Logo of the publisher Paul David Hardy North Strathfield NSW Australia - photo 2
Logo of the publisher
Paul David Hardy
North Strathfield, NSW, Australia

Any source code or other supplementary material referenced by the author in this book is available to readers on GitHub via the books product page, located at www.apress.com/978-1-4842-6710-3 . For more-detailed information, please visit http://www.apress.com/source-code .

ISBN 978-1-4842-6710-3 e-ISBN 978-1-4842-6711-0
https://doi.org/10.1007/978-1-4842-6711-0
Paul David Hardy 2021
This work is subject to copyright. All rights are reserved by the Publisher, whether the whole or part of the material is concerned, specifically the rights of translation, reprinting, reuse of illustrations, recitation, broadcasting, reproduction on microfilms or in any other physical way, and transmission or information storage and retrieval, electronic adaptation, computer software, or by similar or dissimilar methodology now known or hereafter developed.
The use of general descriptive names, registered names, trademarks, service marks, etc. in this publication does not imply, even in the absence of a specific statement, that such names are exempt from the relevant protective laws and regulations and therefore free for general use.
The publisher, the authors and the editors are safe to assume that the advice and information in this book are believed to be true and accurate at the date of publication. Neither the publisher nor the authors or the editors give a warranty, expressed or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The publisher remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Distributed to the book trade worldwide by Springer Science + Business Media New York, 1 New York Plaza, New York, NY 10004. Phone 1-800-SPRINGER, fax (201) 348-4505, email orders-ny@springer-sbm.com, or visit www.springeronline.com. Apress Media, LLC is a California LLC, and the sole member (owner) is Springer Science + Business Media Finance Inc (SSBM Finance Inc). SSBM Finance Inc is a Delaware corporation.

I dedicate this book to my loving wife, Vikki, who has to make so many sacrifices whilst I am locked away in my own world writing books!

Introduction

In 2015, the American SAP Users Group (ASUG) wanted my opinion on a new survey that had been put out by a company called CAST, which had analyzed about 70 large custom ABAP applications from organizations all across the United States and Europe and come to the conclusion that all that custom code was a load of old baloney, ludicrous, rubbish, hopeless, and fit only for the dustbin.

The clear implication was that the ABAP programmers who had written these applications could not touch their own nose, let alone write a program containing even one ounce of quality. Nonetheless, the programs workedthey solved the business problems they were created to solve.

How can this be? How can we get to the stage where 100 percent of code is no good and yet 100 percent of code appears to work? It is because the two things are unrelated to an extentbut only to an extent.

What is meant by the codes being no good is that the analyzed programs were big balls of mudprone to breaking for no apparent reason, and so complicated it would be impossible for any programmer other than the creator (and often even the creator) to understand what was going on and how to fix things or make a change. Sadly, this did not surprise me at all.

For Whom This Book Is Applicable

This book is aimed at all ABAP developers, whether they started yesterday or have been programming for 20 years. In fact, the ones who have been programming for 20-plus years probably need this book more, as a lot of them have fallen into bad habits or have never even heard of modern programming concepts like object-oriented programming or test-driven development.

Why This Book Was Written

If I were to boil this book down to one sentence, it would be: How did we get to the terrible situation where the vast majority of custom code is of poor quality, and what can we (realistically) do to solve this problem?

How Did We Get Here?

So the next question is, how did we get here? It is not because the programmers lack skill. Most programs usually start off perfect with no quality issues at all. Then, somehow, they get worse over time as more and more changes and additions are made.

I would say that programs degrade as a result of the false belief that code quality really does not matter at all. I imagine that in 99 percent of organizations, what the programmer is instructed to do is to make the exact change(s) required and ignore the fact that the program is (a) already a horrible mess or (b) your current change will make a fairly good program into more of a mess than it was before. The fact that you are actually making the problem worse over time is neither here nor there, as long as the requirement is met, really quickly.

Most management would say this approach is the only possible way to get things done. Time (and money) is always tight and getting tighter. Therefore, the idea is to make our changes as quickly as possible. In real life, over a protracted period quality code is actually cheaper than poor-quality code because the maintenance effort is so much lower, but that is a very difficult concept to convey.

How Do We Get Back?

Fear is always a killerwhen changing a program, if you find an obvious existing bug, do you fix it, even if that is not what you are actually supposed to be doing? In some companies, you could get sacked for that.

You probably have heard the following famous quote:

The only thing necessary for the triumph of evil is for good men to do nothing.

Edmund Burke (in a letter addressed to Thomas Mercer)

I could rephrase this as follows:

All it takes for poor quality to triumph is for good programmers to leave obviously bad code the way it is because they are scared of it.

This book is going to be about confronting and overcoming that fear, gradually increasing the quality of your code. This could be described as doing a favor to yourself, and to your colleagues both current and future. Robert C. Martin has an approach he calls The Boy Scout Rule regarding what to do with the area of code you have just fixed or enhanced:

Its not enough to write the code well. The code has to be kept clean over time. Weve all seen code rot and degrade as time passes. So we must take an active role in preventing this degradation.

The Boy Scouts of America have a simple rule that we can apply to our profession.

Leave the campground cleaner than you found it.

If we all checked-in our code a little cleaner than when we checked it out, the code simply could not rot. The cleanup doesnt have to be something big. Change one variable name for the better, break up one function thats a little too large, eliminate one small bit of duplication, clean up one composite if statement.

Next page
Light

Font size:

Reset

Interval:

Bookmark:

Make

Similar books «Improving the Quality of ABAP Code: Striving for Perfection»

Look at similar books to Improving the Quality of ABAP Code: Striving for Perfection. We have selected literature similar in name and meaning in the hope of providing readers with more options to find new, interesting, not yet read works.


Reviews about «Improving the Quality of ABAP Code: Striving for Perfection»

Discussion, reviews of the book Improving the Quality of ABAP Code: Striving for Perfection and just readers' own opinions. Leave your comments, write what you think about the work, its meaning or the main characters. Specify what exactly you liked and what you didn't like, and why you think so.