Clean Code


Book Description

This title shows the process of cleaning code. Rather than just illustrating the end result, or just the starting and ending state, the author shows how several dozen seemingly small code changes can positively impact the performance and maintainability of an application code base.




CodeNotes for C#


Book Description

CodeNotes provides the most succinct, accurate, and speedy way for a developer to ramp up on a new technology or language. Unlike other programming books, CodeNotes drills down to the core aspects of a technology, focusing on the key elements needed in order to understand it quickly and implement it immediately. It is a unique resource for developers, filling the gap between comprehensive manuals and pocket references. CodeNotes for C# illustrates Microsoft’s new language for the .NET platform, emphasizing syntax features and object-oriented concepts. Major capabilities of the .NET platform, including the Common Language Runtime (CLR), Base Class Libraries (BCL), and Assemblies, are also covered, as are popular .NET services such as ADO.NET, web services, and ASP.NET. This book is aimed at the experienced developer (Java, VB, C++, etc.) who wants to learn the C# language and evaluate its new features. This edition of CodeNotes includes: • A global overview of this technology and explanation of what problems it can be used to solve • Real-world examples • “How and Why” sections that provide hints, tricks, workarounds, and tips on what should be taken advantage of or avoided • Instructions and classroom-style tutorials throughout from expert trainers and software developers




CodeNotes for ASP.NET


Book Description

CodeNotes provides the most succinct, accurate, and speedy way for a developer to ramp up on a new technology or language. Unlike other programming books, CodeNotes drills down to the core aspects of a technology, focusing on the key elements needed in order to implement it immediately. It is a unique resource for developers, filling the gap between comprehensive manuals and pocket references. CodeNotes for ASP.NET is a revolutionary update to Microsoft’s Active Server Pages. This edition explores how Web applications and Web services can be developed using ASP.NET. The .NET architecture, Base Class Libraries, ASP.NET form designer, Web controls, and cross-page and cross-language debugging are discussed. Scaling ASP.NET to multiple servers, state management, security, and methods of enhancing performance are also covered. This edition of CodeNotes includes: • Real-world examples • “How and Why” and “Bugs and Caveats” sections that provide workarounds and tips on what should be taken advantage of or avoided • “Design Notes” illustrating many of the common use patterns for Java programs • Instructions and classroom-style tutorials throughout from experts Visit www.codenotes.com for updates, source code templates, access to message boards, and discussion of specific problems with CodeNotes authors and other developers. Join our nonfiction newsletter by sending a blank e-mail to: [email protected] or visit www.atrandom.com Every CodeNotes title is written and reviewed by a team of commercial software developers and technology experts. See “About the Authors” at the front of the book for more information.




Born to Code in C


Book Description

For the user who would rather program in C than do practically anything else, the book has finally arrived. Born to Code in C covers interesting and timelyC programming aspects, while presenting extensive coding examples for each.




CodeNotes for .NET


Book Description

CodeNotes provides the most succinct, accurate, and speedy way for a developer to ramp up on a new technology or language. Unlike other programming books, CodeNotes drills down to the core aspects of a technology, focusing on the key elements needed in order to understand it quickly and implement it immediately. It is a unique resource for developers, filling the gap between comprehensive manuals and pocket references. CodeNotes for .NET shows developers how to apply .NET to industrial-strength enterprise solutions. Topics include utilizing Assemblies for deployment and versioning, integrated support for XML/SOAP, creating robust Web applications and services with ASP.NET, and managing enterprise databases with ADO.NET. Managed development and native code interoperability are also explored. Topics include instructive samples in C#, VB.NET and C++. This edition of CodeNotes includes: -A global overview of a technology and explanation of what problems it can be used to solve -Real-world examples -"How and Why" sections that provide hints, tricks, workarounds, and tips on what should be taken advantage of or avoided -Instructions and classroom-style tutorials throughout from expert trainers and software developers Visit www.codenotes.com for updates, source code templates, access to message boards, and discussion of specific problems with CodeNotes authors and other developers. Every CodeNotes title is written and reviewed by a team of commercial software developers and technology experts. See "About the Authors" at the beginning of the book for more information.




C Programming


Book Description

