RSS Name:

Utterances on Software Engineering

Factor:
4.3

View All articles


Recently posted:


Cape Verde 2010 (view original)

[Post Time: 2010-02-21 12:24:11]
sorry, cache of this article doesn't exist.

view original    back to top


The type '<class name>' is made of several partial classes in the same file (view original)

[Post Time: 2009-08-18 02:47:31]

Practical Software Masochism? has hit a new bottom:

http://msdn.microsoft.com/en-us/library/bb129230.aspx

Some errors are not likely to happen. I mean, why on earth would someone try to create multiple partial class declarations in the same file?

http://code.msdn.microsoft.com/Release/ProjectReleases.aspx?ProjectName=sourceanalysis

SA1201: ElementsMustAppearInTheCorrectOrder

When implementing an interface, it is sometimes desirable to group all members of the interface next to one another. This will sometimes require violating this rule, if the interface contains elements of different types. This problem can be solved through the use of partial classes.

1. Add the partial attribute to the class, if the class is not already partial.

2. Add a second partial class with the same name. It is possible to place this in the same file, just below the original class, or within a second file.

3. Move the interface inheritance and all members of the interface implementation to the second part of the class.

Well, I guess I have to use multiple files then. But I?m not sure how that could possibly

?increase the readability and maintainability of the file and encourage code reuse.?

view original    back to top


Want to be a manager in the software business? (view original)

[Post Time: 2009-08-10 09:53:15]

Look at this video with Scott Hanselman and Chris Sells.

Keep in mind also that this is about Microsoft and not some company where software isn?t the heart and soul of most things they do.

Then, think again.

view original    back to top


A final utterance on Software Engineering? (view original)

[Post Time: 2009-07-20 12:11:08]

If I ever want the title of this blog to mean something, I have to link to this (via Jeff Atwood and Ward Bell).

Now, for me, although I admire Tom DeMarco for his once clear vision about running software projects, Software Engineering was never much about project management, but more about the behavior and methods that distinguish a well-trained, proudly professional team of for-profit software developers from a cohort of hobbyists or programmers-by-chance.

This is where I see the danger of Tom DeMarco?s essay ? it may be used by the cheaters to justify hasty methodologies and it is a slap in the face of Clean Code and similar schools of thought.

It?s a fairly audacious thing to say

The more important goal is transformation, creating software that changes the world or that transforms a company or how it does business.

right after forsaking any method of confirming it.

I wonder how the developers of ?Notepad? live with that.

view original    back to top


Virtually There (view original)

[Post Time: 2009-07-08 07:46:28]

The presentations of the Norwegian Developers Conference are online.

No, they?re not all in Norwegian.

In fact, the magnificent line-up of speakers rivals that of other conferences. Waiting for TechEd content to become freely available may be less reasonable.

view original    back to top


Windows 7 and what it is not (view original)

[Post Time: 2009-06-27 08:36:16]

Now that we have prices, it is clear that RC1 is probably the thing and not a lot if anything is going to change for RTM.

So, I guess I have to live with the small and big nuisances, everybody else does not seem to have.

Nobody seems to have an ASUS P5B-E and encounter the extremely loud audio click during startup and ?shutdown? or notice that it doesn?t appear to be able to completely shutdown the motherboard and power supply.

There is all the fuzz about how it is faster and uses less memory than its predecessor, that more apps and devices are working and that XP Mode and RAIL are the greatest things since sliced bread.

Really? The greatest thing is that the next Windows version can now run a legacy app in an entire virtual machine on the old platform? And ?integration? is something like a shortcut that opens a window over a Remote Desktop? C?mon!

I really thought that application virtualization was aimed at a much, much tighter integration and that Microsoft actually had the smarts to pull this off within its own new Windows operating system, instead of coming up with a duct-taped Virtual PC.

Is the new system architecture really both that different and at the same time so non-extensible that an application cannot be more seamlessly virtualized? And do I really have to go and manage the XP Mode VPC like another machine, that is Microsoft Updates, Firewall, Virus Scan?

And what do I get for this? Just a shortcut in the start menu. And I had so high hopes for the Compatibility property page.

Well, for one thing, it is great that I can run 32bit-only applications for out-of-support USB devices on a 64-bit host. But there is no automatic startup, no automatic attach of USB devices and no real integration, with themes, with common registry settings, notifications or seamless access to the host file system, e.g. the user documents folder.

Why don?t I get what ?Windows-on-Windows? really stands for? And all those nice ?shims?? How?s that gonna integrate?

And for us poor chaps in the EU there isn?t even an upgrade path. As far as I know, Virtual PC doesn?t provide ?Convert PC to virtual machine? in the same way that VMware does.

