BT

Silverlight 4’s COM+ Automation Raises Security and Portability Concerns

by Abel Avram on  Feb 09, 2010 6

Silverlight 4 supports COM+ Automation when running as an Out-Of-Browser (OOB) application with elevated privileges. Microsoft indicated that this support is a result of enterprise customers requesting such a feature, offering as an example Office automation from Silverlight.

JUnit 4.7: Per-Test rules

by Geoffrey Wiseman on  Jul 22, 2009 2

JUnit 4.7, which has just reached Release Candidate stage includes a significant new feature: Rules. Rules are, in essence, another extension mechanism for JUnit, which can be used to add functionality to JUnit on a per-test basis. Most examples of custom runners in earlier versions of JUnit can be replaced by Rules, and new capabilities have already been added.

Presentation: Making Roles Explicit

by Abel Avram on  Apr 09, 2009 14

In this presentation recorded during QCon London 2008, Udi Dahan, The Software Simplist as he calls himself, explains why sometimes it is not enough to apply good OOP and patterns lessons. He introduces a new principle: make roles explicit.

Spolsky vs Uncle Bob

by Niclas Nilsson on  Feb 17, 2009 8

The last few weeks, a public dispute has been going on between Joel Spolsky and Robert C Martin (Uncle Bob) about Test-Driven Development and about the SOLID principles of OO design. Here is a summary and review of the match.

Is OOP Better for Structuring your Code?

by Sadek Drobi on  Nov 30, 2008 2

Programming languages that offer more power and flexibility have been lately gaining momentum. Johnatan Tang highlights, however, the flexibility vs. productivity tradeoff in terms of program structure. Whereas multi-dispatch languages provide more flexibility in arranging code, traditional object orientation makes organizing programs easier.

Is It Appropriate to Use Non-.NET Libraries in Your Day to Day Work?

by Jonathan Allen on  Nov 26, 2008 3

From the beginning, the .NET stack had first class support for unmanaged libraries. By using P/Invoke one can access most of the Win32 API and support for COM opens up developers to a wealth of applications and third-party libraries. But should .NET developers actually take advantage of this?

Article: Composite Oriented Programming with Qi4j

by Rickard Öberg on  Nov 20, 2008 13

The goal of modeling domain concepts through objects set by OOP has for a long time been handled in insufficient ways. In this article we introduce the concept of Composite Oriented Programming, and show how it avoids the issues with OOP and reignites the hope of being able to compose domain models with reusable pieces.

C# Feature Focus: Optional and Named Parameters, COM Interoperability

by Jonathan Allen on  Oct 27, 2008 4

Believe it or not, C# is going to have full support for optional and named parameters. This, and other features intended for COM support, will be included in C# 4. There was also a rumor about parameterized properties.

.NET 4 Feature Focus: Type Embedding and Equivalence

by Jonathan Allen on  Oct 27, 2008

In .NET 4 types will no longer be restricted to a single assembly. A single type, or part of a type, can be extracted from one assembly and placed into another. Why would you do this? Well first off all, to reduce the cost of including the Office Primary Interopt Assemblies from several megabytes to about 2KB by only including what you actually need.

New Open Source project provides Object Oriented data access

by Steven Robbins on  Jul 31, 2008 6

Kasper Sørensen has created a new open source project at eobjects.dk called MetaModel. The project is a common domain model, query engine, and optimizer for different types of datastores, such as relational databases and flat files. MetaModel is a Java library that provides a fluent, object-oriented interface for SQL compliant queries.

Should you really learn another language?

by Niclas Nilsson on  May 09, 2008 8

Blogger Gustavo Duarte cursed in church when he said that learning new programming languages is often a waste of time. He said that "In reality learning a new language is a gritty business in which most of the effort is spent on low-value tasks with poor return on time invested.". But not everyone agreed.

Debate about Testing and Recoverability: Object Oriented vs. Functional Programming Languages

by Sadek Drobi on  Mar 05, 2008 1

In his latest blog post, Michael Feathers argued that object oriented programming languages offer some built-in features that facilitate testing and are therefore more recovery friendly than functional languages. Proponents of functional languages expressed strong disagreement with this statement, which provoked a very passionate debate in the blog community.

Dependency Injection: New Ground or Solid Footing?

by Michael Bushe on  Jan 31, 2008 8

Dependency Injection seems like a shiny new tool in the toolbox. Andrew McVeigh tells us that DI shares a long history with architecture description languages (ADLs), simple yet sophisticated languages for component-based development through descriptive wiring. This article looks at the history of ADLs and sheds light on possible future directions of dependency injection.

Surprising criticism from parting Microsoft development lead

by Niclas Nilsson on  Nov 23, 2007 3

Jay Bazuzi, once Development Lead for the C# Editor, is leaving Microsoft, and he wrote some surprisingly harsh parting words for his friends before he left; things like “OO isn’t a fad” and that “It’s OK to use someone else’s code”.

Designing for flexibility and robustness: Asynchronous message model, OOP and Functional Programming

by Sadek Drobi on  Nov 15, 2007 4

According to Pragmatic Programmers it is preferable in OOP to avoid design based on returning values. Michael Feathers argues that it may also be better to use the asynchronous message model that might be instrumental for improving adaptability and robustness. This maps well to the Erlang model though opposing some of the principles of pure functional programming.

General Feedback
Bugs
Advertising
Editorial
InfoQ.com and all content copyright © 2006-2014 C4Media Inc. InfoQ.com hosted at Contegix, the best ISP we've ever worked with.
Privacy policy
BT