News (1)

Interrupting Java threads

Multithreading presents a set of new challenges to the programmer that can lead to unexpected behaviour. In this article we address one of those challenges: how to interrupt a running thread. Read more »

Features (191)

Employ the Iterator class to streamline filtering

Iterator objects don't store objects the way arrays and linked lists do. See how using a filtering Iterator class can help you avoid wasted memory and decreased performance. Read more »

Simplify .NET class communication with delegates

What are delegates and what are they good for? Lamont Adams explains how to use them in your .NET apps and has some sample code, to boot. Read more »

Specify DataSet in XML

This article describes a mechanism that uses a Singleton Factory Class for creating DataSet objects that represent sets of views, locating the base configuration nodes for each view via XPath query. Read more »

Getting .NET class info with Reflection

In this article, Builder.com walks you through two example programsââ,¬"a run-time class information reporter and a convoluted Hello World applicationââ,¬"that illustrate late-bound method invocation. Read more »

Get the most out of Java's class loaders

Class loaders are one of Java's most powerful features. However, developers often forget about the class-loading component even though it's essential when you develop anything more complex than a "Hello, world" application. Read more »

Creating class diagrams with UML

In our second part in our series on UML we explore how elements of a class diagram are translated to Java using UML. Read more »

Less painful getters and setters using properties in Python

It's a popular design guideline to require class attributes to be managed by methods, usually referred to as getter and setter methods. These methods increase the safety of your attributes, but come at a cost of simplicity and verbosity. With Python properties, you can have it both ways. Read more »

Coding standards 101

Without coding standards, your team's code will slide into chaos. But where should the standards come from, how extensive should they be, and who should enforce them? Read more »

Validate your data in C++

Find out how to use an alternative to set functions when validating data. This article explains the advantages of this technique and will walk you through writing a check_valid class. Read more »

Proposed Java generics specification could make coding safer and more efficient

Take a look at some of the proposed changes in J2SE 1.5 (Tiger release) that is due out late 2003. Read more »

Blog (1)

No, you can't have private attributes in Python

Nick Gibson [blogs:byteclub] -- Is the lack of privacy a real shortcoming of the language, or is our judgment clouded by the old conventions of C++ and Java? Why do we need private variables anyway -- at what point does defensive programming become paranoia? Read more »

Log in


Sign up | Forgot your password?

  • Staff A first look at Windows 7 beta

    In this week's Roundup we show you a preview of Windows 7 beta, cover news from the annual Macworld and more. Read more »

    -- posted by Staff

  • Staff Opera's new SDK: Better browsing on the Wii?

    Opera has thrown a little more love at device developers by announcing an updated version of its software development kit on Wednesday at CES. Read more »

    -- posted by Staff

  • Staff 2008: Time to call stumps

    It's another year down but some things never change. That was shown this week as Internet Explorer remained under fire from yet another zero-day exploit. In other news, we set a hard drive on fire and Apple cans its involvement with MacWorld. Read more »

    -- posted by Staff

What's on?