DotNetKick.com is an open-source project. Please report any bugs and let us know your great suggestions. Currently running svn revision 620 (rss)

Kick Spy!, Kick Zeitgeist and Kick Widgets

paul_houle Subscribe to this feed
paul_houle
Profile Kicked Submitted Comments Tags Friends Kicked By Friends Submitted By Friends

Stories kicked by paul_houle
2
kicks
submitted by paul_houle 4 months ago

gen5.info — Too many programmers catch exceptions too often, causing both mainline and error handling logic to be complex and error-prone. Although C#, PHP and other languages don't make the mistake that Java made with Checked Exceptions, Java trained a generation of programmers in bad habits. A strategy that (i) uses finally as the first resort for containing corrupting and maintaining invariants, (ii) uses catch locally when the exceptions thrown in an area are completely understood, and (iii) surrounds independent units of work with try-catch blocks is an effective basis for using exceptions that can be built upon to develop an exception handling policy for a particular application. read more...

Add a comment add a comment | category: | Views: 30
tags: | tag it

1
kicks
submitted by paul_houle 4 months, 9 days ago

gen5.info — The Muliton Pattern is an initialization pattern in the sense defined in the notorious “Design Patterns” Book. Mulitons are like Singletons in that they use static methods to control access to a private constructor, but instead of maintaining a single copy of an object in an address space, a Multiton maintains a mapping from key values to objects. A number of uses are emerging for mulitons: (i) Multitons are useful when we want to use something like the Singleton pattern, but support multiple named instances of a system in an an address space and (ii) Multitons can be a useful representation of an object in a persistent store, such as a relational database. read more...

Add a comment add a comment | category: | Views: 1
tags: | tag it

3
kicks
submitted by paul_houle 4 months, 13 days ago

gen5.info — When people start developing RIA’s in environments such as Silverlight they often write asynchronous communication callbacks in an unstructured manner, putting them wherever is convenient — often in a instance members of user interface components. Several problems almost invariably occur as applications become more complex that force the development of an architecture that decouples communication event handlers from the user interface: a straightforward answer is to create a model layer that’s responsible for notifying interested user interface components about data updates. read more...

Add a comment add a comment | category: | Views: 27
tags: | tag it

1
kicks
submitted by paul_houle 4 months, 17 days ago

gen5.info — Today's popular languages implement Dictionaries: a structure that can efficiently look up values associated with a set of keys. On close examination, we find that different implementations provide programmers different options for missing keys: something that can make a big difference for the reliability and maintainability of applications. This article contrasts the implementation of Dictionaries in C#, PHP, Python and Java and provides implementations of Python-style semantics as a PHP function and C# extension method read more...

Add a comment add a comment | category: | Views: 4
tags: | tag it

28
kicks
published 4 months, 26 days ago, submitted by paul_houle 4 months, 26 days ago

gen5.info — Extension methods are the most controversial feature that Microsoft has introduced in C# 3.0. Introduced to support the LINQ query framework, extension methods make it possible to define new methods for existing classes. Although extension methods can greatly simplify code that uses them, many are concerned that they could transform C# into something that programmers find unrecognizable, or that C#’s namespace mechanisms are inadequate for managing large systems that use extension methods. Adoption of the LINQ framework, however, means that extension methods are here to stay, and that .net programmers need to understand how to use them effectively, and, in particular, how extension methods are different from regular methods. read more...

Add a comment add a comment | category: | Views: 260
tags: | tag it

2
kicks
submitted by paul_houle 5 months, 5 days ago

gen5.info — This article presents a simple stored procedure which makes it possible to delete a stored procedure in SQL Server without knowing it's name, an important tool when automating the maintainance of database schemas in Microsoft SQL Server read more...

Add a comment add a comment | category: | Views: 7
tags: , | tag it

1
kicks
submitted by paul_houle 5 months, 9 days ago