Windows 7 may be the best Windows Microsoft has made to date. But it is a far cry from the perfection the hype suggests.

It simply works better than Windows Vista because Microsoft and more of the other software and hardware vendors had sufficient time to get their act together for the adaption (or workaround) of the security features, multi-core machines, and even 64-bit.

But the stuff that is really broken in Windows Vista and Server 2008, say the out-of-their-freaking-mind ?Event Viewer?, that didn?t change for ?7? in any way.

view original    back to top


OracleClient has left the building (view original)

[Post Time: 2009-06-20 12:56:46]

For someone simple like me, Microsoft?s announcement regarding the sunset of System.Data.OracleClient is sobering news.

While it seems to fit into the company?s recent activities regarding monopoly abuse claims, it is a harsh turn against loyal users for a couple of reasons:

  • A deprecation means, from now on, I?m doing the wrong thing. Maybe I was doing the wrong thing from the start.
  • AFAIK it is the first time, Microsoft abandons an entire chunk of the System.* namespace, where, as far as I were to believe, the most stable interfaces had been homed. A deprecated interface stack for a third-party software is only a broken window for more things to be cut in the future.
  • I?m left with little if any choice regarding stability, quality, consistency, compliance and completeness. Due to the insufficient weight of other vendors, most people will be pushed to Oracle's ADO.NET implementation, the creators of which may or may not choose to support any or all guidelines, interfaces and new services Microsoft conceives in the ADO.NET space, e.g. LINQ or ADO.NET Entities, or may choose to abandon all .NET activities in favor of Java at any time.
  • Due to the countless intricacies, idiosyncrasies and outright wrong individual choices within ODP.NET, not all code can be simply switched over, even (or in particular) when Writing Provider Independent Code in ADO.NET. Since ODP.NET is more tightly integrated with the entire Oracle database stack, differences between database and client versions, patch sets and critical patch updates will become more apparent to the application and more system configurations need to be considered for testing, even if there is an additional layer in between, such as an ORM.
  • ODP.NET or any other third-party provider create an additional deployment requirement, which may conflict with other applications on the same machine in the Global Assembly Cache, in registry settings or arcane areas such as environment variables, and needs more testing and considerations for compatibility.
  • New levels of service and support have to be negotiated for development and runtime, which very likely will be associated with a cost increase, due to plain fees or hours spent on forums and hotlines.
  • The decision affects up-level components, such as ORMs or the Oracle Data Processing Extension for Microsoft SQL Server Reporting Services, for which an extensive number of dependent components has been created that need to be reviewed for compatibility. In the case of SSRS, this decision may affect countless report templates sitting in every imaginable file or content management system.
  • Obviously, I?m exaggerating.

    The pragmatic developer is barely holding it?s laughing that I was using Microsoft?s API in the first place. Everything will be manageable and will Just Work. The implementation from Oracle will be alright and more than sufficient for the insanely simple stuff that was possible with the anyway limited OracleClient, so support will not be needed.

    And I should be so happy I have more choices now.

    view original    back to top


    Got shims? (view original)

    [Post Time: 2009-05-14 01:26:27]

    Get out of that metal shop and head over to download.microsoft.com!

    Download details: Managing Shims in an Enterprise

    Another take on something I?d like to call ?virtualization? for the purpose of application compatibility. Together with Windows XP Mode, it looks like there is some tough tackling of the issue by the folks in Redmond.

    Somehow it must be possible to bring this all together seamlessly.

    view original    back to top


    Directory Object Picker (view original)

    [Post Time: 2009-05-07 10:15:33]

    Note to self:

    http://search.live.com/results.aspx?q=%22Directory+Object+Picker%22

    Represents the "Select User" dialog shown when "Browse" is clicked to specify users for services, COM+ applications or access control lists. It offers all functionality to let the user browse Active Directory for certain objects.

    There is already a wrapper on CodePlex (adui), see search results.

    view original    back to top


    Slaying the Virtual Memory Monster (If help for a problem someone has, juice it I should) (view original)

    [Post Time: 2009-04-24 08:48:16]

    Just after the OutOfMemory monster raised it's head, was slayed and is now believed to have vanished in the test lab, Tess posted a link to a great graphical address space analysis tool that can actually visualize the cut that mscomctl.ocx and it's followers tear through my virtual memory blanket.

    However, I wish there would be a better and standard way to integrate such great graphical tools with the debugger. A single picture says more than thousand lines of obscure command line responses.

    view original    back to top



    "Utterances on Software Engineering"Hot articles:


    Related Recommended Articles:




    Declaration: This information cames from "Utterances on Software Engineering", copyrights belong to the original author. rss88.com