Home > Articles > Programming

Programming

293 Items

Sort by Date | Title

CUDA for Engineers: 2D Grids and Interactive Graphics
By Duane Storti, Mete Yurtoglu
Dec 21, 2015
In this chapter from CUDA for Engineers: An Introduction to High-Performance Parallel Computing, you'll learn about the essentials of defining and launching kernels on 2D computational grids. The authors explain sample code, the flashlight app that takes advantage of CUDA/OpenGL interop to implement real-time graphical display and interaction with the results from 2D computational grids. Finally, they show how to use flashlight as a template and perform modifications to make it applicable to a real engineering problem, numerical exploration of dynamic stability.
Data and the C Programming Language
By Stephen Prata
Dec 20, 2013
This chapter explores the two great families of data types: integer and floating point. C offers several varieties of these types. This chapter tells you what the types are, how to declare them, and how and when to use them. Also, you discover the differences between constants and variables.
Death of the Full-Stack Developer: Just Code Happily
By Dennis Sheppard
Dec 1, 2015
When multi-hyphenated entrepreneurs prove they can't do it all, why do ordinary mortals keep on trying? Dennis Sheppard, co-author of Teach Yourself AngularJS for .NET Developers in 24 Hours, speaks the truth for software developers: Nobody can do it all, and trying to learn every possible programming language makes no sense. Why not just code in the language(s) that you enjoy?
Dependency Injection the Easy Way
By Jesse Smith
Mar 31, 2015
Dependency injection (DI) can be a somewhat difficult concept to grasp and even more confusing to apply to new or existing applications. Jesse Smith shows you how to perform DI without an injection container by using either C# or Java.
Designing a User Interface in C# Using the Model View Presenter Design Pattern
By Robert C. Martin, Micah Martin
Nov 3, 2006
Desgining User interfaces can be tricky. In this chapter from their book, Agile Principles, Patterns, and Practices in C#, the authors walk you through a case study of a payroll application where they use C# to design the UI.
Designing and Writing Generic Facilities: A C++ Challenge
By Herb Sutter
Jan 28, 2005
This chapter provides you with the opportunity to flex your C++ muscles by critiquing a piece of code. Can you find a better way to optimize this code for idiomatic usage? Find out in this challenge from Herb Sutter.
Different Work: Why the Manufacturing Mindset Does Not Apply to Software Development
By Roy Miller
Oct 31, 2003
As it turns out, software development isn't like manufacturing at all. It's a different kind of work to solve a different kind of problem, despite what their learning and training tells most managers. The manufacturing mindset simply doesn't apply to software development. Roy Miller explains why.
Documentation in Scrum Projects
By Mitch Lacey
Feb 11, 2016
Good agile teams are disciplined about their documentation but are also deliberate about how much they do and when. In this chapter from The Scrum Field Guide: Agile Advice for Your First Year and Beyond, 2nd Edition, we find a duo struggling to explain that while they won’t be fully documenting everything up front, they will actually be more fully documenting the entire project from beginning to end.
Domain-Specific Languages: An Introductory Example
By Martin Fowler
Sep 27, 2010
In this excerpt from his book, Domain-Specific Languages, Martin Fowler offers a concrete example to demonstrate the different forms a DSL can take.
Eight Terrifying Team Project Mistakes
By John Paul Mueller
Aug 17, 2009
John Paul Mueller shares project mistakes, including these frightening (true) examples.
Eloquent Ruby: An Interview with Russ Olsen
By Pat Eyler, Russ Olsen
Mar 24, 2011
Pat Eyler interviews Russ Olsen about his new book, Eloquent Ruby, recommended programming practices, why it's beneficial to learn a new programming language, and why it's sometimes worthwhile to color outside the lines.
Eloquent Ruby: Embrace Dynamic Typing
By Russ Olsen
Mar 2, 2011
In this chapter from his book, Eloquent Ruby, Russ Olsen In looks at how dynamic typing allows you to build programs that are simultaneously compact, flexible, and readable. Unfortunately, nothing comes for free, so he also looks at the downsides of dynamic typing and at how the wise Ruby programmer works hard to make sure the good outweighs the bad.
Eloquent Ruby: Use Symbols to Stand for Something
By Russ Olsen
Mar 1, 2011
In this chapter from his book, Eloquent Ruby, Russ Olsen shows symbols in Ruby for what they really are: very simple, useful programming language constructs that are a key part of the Ruby programming style.
Essential Skills for the Agile Developer: Avoid Over- and Under-Design
By Alan Shalloway, Scott Bain, Amir Kolsky, Ken Pugh
Aug 29, 2011
How do you avoid over- or under-designing your code? As Ward Cunningham once said, "Take as much time as you need to make your code quality as high as it can be, but don't spend a second adding functionality that you don't need now!" This chapter covers this "mantra for development: write high-quality code, but don't write extra code.
Evaluating a Software Architecture
By Paul Clements, Rick Kazman, Mark Klein
Dec 6, 2001
To put it bluntly, an architecture is a bet, a wager on the success of a system. Wouldn't it be nice to know in advance if you've placed your bet on a winner, as opposed to waiting until the system is mostly completed before knowing whether it will meet ...
Exceptional C++ Style: Index Tables
By Herb Sutter
Apr 15, 2005
It may seem obvious, but clear, concise code benefits everyone in the process. This sample chapter from Exceptional C++ Style explains in detail how clear code enhances productivity at every step of the way, not just for programmers and debuggers.
Exploratory Testing on Agile Teams
By Jonathan Kohl
Nov 18, 2005
Jonathan Kohl relates an intriguing experience with a slippery bug that convinced his team of the value of exploratory testing: simultaneous test design, execution, and learning.
Exploring the Mythical Weekend Coding Project
By Dhanji R. Prasanna
Jan 24, 2012
Did you ever spend a weekend working through some kooky idea for coding an app you'd had in mind for years? Like many of us, Dhanji R. Prasanna has carried concepts around in his mental pockets, and one day he decided to go ahead and try it. The goal was a working app in two days. Would he succeed or fail miserably? Some things he learned were to be expected, but others he could never have predicted.
Exposing the Fallacy of "Good Enough" Software
By Pete McBreen
Feb 1, 2002
Just because it's Friday, that doesn't mean that the software is good enough to ship to unsuspecting users. Every manager, team leader, and developer needs to fight back against the idea that bugs are inevitable and ridicule the pseudo-economic arguments ...
Facts of Software Engineering Management
By Robert L. Glass
Nov 22, 2002
Robert L. Glass explains why a software manager can't forget about the most important facts — like people are important, technical hype does more harm that good, and complexity is, well, complex.

<< < Prev Page 2 3 4 5 6 Next >