The C programming language is a popular language in industries as well as academics. Since its invention and standardized as ANSI C, several other standards known as C99, C11, and C17 were published with new features in subsequent years. This book covers all the traits of ANSI C and includes new features present in other standards. The content of this book helps a beginner to learn the fundamental concept of the C language. The book contains a step-by-step explanation of every program that allows a learner to understand the syntax and builds a foundation to write similar programs. The explanation clarity, exercises, and illustrations present in this book make it a complete textbook in all aspects. Features: Other than ANSI C, the book explains the new C standards like C99, C11, and C17. Most basic and easy-to-follow programs are chosen to explain the concepts and their syntax. More emphasis is given to the topics like Functions, Pointers, and Structures. Recursion is emphasized with numerous programming examples and diagrams. A separate chapter on the command-line argument and preprocessors is included that concisely explains their usage. Several real-life figures are taken to explain the concepts of dynamic memory allocation, file handling, and the difference between structure and union. The book contains more than 260 illustrations, more than 200 programs, and exercises at the end of each chapter. This book serves as a textbook for UG/PG courses in science and engineering. The researcher, postgraduate engineers, and embedded software developers can also keep this book as reference material for their fundamental learning.




CodeNotes for VB.NET


Book Description

CodeNotes provides the most succinct, accurate, and speedy way for a developer to ramp up on a new technology or language. Unlike other programming books, CodeNotes drills down to the core aspects of a technology, focusing on the key elements needed in order to understand it quickly and implement it immediately. It is a unique resource for developers, filling the gap between comprehensive manuals and pocket references. CodeNotes for VB.NET illustrates the major changes in Visual Basic with the new .NET edition, emphasizing the Common Language Runtime (CLR), syntax changes, Windows Forms, assemblies, new object oriented programming features, threading, and a survey of new .NET technologies such as ADO.NET, ASP.NET, and SOAP. This book will help any level of VB developer understand the power of VB.NET and learn the necessary techniques to transition from VB6 to VB.NET. This edition of CodeNotes includes: -A global overview of a technology and explanation of what problems it can be used to solve -Real-world examples -"How and Why" sections that provide hints, tricks, workarounds, and tips on what should be taken advantage of or avoided -Instructions and classroom-style tutorials throughout from expert trainers and software developers Visit www.codenotes.com for updates, source code templates, access to message boards, and discussion of specific problems with CodeNotes authors and other developers. Every CodeNotes title is written and reviewed by a team of commercial software developers and technology experts. See "About the Authors" at the beginning of the book for more information.




Effective C


Book Description

A detailed introduction to the C programming language for experienced programmers. The world runs on code written in the C programming language, yet most schools begin the curriculum with Python or Java. Effective C bridges this gap and brings C into the modern era--covering the modern C17 Standard as well as potential C2x features. With the aid of this instant classic, you'll soon be writing professional, portable, and secure C programs to power robust systems and solve real-world problems. Robert C. Seacord introduces C and the C Standard Library while addressing best practices, common errors, and open debates in the C community. Developed together with other C Standards committee experts, Effective C will teach you how to debug, test, and analyze C programs. You'll benefit from Seacord's concise explanations of C language constructs and behaviors, and from his 40 years of coding experience. You'll learn: How to identify and handle undefined behavior in a C program The range and representations of integers and floating-point values How dynamic memory allocation works and how to use nonstandard functions How to use character encodings and types How to perform I/O with terminals and filesystems using C Standard streams and POSIX file descriptors How to understand the C compiler's translation phases and the role of the preprocessor How to test, debug, and analyze C programs Effective C will teach you how to write professional, secure, and portable C code that will stand the test of time and help strengthen the foundation of the computing world.




Writing Efficient C Code


Book Description

Writing Efficient C Code: A Thorough Introduction was written for two groups of readers: * programmers who want to learn C from the beginning, and * practicing C programmers who want to sharpen their skills. Our goal with the book is to give the reader a deep understanding of both the ISO C programming language and a method based on performance measurements to write efficient C code. We present essentially all of C99 and the new revision of the ISO C standard, called C11. In addition to C, we introduce elementary computer architecture and essential C development tools including the gcc compiler, the gdb debugger, profilers, and the Valgrind suite of tools for performance analysis and automatic detection of software defects. Using performance measurements and a deep knowledge about which code transformations optimizing compilers can perform automatically, as well as their limitations, as the basis for the method for writing efficient C code, the readers of this book will hopefully become more productive and more competent in writing correct, maintainable and fast C code. In order to achieve this goal, and to help C programmers visualize the machine code and the clock cycle counts of their code, the book contains one chapter on the internals of modern optimizing compilers, and the necessary background on how C is translated to machine code for a RISC processor. At the book's site www.writing-efficient-c-code.com, the authors answer questions related to the book. It also has a growing list of zip-files useful for solving and checking exercises in the book.




CodeNotes for .NET


Book Description