Home > Articles > Programming

Programming

3682 Items

Sort by Date | Title

The Go Programming Language: A Tutorial
Nov 12, 2015
This chapter from The Go Programming Language is a tour of the basic components of Go. The examples here are aimed at tasks that you might have to do in the real world. This tutorial gives you a taste of the diversity of programs that one might write in Go, ranging from simple file processing and a bit of graphics to concurrent Internet clients and servers.
Classes in C#
Oct 21, 2015
This chapter from Essential C# 6.0, 5th Edition introduces the basics of object-oriented programming using C#. A key focus is on how to define classes, which are the templates for objects themselves.
Comparing Python Object-Oriented Code with Java
Oct 14, 2015
Do you avoid Python OO features, preferring the procedural/functional model? That tendency is common in languages such as PHP, where many programmers opt not to use OO features. But you might be missing an important opportunity! Java requires an OO approach, giving you the advantages of that model in every line of code you write. Stephen B. Morris points out the advantages of using Python's OO features in a manner similar to Java's.
How to Use Regular Expressions TODAY in Your Windows PowerShell Code
Oct 13, 2015
Do you need to learn all about regular expressions before using them with PowerShell? Nope. Timothy Warner, author of Sams Teach Yourself Windows PowerShell 5 in 24 Hours, doesn't waste time with boring backstory. Learn how to combine regex with your PowerShell code to jump right into performing search-and-replace operations, validation, and more.
Video: Effective Python: Working with Concurrency and Parallelism
Oct 12, 2015
Brett Slatkin, author of Effective Python LiveLessons (Video Training), discusses concurrency and parallelism in Python.
Video: Effective Python: Consider Generator Expressions for Large Comprehensions
Oct 5, 2015
In this excerpt from Effective Python LiveLessons (Video Training), Brett Slatkin discusses the problem with list comprehensions for large inputs.
Video: Use NONE and docstrings to specify dynamic default arguments in Python
Sep 30, 2015
In this excerpt from Effective Python LiveLessons (Video Training), Brett Slatkin talks about when you have to use a nonstatic type as a keyword argument's default value, and how to avoid problems that can occur when you do.
Learn C the Hard Way: Using Makefiles to Build
Sep 23, 2015
In this excerpt from Learn C the Hard Way: Practical Exercises on the Computational Subjects You Keep Avoiding (Like C), Zed A. Shaw uses a program called make to simplify building exercise code. You'll learn just enough Makefile syntax to get started.
Learn C the Hard Way: Dust Off That Compiler
Sep 22, 2015
In this chapter from Learn C the Hard Way: Practical Exercises on the Computational Subjects You Keep Avoiding (Like C), Zed Shaw has you write a small but extensive C program to confirm that your compiler works.
Creating Custom Apple Watch Complications, Part 2
Sep 21, 2015
Wei-Meng Lee, author of Learning WatchKit Programming: A Hands-On Guide to Creating Apple Watch Applications, continues his discussion of watch complications and how you can implement Time Travel to display past and future events on the Apple Watch.
Working with the PowerShell Desired State Configuration, Part 2: Implementation and Troubleshooting
Sep 17, 2015
Concluding his two-part series on using the PowerShell DSC, Timothy Warner, author of Sams Teach Yourself Windows PowerShell 5 in 24 Hours, shows how to work with Managed Object Format (MOF) files in your PowerShell scripts. Configure remote systems, use commands to perform necessary tasks, and find/fix problems without having to set foot outside your office.
Jumping in with Both Feet: A Visual Basic 2015 Programming Tour
Sep 14, 2015
In this excerpt from Visual Basic 2015 in 24 Hours, Sams Teach Yourself, James Foxall gives you a quick tour of Visual Basic that takes you step by step through creating a complete, albeit small, Visual Basic program.
Creating Custom Apple Watch Complications, Part 1
Sep 10, 2015
Wei-Meng Lee, author of Learning WatchKit Programming: A Hands-On Guide to Creating Apple Watch Applications, continues his exploration of what's new for developers in watchOS 2. This time, he shows how to create complications for the watch faces on the Apple Watch.
The .NET Languages
Sep 10, 2015
In this chapter from Microsoft Visual Studio 2015 Unleashed, 3rd Edition, Lars Powers and Mike Snell focus on the foundations of .NET programming in C# and Visual Basic. They start by highlighting new features of the languages for those who are already familiar with C# and VB. They then include a language primer as a review of some basic .NET programming tasks. They then cover some more in-depth programming features, enhancements to C# 6.0 and VB 14, and language-related IDE enhancements. The chapter concludes with an overview and map of the .NET Framework class library.
What Is Scrumban and Why Should I Care?
Sep 9, 2015
Scrumban is a management framework that emerges when teams employ Scrum as their chosen way of working and use the Kanban Method as a lens through which to view, understand and continuously improve how they work. Ajay Reddy, author of The Scrumban [R]Evolution: Getting the Most Out of Agile, Scrum, and Lean Kanban, explains what Scrumban is and how the framework can improve your projects.
Using Static Methods and 'Better Betterness' in C# 6
Sep 7, 2015
Concluding his series on new and improved features in C# 6, Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, discusses new syntax for static methods that will really de-clutter your code, along with improved overload resolution that reduces ambiguity by helping the compiler to make better method-overload choices.
Asynchronous Programming in Visual Basic 2015
Sep 2, 2015
In this chapter from Visual Basic 2015 Unleashed, you get an overview of both the Event-based Asynchronous Pattern and the Asynchronous Programming Model; then you learn about the Asynchronous Pattern, which is without a doubt one of the most important features in Visual Basic language. You will see how easily you can now write modern and responsive applications via asynchronous code.
Using Your Apple Watch to Stay Active
Sep 2, 2015
In this chapter from My Apple Watch, you learn how your Watch keeps track of your activity and helps you stay healthy.
Reactive Messaging Patterns with the Actor Model: Message Construction
Sep 1, 2015
In this chapter from Reactive Messaging Patterns with the Actor Model: Applications and Integration in Scala and Akka, Vaughn Vernon covers the kinds of Messages your actors can send and receive and how the intent of each operation determines the kind of Message you will use.
Await, Catch, and Finally in C# 6
Aug 31, 2015
Did you think await was allowed everywhere in earlier versions of C#? You're not alone. Now that the keyword is available in catch and finally clauses, Bill Wagner, author of Effective C#: 50 Specific Ways to Improve Your C#, Second Edition, shows how to use the advantages await offers in exception-processing scenarios.

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