7 ms·
The plumber programmer
- dexen 15y agoTangentially related: the plumber program from UNIX R11^W^W Plan 9 makes programs work together by piping text around. http://doc.cat-v.org/plan_9/4th_edition/papers/plumb http://doc.cat-v.org/plan_9/4th_edition/papers/plumb Again, there is more value in the connections than in the individual programs themselves.
- AndrewDucker 15y agoDefinitely. An awful lot of programming is "Take data from place A (in format 1) and place B (in format 2) do magic thing J to it and put it in location Z (in format 3)". Process J is usually the simple bit - the hard bit is taking it from A and B, converting (1) and (2) so that they can be used together, dealing with all the different eventualities that can cause things to go wrong when fetching the data, parsing the data into (3) and then writing to Z (while dealing with all the things that can go wrong when writing to it).
- matwood 15y agoSums up my day job exactly with just many many more places to take data from.
- praptak 15y ago"Yeah, meanwhile Z is temporarily unavailable and by the time it's available again, the data from A and B is no longer consistent, so you have to re-query again, ouch, your pointers to last read data on A are no longer valid anymore and yeah, we forgot to tell you this little funny thing about B... <the dramatic music in the background pauses here>" - this is what you should be thinking when looking at a small arrow drawn on a whiteboard.
- patio11 15y agoIn my experience in Big Freaking Enterprise development, the issue is closer to "this little funny thing about B" x 100, plus "group Q doesn't want this project to succeed", "you have to be compliant with Regulation F which means, most relevantly, that all good technical solutions to this problem are legally forbidden", "your success with this will threaten the budget of the Z department -- be prepared for a knife fight with the VP", "group P will veto the project if it is delivered with property G and group R will veto the project if it is delivered without property G (bonus points awarded for values of P equal to R)" and "by the way, this doesn't advance an actual business goal." The technical details are usually pretty boring. Data goes in, data comes out, if it weren't for all the bloody people involved it would be very civilized.
- cageface 15y agoI spent over two years trying to get the contents of a single dropbox on one form changed. Coding time, about 10 minutes. I guess if you want to look on the bright side you can think about how much political weight a single HTML element can carry.
- jerf 15y agoI don't think this makes sense. If it were true, that would imply that it would be easier to rewrite J to work on format 1, which is the flip side of claiming the conversion is the more difficult part. And if the arrows are more expensive than the components they are pointing to, this remains true for all such arrows, so adding more arrows means it's even cheaper to rewrite J n times than to write n converters; you can't make up the loss in volume. This sounds superficially appealing but I'm not sure there's any actual wisdom here.
- AndrewDucker 15y agoYou're assuming that I have any ownership of J, which I don't - it was written to work in a particular pattern that the CIO favoured five years ago, before he left to work for a consulting firm. Also, A is a 30-year old legacy system sitting on a mainframe, B is an Oracle database inherited when we bought over another company, and Z is a third-party who we're shipping data to for their just-in-time procurement system.
- jerf 15y ago"You're assuming that I have any ownership of J, which I don't" No, I'm not. I'm simply taking seriously the claim that the arrows are more expensive than the components. If that's true, then it's cheaper to rewrite J, period, by definition of the claim at hand. If it's not cheaper to rewrite J, then the arrows are cheaper than the core components and the way in which they are more expensive is only in an artificial and useless measurement of "cost" that only holds up as long as you don't take it seriously... what's the use of it, then?
- AndrewDucker 15y agoAaah, gotcha. The problem there is that there are already several arrows pointing to J. So if I change J then I have to update all of them too. And then have them regression tested. (It's usually the cost of regression testing that causes the most crustiness.)
- timclark 15y agoI always shudder when people say it is just a simple integration project. The arrows are the hardest part.
- hezekiah 15y agoTHE Tim Clark of Android fame?
- uniclaude 15y agoVery true. Funny anecdote, last time I heard about "plumber programmers", the meaning was very different and actually quite pejorative. The person I was talking to was referring to the type of programmers that can only write applications by assembling third party components such as ruby gems while lacking the algorithmic skills to solve problems that haven't been solved before.
- rick888 15y agoI've talked about this too. Sadly, this is what programming has started to become: slapping third-party components together and calling yourself a developer. It's one of the reasons I tend to stay away from things like Django and RoR. It makes it easy to develop applications quickly, but I many times have to create hacks to make any changes that don't fit into the one-size fits all libraries.
- nadam 15y agoMost of the enterprise developers' job is connecting components together. I hate it. I hate modifying existing systems and hate connecting them together. It is usually hard, but the kind of hard which is not really fulfilling for me. It is about fighting with accidental complexity created by other people. It is not why I started programming when I was 12 years old. But this is what needs to be done: it is rational from business perspective. Of course at least in my side project I create something new from scratch (a component-based UI system painted on HTML5 Canvas).
- chokma 15y agoTo continue the plumber metaphor: some systems are like black boxes with a lot of pipes sticking out - and they will route their raw sewage into your freshwater connector depending on barely documented and sometimes non-deterministic configuration parameters. The API of 10 year old closed source enterprise systems that have grown over time by buying this solution provider and that and where documented methods may work or not... shudders, no, that's not plumbing at all, that is more like playing Minecraft in a toxic waste dump.
- js2 15y agoI saw this somewhere the other day: tedious work is a necessary part of good software engineering.
- fleitz 15y agoIt's not that difficult when you work with the right tools. Most of these problems boil down to a couple operations. map reduce filter Most of the data comes from a couple places: Some kind of SQL system Text files Webservices (of the JSON/XML/HTML variety) Most of the data goes back to the same places that it came from: Some kind of SQL system Text files Webservices (of the JSON/XML/HTML variety) All you need to make are four types: inputs: () -> Some<T> outputs: Seq<T> -> () pipes: Seq<T> -> Seq<Q> tees: Seq<T> -> () -> Seq<T> -> Seq<Q> (once partially applied the tee becomes a pipe) Using the usual sequence operators pretty much anything is possible with those inputs, outputs, and transforms (pipes) and you avoid a lot of overhead making data pipelines.
- j_baker 15y agoI think it depends on context. A well-architected application (they do exist) where a lot of work was put into designing the arrows and boxes will suffer from this effect less so than one where the arrows and boxes were added on haphazardly. In fact, I would argue that spending too much time worrying about the arrows is a sign that something's likely wrong with your architecture. Of course, that's not to say that architecture can cure this altogether. In particular, enterprise software tends to focus on integration a lot, and mostly because enterprises have a lot of boxes that need to be put together. Startups will tend to do a lot less of this, but it's still important.
- mullethunter 15y agoFor the past 8 years I've been designing .NET enterprise integration solutions and I love it. I love the problem solving that is required and working on getting square pages to fit seamlessly into round holes. Recently I switched companies and was working with jQuery and PHP doing front end things like UI validation and was losing my mind. It's not the pencil and paper type of challenge as integration design.
- zheng 15y agoWow, could you elaborate more? This sounds like a very interesting viewpoint, and one that I've not seen before.
- hackinthebochs 15y agoI'm with you on this one, we're a rare breed. I think people underestimate how much good software engineering can go into these "boring" enterprise projects. Of course, there are a lot of shops where programming skill is lacking, so you're actively discouraged from doing anything the least bit interesting. But if you can find a gig that welcomes skill and creativity, you can end up having a lot of fun doing these types of projects. For me, an interesting project is not the topic but the technical challenges behind it. Your typical web front end stuff just doesn't have any appeal. It's just programming gruntwork.
- jonmc12 15y agoReminded me of this section from the Rspec book - http://cl.ly/2x231s0N2v3C2P1S1z04 http://cl.ly/2x231s0N2v3C2P1S1z04, http://cl.ly/2R1Z1D450Y1n1n3L170b http://cl.ly/2R1Z1D450Y1n1n3L170b - which applies to testing object-oriented code by mocking objects and putting assertions on the interaction between objects (vs vis versa). "Object-oriented systems are all about interfaces and interactions. An object’s internal state is an implementation detail and not part of its observable behavior. As such, it is more subject to change than the object’s interface. We can therefore keep specs more flexible and less brittle by avoiding reference to the internal state of an object." This 'Plumber Programmer" article is meant to be more general than object-oriented code, but I think the analogy applies. Building systems is about interaction and communication - system state is just an illusion that gives us a first approximation of how things talk to one another.
- rachelbythebay 15y agoI've used the "plumber" term to refer to my own deeds, if only because they don't resemble the shiny and showy stuff which is out there. I don't make games, and I don't generate graphics. My stuff tends to be the glue which makes other things happen in the first place. I'm far more likely to write the server underneath that huge multiplayer game and deal with all of the systems stuff, in other words. The actual gameplay, graphics, sound, and user interface? That's someone else's realm.
- run4yourlives 15y agoI was hoping this was going to be about programmers that moonlight as plumbers on the side.
- hezekiah 15y agoAnd that's why my contracting rate on boring shit is so much higher than the average google coder.
- gurtwo 15y agoAt the telecom company I work for, this is called 'System Integration'. It takes most of our time.
- anamax 15y agoSeymour Cray said that he was an overpaid plumber....