Conditional Statements And Comparison Order – Part 2

In the original posting, Conditional Statements And Comparison Order, I brought up a coding style used by some software engineers that struck me as odd. The practice of placing a constant value first in a conditional comparison. For example: if(“Some String” == aVariable) { // Do some stuff } … Listing 1 I never liked …

Read moreConditional Statements And Comparison Order – Part 2

Pet Peeve – My Language Doesn’t Need That Feature!

I apologize ahead of time for this soap box, but I have just read the nth forum posting with a response like this. I have been a fairly flexible software engineer for the majority of my career and this means that I use many different programming languages. What language do you need? If I do …

Read morePet Peeve – My Language Doesn’t Need That Feature!

Passing Parameters By Ref In C#… WHAT?

I am not a huge .NET fan, but I am mature enough to overcome my personal likes and dislikes in a professional setting and use whatever is needed. I recently ran into a situation programming in C# that I needed to create a method that took it’s parameters by reference. Why would you want to …

Read morePassing Parameters By Ref In C#… WHAT?

Coding Properties… “The Right Way”

In object oriented programming there is the concept of classes and/or objects. These are nice encapsulated bits of code that allow one to store data and/or functionality. One of the ways to add data to an object is to give it some properties. The “right way” of doing this usually involves adding some private data …

Read moreCoding Properties… “The Right Way”

3rd Party Apps Coming To An iPhone Near You!

iPhone SDK and Apple Finally Listening — Apple Computer’s Steve Jobs just announced that Apple would (finally!) provide an iPhone SDK to 3rd party developers in order to enable them to create native applications for the iPhone (and, incidentally, also for the iPod touch). While the actual SDK won’t ship until February 2008, this announcement …

Read more3rd Party Apps Coming To An iPhone Near You!

FREE Book – Best Practices For Lightweight Code Review

Peer code review is happening behind the scenes at your competitor’s shop. Are they wasting their time or gaining a competitive advantage? What type of review actually works? 10 practical essays from industry experts giving specific techniques for effective peer code review: Cisco: The largest-ever case study of peer code review Modern experiments: results of …

Read moreFREE Book – Best Practices For Lightweight Code Review

How Can I Modify The WordPress XML-RPC System?

One of the great things about WordPress plugin development is the abundance of open source content to learn from. Ever see a plugin in action and wonder, “how does that work?” or “How can I modify the WordPress XML-RPC system?” Well, all you have to do is download it and see! Most plugins are licensed …

Read moreHow Can I Modify The WordPress XML-RPC System?

Automating WordPress Installation For Development

I’ve been doing WordPress plugin development for a little while now. I finally got around to setting up a development environment for this purpose. I wanted to have all of the version 2 releases available for testing so I went to the WordPress site to see how many there were. Seventeen. Hmmm, this could take …

Read moreAutomating WordPress Installation For Development