Martin Fowler: “Will DSLs allow business people to write software rules without involving programmers?”

Martin Folwer: BusinessReadableDSL:

I do think that programming involves a particular mind-set, an ability to both give precise instructions to a machine and the ability to structure a large amount of such instructions to make a comprehensible program. That talent, and the time involved to understand and build a program, is why programming has resisted being disintermediated for so long. It’s also why many “non-programming” environments end up breeding their own class of programmers-in-fact.

That said, I do think that the greatest potential benefit of DSLs comes when business people participate directly in the writing of the DSL code. The sweet spot, however is in making DSLs business-readable rather than business-writeable. If business people are able to look at the DSL code and understand it, then we can build a deep and rich communication channel between software development and the underlying domain. Since this is the Yawning Crevasse of Doom in software, DSLs have great value if they can help address it.

With a business-readable DSL, programmers write the code but they show that code frequently to business people who can understand what it means. These customers can then make changes, maybe draft some code, but it’s the programmers who make it solid and do the debugging and testing.

This isn’t to say that there’s no benefit in a business-writable DSL. Indeed a couple of years ago some colleagues of mine built a system that included just that, and it was much appreciated by the business. It’s just that the effort in creating a decent editing environment, meaningful error messages, debugging and testing tools raises the cost significantly.

Related:

The Fishbowl: Dear XML Programmers…

defmacro: The Nature of Lisp

Tech layoffs soaring

The troubles in the economy come closer and closer to home. Via TechCrunch: “Tech Layoffs Surge Past 100,000” – but hey, at least you’re not a journalist or auto worker – because if you were – it would be your fault right? (without context – that sarcasm wouldn’t make any sense – I don’t mean that AT ALL – but some pundits seem to think that’s the God’s honest truth). The economy is hurting everyone across the board far and wide. In an age where information flows as freely as air – this crash wasn’t avoided and solutions are not forthcoming from our common conversation.

Then again, we can just blame it all on the invisible hand of the economy, right?

The Greatest “What’s So Funny ‘Bout Peace Love and Understanding” talk about community, tech and open source EVER (A repost and re-tweet)

I shared this previously, but it is worth a repost (many reposts), via Jay Rosen (as does title!). I’d say my entire career has been formed by this effect one way or another. And I am thankful.

When we think about the problems we face today, here is how the Internet provides a participatory platform to help. There’s nothing in here that refutes human nature – it just celebrates an important facet of it: When we gather around communities of interest we care deeply about – we look out for others within that community of interest. The Internet changes the stage for which we can connect across those passions.

YouTube: Cay Shirky on Love, Internet Style:

Python, Java, and Netbeans links for December 11th, 2008

Thanassis Tsiodras, Dr.-Ing.: The Knight’s Tour in Python. Discussion at Slashdot.

Ted Leung: Python in Netbeans

Thinlet in Netbeans: thinnb

NetBeans Wiki: Getting Started With Python in the NetBeans IDE 6.5

NetBeans Python IDE download

ars technica: Getting a grip on Python: six ways to learn online

Artima: Python and the Programmer: A Conversation with Bruce Eckel, Part I

Elliotte Rusty Harold: Java is Dead! Long Live Python!

/var/log/mind: Java : the perpetually undead language

Bonus link 1 – start it simple: Bokardo: What if Gall’s Law were true?

Bonus link 2 – fight your fear: iBanjo: Programmer Insecurity

Bonus link 3 – Code less: willCode4Beer: Code Reduction or Spartan Programming

Retrying Netbeans

While I live in Emacs, Eclipse won me over for Java development a long time ago. I’ve been keeping my eye on Netbeans for a while. Each major release I’ve given a try by checking out a current project from SVN and attempting some basic development tasks. Usually I’d hit a snag that would discourage me just enough to not get over the hump. Netbeans 6.5 has been different so far, so I’m going to give it an honest try now.

Some notes:

1. Choosing View | Show Versioning Labels makes it easier to cope with having multiple versions (branches) of the same project open.

2. In OSX, Netbeans, like many non-CLI applications, does not respect terminal set environment variables (.bash_profile, etc). This handly Python script updates your “~/.MacOSX/environment.plist” file from your environment variables. Set up a cron job and you’re done.

3. This handy guide to Mac keyboard shortcuts is a keeper.

The Visual GC Module looks like something to try out.

Two on project process

Aaron Held, coworker at CIM, “A House With No Front Door Keeps you off the streets”:

Scrum and Agile are desinged to solve this by making it a team effort. So in Scrum it is not the “developers” that build this Dr Seuss house, but the team. I think this is why many people fear Scrum. There is no “justifiable failure”.

CIO.com: When Agile Projects Go Bad:

Agile development also depends upon the engagement of the sponsors or customers in the process. That’s a difficult transition for some, according to Cockburn. “It looked like for a while that we were pushing all the power down to the programmers, but in fact we were evening out the power and responsibilities. Everyone gets to feel awkward about that.” In some organizations, he says, programmers ignored their bosses and built whatever they wanted.

At the other extreme, programmers expected the bosses or managers or sponsors to tell them accurately what the priorities were–not something the managers were used to. “So you get a breakdown on both sides,” says Cockburn. “The sponsors aren’t used to being asked to show up and care about the project, even [about] the requirements. … They say ‘No, that’s what we hired you to do.'” The programmers respond, ‘We don’t know; we need you to help us figure it out,'” he adds. And the sponsors say, ‘We don’t have time. Work it out yourselves.'”

Scrum – when practiced as intended, makes it hard to for CYA measures in development, planning, or management. Aaron has a point. That’s scary to some I would think.