gen5.info — Silverlight 2 Beta 2 introduces a major change in the concurrency model for asynchronous communication requests. Unlike SL2B1, where asynchronous requests executed on the user interface thread, SL2B2 launches asynchronous callbacks on multiple threads. Although this model offers better performance and responsiveness, it requires Silverlight programmers to explicitly transfer execution to the UI thread before accessing UI objects: most SL2B1 applications will need to be reworked. This article introduces a simple static class, UIThread, which makes it easy to schedule execution in the UI Thread. read more...

Add a comment add a comment | category: | Views: 12
tags: | tag it

27
kicks
published 5 months, 16 days ago, submitted by paul_houle 5 months, 18 days ago

gen5.info — C# offers two casting operators: the prefix-cast and the as-cast. Although the two operators compile to different op-codes in the CLR, the practical difference between them is in how they handle failed casts. Prefix-cast throws an exception on cast failure, while as-cast returns null. It’s easier to implement correct error handling when you use prefix cast, because it doesn’t require manual checks for null values that can cause problems in distant parts of your program. Prefix-cast should be the default cast operator on your fingertips, that you use for everyday situations — reserve as-cast for special cases where performance matters. read more...

Add a comment 3 comments | category: | Views: 478
tags: | tag it

3
kicks
submitted by paul_houle 5 months, 28 days ago

gen5.info — This article introduces a simple stored procedure that makes it easy to drop the primary key index on a table without knowing the name of the key. read more...

Add a comment add a comment | category: | Views: 7
tags: | tag it

1
kicks
submitted by paul_houle 5 months, 28 days ago

sommarskog.se — Nice article about Dynamic SQL for Microsoft's SQL Server. How to do it, why you should do it, and why you shouldn't. read more...

Add a comment 1 comment | category: | Views: 11
tags: | tag it

3
kicks
submitted by paul_houle 6 months, 2 days ago

gen5.info — You don't need to think much about context in synchronous programming because the pre-call and post-call parts of a method share a local scope. That's not true in asynchronous programming, where you need to make conscious decisions of where to keep context information. This article describes three effective strategies for keeping track of state. read more...

Add a comment add a comment | category: | Views: 17
tags: | tag it

38
kicks
published 7 months, 9 days ago, submitted by RipRyness 7 months, 9 days ago

noupe.com — A good summary of jQuery resources read more...

Add a comment add a comment | category: | Views: 81
tags: , | tag it

2
kicks
submitted by paul_houle 7 months, 13 days ago

gen5.info — Sometimes a function that does an asynchronous action can return without doing asynchronous action: for instance, if an error occurs or it retrieves a value from a cache. If it calls the callback directly, this has a major impact on the flow of execution in the program and can cause subtle bugs to appear. By always initiating an asynchronous callback, you can avoid this problem. read more...

Add a comment add a comment | category: | Views: 0
tags: | tag it

33
kicks
published 7 months, 14 days ago, submitted by aaronlerch 7 months, 14 days ago

aaronlerch.com — Organizations with an outdated organizational structure have got to wake up and change before it’s too late. They will either lose or ruin their people. Either way, the company loses because people are the company. read more...

Add a comment add a comment | category: | Views: 4
| tag it

2
kicks
submitted by paul_houle 7 months, 16 days ago

gen5.info — This article presents a simple C# library that can be used to return both exceptions and arbitrary return types, making it possible to compose asynchronous actions out of smaller asynchronous actions read more...

Add a comment add a comment | category: | Views: 21
tags: | tag it

24
kicks
published 7 months, 17 days ago, submitted by Lord 7 months, 17 days ago

tirania.org — "Last year we created a framework to run Silverlight applications as native applications. At the time we called those applications moonlight desklets. The desklets are Silverlight applications that run in standalone mode, with full access to the entire Mono API stack (as opposed to be limited to the .NET subset for the web) and that can optionally render without frames." read more...

Add a comment 1 comment | category: | Views: 27
tags: , , | tag it

 

Sponsored Link: www.carlist.ie

Search:

Ads via The Lounge