Home > Articles > Programming

Programming

3682 Items

Sort by Date | Title

Safety in Numbers: Introducing C++14's Binary Literals, Digit Separators, and Variable Templates
May 14, 2014
Danny Kalev highlights three new core features in C++14 that simplify the design and implementation of numeric apps. Binary literals such as 0b10101 enable you to parse binary numbers without the onus of converting them to decimal; the new digit separator improves code readability; and, finally, variable templates let you define parameterized constants instead of resorting to cumbersome static member functions.
Regular Expressions 102: Text Translation in C++
May 7, 2014
With the new Regular Expression library in the C++11 specification, you can perform complex text translation simply by specifying a couple of text patterns and then just calling a function. Brian Overland, author of C++ for the Impatient, demonstrates how easy and yet powerful these features are to use.
Preface to Bjarne Stroustrup's Programming: Principles and Practice Using C++, 2nd Edition
May 5, 2014
Bjarne Stroustrup introduces the second edition of his book, Programming: Principles and Practice Using C++, which will give you a solid foundation for writing useful, correct, maintainable, and efficient code.
Exception Management in C++ and Python Development: Planning for the Unexpected
May 1, 2014
Stephen B. Morris digs deeper into the terrain between C++ and Python, both of which provide powerful exception-management facilities. Later maintainers of your code will thank you for implementing decent exception logic! In addition to the maintenance advantages, careful use of exception handlers can facilitate effective integration between Python and C++.
Implementing Gestures and Touches in iOS 7
Apr 28, 2014
This chapter introduces direct manipulation interfaces that go far beyond prebuilt controls. By the time you finish reading this chapter, you’ll have read about many different ways you can implement gesture control in your own applications.
Accessing Shared Atomic Objects from within a Signal Handler in C
Apr 24, 2014
Robert C. Seacord, author of Secure Coding in C and C++, Second Edition, describes how accessing shared objects in signal handlers can result in race conditions that can leave data in an inconsistent state. Historically, the only conforming way to access a shared object from a signal handler was to read from or write to variables of type volatile sig_atomic_t. With the advent of C11, atomics are now a better choice for accessing shared objects in signal handlers.
First Sketches of an App: Planning the Design of a Mobile Application
Apr 23, 2014
In this chapter you’ll find a general strategic outlay for planning the design of a mobile application. Using the steps and techniques presented, you’ll be prepared for the different phases a design evolves through during its infancy, before a programmer writes the first lines of code.
Java SE 8's New Language Features, Part 2: Predefined Functional Interfaces, Method References, and More
Apr 22, 2014
Java 8 has significantly evolved the Java language by adding support for default and static methods to interfaces, by introducing lambda expressions and functional interfaces, and more. In Part 2 of a two-part series on Java 8 language features, Jeff Friesen introduces you to predefined functional interfaces, method references, enhanced generic type inference, and type annotations.
Using Object-Oriented Features in Objective-C
Apr 22, 2014
This chapter explains the messaging structure that is at the heart of Objective-C., using the common alloc and init methods as examples.
Quis custodiet ipsos custodes? Going Heisenberg on iOS' NSNotificationCenters
Apr 21, 2014
You may think your observers are well behaved, but are they? With modern block-based NSNotificationCenters, you may be leaking without ever realizing it. Erica Sadun shows how to clean things up.
What it Takes to Hit #1 in Various Mac App Stores
Apr 16, 2014
Erica Sadun tells the story about some of her own "successful" apps and explains why top chart positions in the Mac App Store may disappoint on earnings.
Creating an Agile Culture through Trust and Ownership: An Interview with Pollyanna Pixton and Niel Nickolaisen
Apr 10, 2014
Phil Windley talks to Pollyanna Pixton and Niel Nickolaisen about their book, The Agile Culture: Leading through Trust and Ownership, why command and control management doesn't work with software teams, and why really trusting your team can make all the difference in your products, your work environment, and employee quality, satisfaction, and retention.
Introduction to Classes, Objects, Methods and Strings in Java SE8
Apr 9, 2014
This chapter shows how to create your own Java classes and methods, presenting a case study on creating and using a simple, real-world bank account class — Account. This chapter also introduces data type double to represent an account balance as a number that can contain a decimal point—such numbers are called floating-point numbers.
Why the 3.5" Form Factor Still Matters - Even in the Age of the iPhone 5S and Later
Apr 9, 2014
It’s good to be regularly reminded about non-obvious testing targets that you might not have been thinking about. Here are some extra reasons you should continue targeting the 3.5” form factor for the foreseeable future.
Five Ways to Optimize Encapsulation in Your Software Architecture
Apr 3, 2014
Max Guernsey III, author of Test-Driven Database Development: Unlocking Agility, demonstrates a set of techniques for changing your development team's attitudes and actions. By focusing on how to maximize encapsulation, your team can minimize the sort of accidental coupling that thwarts on-time delivery and makes software changes unnecessarily expensive.
Detached Retinas: How to Develop and Test OS X Retina Apps on Non-Retina MacBook Pros
Apr 2, 2014
Not everyone owns Retina MacBook Pros but when you’re deploying to the Mac App Store you need to ensure that your apps work as consistently on this target as they do on your home system. Learn how to add Retina emulation to your non-Retina development machine.
The Big Nerd Ranch Guide to iOS Programming: Managing Memory with ARC
Apr 1, 2014
In this chapter, you will learn how memory is managed in iOS and the concepts that underlie automatic reference counting, or ARC.
iOS Development: A Fistful of Directive Tricks
Mar 26, 2014
Although many compiler directives exist in the Xcode wild, many developers rarely move past #define (to create macros) or #pragma mark (to add bookmarks). There’s so much more you can do. Compiler directives are language add-ons that specify how Xcode processes its input. Xcode’s Clang compiler offers a rich suite of possibilities. This quick write-up offers a few of these directives, and you learn how they can enable you to harness warnings and errors for the greatest information impact.
Preface to The CERT® C Coding Standard, second edition
Mar 26, 2014
Robert Seacord introduces the second edition of The CERT® C Coding Standard: 98 Rules for Developing Safe, Reliable, and Secure Systems, which provides rules for coding in the C programming language safely, reliably, and securely.
Java SE 8: Why Should I Care?
Mar 25, 2014
Java retains its object-oriented roots, but has added many functional programming constructs to help it better manage parallel processing. Java expert Steven Haines reviews the must-know features added to Java SE 8.

<< < Prev Page 11 12 13 14 15 Next >