Home > Articles > Programming

Programming

RSS Feed Subscribe to this topic  RSS details

3535 Items

Sort by Date | Title

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.
Discovering Swift and the iOS Playground
By John Ray
Mar 27, 2015
In this excerpt from iOS 8 Application Development in 24 Hours, Sams Teach Yourself, 6th Edition, John Ray takes you through the steps you need to know to be comfortable with Swift and starts you down the path to mastering this unique and powerful language.
Mastering the Three Core Windows PowerShell Cmdlets
By Timothy Warner
Mar 25, 2015
Timothy Warner, author of Sams Teach Yourself Windows PowerShell 5 in 24 Hours, shows how to use the 'Holy Trinity' of PowerShell cmdlets (Get-Command, Get-Help, and Get-Member) to find, learn, and apply useful PowerShell commands for your work.
Programming with SOLID Principles
By Jesse Smith
Mar 23, 2015
Introduced by software engineer Robert Martin in the early 2000s, the five basic SOLID principles for good object-oriented programming design discussed in this article make code-bases more clean and maintainable. Jesse Smith shows you how the principles discussed here enable you to create more flexible, robust and reusable code.
The Inefficiency of Multitasking: Why Your Smartphone Is a 'Weapon of Mass Distraction'
By Scott Will
Mar 20, 2015
Scott Will, co-author of Being Agile: Eleven Breakthrough Techniques to Keep You from "Waterfalling Backward", will convince you that multitasking simply wastes time and energy. Learn how to give up multitasking - and get more done.
Effective Python Item 40: Consider Coroutines to Run Many Functions Concurrently
By Brett Slatkin
Mar 18, 2015
There are numerous problems with threads in Python, but Python can work around almost all of these issues with coroutines, which let you have many seemingly simultaneous functions in your Python programs. Brett Slatkin discusses coroutines in this excerpt from Effective Python: 59 Specific Ways to Write Better Python.
Working with Strings in Ruby
By Hal Fulton, André Arko
Mar 16, 2015
A string is simply a sequence of characters. Like most entities in Ruby, strings are first-class objects. In everyday programming, we need to manipulate strings in many ways. We want to concatenate strings, tokenize them, analyze them, perform searches and substitutions, and more. In this chapter from The Ruby Way: Solutions and Techniques in Ruby Programming, 3rd Edition, Hal Fulton and André Arko show you how Ruby makes most of these tasks easy.
Using AngularJS with MongoDB
By Jesse Smith
Mar 11, 2015
Jesse Smith shows you how to use MongoDB with your Angular JS applications.
Automate Your Development: Build Code Diagnostics and Code Fixes with the .NET Compiler Platform APIs
By Bill Wagner
Mar 5, 2015
An important feature of the API framework in the Visual Studio 2015 compiler is the capability to create your own diagnostic, code fix, and refactoring projects. Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, shows how you can use these APIs to automate everyday tasks such as finding code that lacks enclosing braces - and then adding them automatically.
Video: Java Reflection Tutorial: Accessing Array Elements
By Paul Anderson
Mar 5, 2015
In this video excerpt from Java Reflection LiveLessons (Video Training), Paul Anderson talks about accessing Array elements using setters and getters.
Scanning Barcodes Using the AV Foundation Framework
By Wei-Meng Lee
Mar 2, 2015
In addition to playing video and audio files, the iOS 7 AV Foundation Framework APIs let you use your iOS device's camera for scanning. Wei-Meng Lee shows how to create an application to scan barcodes.
The MMIX Supplement to The Art of Computer Programming: Programming Techniques
By Martin Ruckert
Feb 25, 2015
In this excerpt from The MMIX Supplement: Supplement to The Art of Computer Programming Volumes 1, 2, 3 by Donald E. Knuth, Martin Ruckert discusses various programming techniques, including index variables, fields, relative addresses, bit stuffing, loop unrolling, subroutines, and reporting errors.
Video: Java Performance: Tune the HotSpot JVM Step-by-Step
By Charlie Hunt
Feb 24, 2015
In this video excerpt from Java Performance LiveLessons (Video Training), Charlie Hunt describes a high level step-by-step JVM tuning process that you can use to tune the Java Virtual Machine.
Universal Windows Apps with XAML and C# Unleashed: Threading, Windows, and Pages
By Adam Nathan
Feb 23, 2015
This chapter from Universal Windows Apps with XAML and C# Unleashed begins by examining a very important topic, although one that many developers take for granted: the threading model for universal apps. This background is especially helpful for the advanced feature of writing an app that displays multiple windows, which is the second topic in this chapter. The third and final topic—navigating between a window’s pages—is a feature leveraged by just about every real-world app.
So You Want to Start a Technical Blog
By Thursday Bram
Feb 20, 2015
Everybody’s doing it. And by “it,” we mean blogging. You know you want to. You’ve got something to say and people need to hear it. Follow these down-to-earth tips and tricks about getting your feet wet in the world of technology blogs.
Video: Spring Framework Tutorial: How to Use Bean Lifecycle Callbacks
By Josh Long
Feb 19, 2015
In this excerpt from Spring Framework LiveLessons (Video Training), Josh Long shows you how to use bean lifecycle callbacks, including the initializing bean interface, the disposable bean interface, @PostConstruct and @PostDestroy methods, and the smart lifecycle interface.
Style Guide for The MMIX Supplement: Supplement to The Art of Computer Programming Volumes 1, 2, 3 by Donald E. Knuth
By Martin Ruckert
Feb 18, 2015
Martin Ruckert, author of The MMIX Supplement: Supplement to The Art of Computer Programming Volumes 1, 2, 3 by Donald E. Knuth , offers a programming style guide, covering names, temporaries, index variables, register numbers, local name spaces, and instruction counts.
Video: Writing a Multistep MapReduce Job Using the mrjob Python Library
By Michael Manoochehri
Feb 17, 2015
In this video excerpt from Data Just Right LiveLessons (Video Training), Michael Manoochehri shows you how mrjob makes it really easy to run Hadoop streaming API jobs on Python.
A Brief Tour of C# 6.0
By Bill Wagner
Feb 16, 2015
Are you eager for the release of C# 6.0? Bill Wagner is! The author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition discusses a few of his favorite new features, including some that you probably thought were already in the code, and other pleasant surprises.
From Mathematics to Generic Programming: An Interview with Alexander Stepanov and Daniel Rose
By John Lakos, Alexander A. Stepanov, Daniel E. Rose
Feb 16, 2015
John Lakos interviews Alexander Stepanov and Daniel Rose, authors of From Mathematics to Generic Programming, on their new book, why it applies to everyday programmers, and their positions on some closely related technical issues — including value semantics, concepts, contracts, and polymorphic memory resources — facing the C++ Standards Committee today.

Page 1 2 3 4 5 Next >