Response to Readability 0

JP put out another post requesting comments on a Readable (Fluent) approach he’s currently using. I tried to leave a comment, but the system wouldn’t accept anything I used for the captcha… so here goes:

JP writes: [csharp] Run.the<wire_up_global_error_handling>() .then<initialize_the_container_for_the_user_interface>() .then<initialize_the_user_interface_registry>() .then<initialize_the_ui_images_registry>() .then<initialize_the_main_menus>() .execute(); [/csharp]

Here are my humble comments:

  • “Run” & “execute” seems redundant
  • The underscores are nice to look at but CamelCasing is also easy to read (for me), and easier to type … I suppose if you’re using your AutoHotKey ninja tricks like JP does, this would be minimum overhead.

So, for the full comparison in code:

[csharp] Start.by<wireUpGlobalErrorHandling>() .and<initializeTheContainerForTheUserInterface>() .and<initializeTheUserInterfaceRegistry>() .and<initializeTheUiImagesRegistry>() .finally<initializeTheMainMenus>(); [/csharp]

Hopefully JP gets this via a trackback.

.NET Reading List 0

On the nightstand

  • Essential ASP.NET with Examples in C# (Onion)
  • Framework Design Guidelines (Cwalina, Abrams)
  • .NET Gotchas (Subramaniam)
  • Programming .NET Components (Lowy)

On the bookshelf

  • Must Read
  • Short-lived
  • Kindling

On the Wish List

  • Business Objects in C#
  • Business Objects in C# 2005

« Previous Page