6 ms·
On Abstraction [video]
- tosh 9y agoZach Tellman's book (http://elementsofclojure.com/ http://elementsofclojure.com/) is also mentioned in the talk and worth reading. I'd argue it is even worth reading if you don't use Clojure. There is a free example chapter on naming.
- agentultra 9y agoIn the bridge analogy he implies that software engineering cannot be more like civil engineering due to changing requirements. He stretches the common analogy of building bridges by suggesting it's normal to add a car-wash to the middle of the bridge before you've finished developing it. This is the norm in software development so there's no way we can engineer a software solution with the same rigour as other, proper, engineering disciplines! I do believe software engineering can be more like civil engineering and that there are organizations around the world which will license capital-P engineers in software. Just because requirements change does not mean we cannot write mathematically precise and robust models and definitions of systems. It also doesn't mean we cannot, a priori, build software that is as robust to operating conditions as a bridge. What we're doing as an industry when we run software in production without clearly known limits is simply taking risk. We could know what the tolerable limits are of a particular server are or precisely define the probability that a given change will reach quorum within a particular bound of time. However for a good number of projects we're comfortable accepting that our customers will discover those omissions for us and no one will get hurt. However if you're writing software to control robotics that help people walk or air-flight control software to safely land multi-million dollar jets you're probably going to take more precautions to design and test your software and create detailed, precise specifications. Update: To take the bridge analogy in a different direction: it's more common in the software industry to build two bridges: the one most people use but could fall down at any time or the bridge that costs a significant amount more but there will be a small team of developers waiting to help you get up if it does. update update: The point is you can write sound models of your abstractions and prove properties about them with sufficient tooling. Much the same way that a blueprint is an abstraction of the bridge that is built, we have ways of writing blueprints of software systems.
- wvenable 9y agoI think software engineering cannot be more like civil engineering because software is the result of the decision making process. In civil engineering, the blueprint is the result of the decision making process and the bulk of time and cost is building from that blueprint. You cannot compare the process of building a bridge to building software; you could compare the process of constructing the blueprint with building software. And I think the scale of complexity of most software far exceeds the complexity of most blueprints.
- miceeatnicerice 9y agoNo software is creatively fathomed out of nothing. Opinionated frameworks abound, pre-ordaining the little manouevres needed to wire them up properly, and solving familiar problems with established patterns. If these have all been decided beforehand, even if only by convention, then what are they but blueprints? What difference there is works in software's favour: there's a frothy top layer of most projects where developers can indulge their whims/hone their abilities and approaches. But it's not the whole.
- wvenable 9y agoPhysical items are built the same way; everything is built from smaller components many of which are farmed out to other providers. When you have a blueprint for a bridge you don't also plan the forging of the bolts. The parts you're talking about (in either software or bridges) are important but aren't where the design effort goes. Everything interesting in every project is in that frothy top layer.
- Jtsummers 9y agoThey aren't blueprints, they're foundations and components if we're going to stick to this analogy. Blueprints are specifications and design documents. Most software lacks these.
- wvenable 9y ago
- Upvoter33 9y agoThis is pretty fascinating, and, truth be told, I am very much not into Clojure or anything related (quite the opposite, really). I wish there was more thinking and reasoning about the basics of abstraction, naming, etc.
- leblancfg 9y agoThere wasn't a single line of Clojure in that hour-long talk, I don't get your point. Do consume the content before you comment on it.
- huntie 9y agoI thought this was a good talk, but it felt like an overview of chapter 2 of SICP. Not a bad thing, but if this interests you give SICP a read as well.
- prospero 9y agoIn the first ten minutes of the talk, the SICP definition (which is taken from the Hoare paper) is examined and discarded as too limited.
- contingencies 9y agohttps://en.wikipedia.org/wiki/Naming_and_Necessity https://en.wikipedia.org/wiki/Naming_and_Necessity seems to be an overview of the "fruits of 100 years of analytical philosophy" mentioned as inspirational for the naming chapter.
- bluetwo 9y agoI thought the part where he talked about over-engineering being a symptom of a lack of understanding of the assumptions was an interesting way to look at the problem.