Pragmasoft is a team of highly experienced developers, testers and UX designers. They are passionate about bringing innovation and advancement right to your doorsteps. This is their profession and they simply love driving Agility. They are proud to utilize Agile and accelerate their customers level of innovation. Their mission is to translate the needs of customers to adaptive technology and software solutions by providing lean software development.| By Douglas Crockford's Department of Style | Article Rating: |
|
| December 12, 2008 06:15 PM EST | Reads: |
748 |
Certain elements in the Java and JavaScript communities have been buzzing about Tennent's Correspondence Principle. I have heard it described as the ability to replace an expression with a function, so that
expression
means the same thing as
(function () { returnexpression; })()
There are some things that can't be enclosed that way, such as return statements and break statements, which the advocates of Tennent's Correspondence Principle (or TCP) claim is a symptom of a bad smell. Yow! Language design is already difficult enough without having to cope with olfactory hallucinations. So to better understand the problem, I bought a copy of Tennent's 1981 book, Principles of Programming Languages.
It turns out that the Correspondence Principle is descriptive, not prescriptive. He uses it to analyze the (by now forgotten) Pascal programming language, showing a correspondence between variable definitions and procedure parameters. Tennent does not identify the lack of correspondence of return statements as a problem.
He does seem to have some specific notions of good programming language design, however. For example,
Many existing languages only managed to combine countless "features" into a jumble that is neither easy to implement nor a pleasure to use.
It is amazing how little has changed since 1981. He also has warnings about side effecting features such as getters and setters:
Side effects are often confusing to program readers because they are unexpected: the familiar expressions of conventional arithmetic and algebra do not have side effects.
Read the original blog entry...
Published December 12, 2008 Reads 748
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
Pragmasoft is a team of highly experienced developers, testers and UX designers. They are passionate about bringing innovation and advancement right to your doorsteps. This is their profession and they simply love driving Agility. They are proud to utilize Agile and accelerate their customers level of innovation. Their mission is to translate the needs of customers to adaptive technology and software solutions by providing lean software development.Apr. 5, 2019 04:15 AM EDT |
By Liz McMillan Atlantix Global Systems, a division of CXtec Inc., is one of the largest resellers of enterprise-class, secondary market equipment in the world. Atlantix Global provides a specialized, responsible method of streamlining the ITAD process that saves time, reduces expenses and ensures a secure solution, from start to finish. Atlantix Global has achieved certifications for ISO 14001:2015 and ISO 9001:2015 for asset recovery, OHSAS 18001:2007 for safety and R2:7/2013 for electronics recycling. Atlant...Apr. 5, 2019 02:00 AM EDT |
By Elizabeth White DSR is a supplier of project management, consultancy services and IT solutions that increase effectiveness of a company's operations in the production sector. The company combines in-depth knowledge of international companies with expert knowledge utilising IT tools that support manufacturing and distribution processes. DSR ensures optimization and integration of internal processes which is necessary for companies to grow rapidly. The rapid growth is possible thanks, to specialized services an...Apr. 5, 2019 02:00 AM EDT |
By Elizabeth White Apr. 5, 2019 01:00 AM EDT |
By Zakia Bouachraoui Apr. 4, 2019 07:45 PM EDT |
By Elizabeth White Apr. 4, 2019 03:00 PM EDT |
By Liz McMillan Apr. 4, 2019 02:00 PM EDT |
By Pat Romanski Apr. 4, 2019 01:30 PM EDT |
By Zakia Bouachraoui Apr. 4, 2019 09:45 AM EDT |
By Yeshim Deniz Apr. 3, 2019 08:00 PM EDT |


Atlantix Global Systems, a division of CXtec Inc., is one of the largest resellers of enterprise-class, secondary market equipment in the world. Atlantix Global provides a specialized, responsible method of streamlining the ITAD process that saves time, reduces expenses and ensures a secure solution, from start to finish. Atlantix Global has achieved certifications for ISO 14001:2015 and ISO 9001:2015 for asset recovery, OHSAS 18001:2007 for safety and R2:7/2013 for electronics recycling. Atlant...
DSR is a supplier of project management, consultancy services and IT solutions that increase effectiveness of a company's operations in the production sector. The company combines in-depth knowledge of international companies with expert knowledge utilising IT tools that support manufacturing and distribution processes. DSR ensures optimization and integration of internal processes which is necessary for companies to grow rapidly. The rapid growth is possible thanks, to specialized services an...
"Calligo is a cloud service provider with data privacy at the heart of what we do. We are a typical Infrastructure as a Service cloud provider but it's been des...
In today's always-on world, customer expectations have changed. Competitive differentiation is delivered through rapid software innovations, the ability to respond to issues quickly and by releasing high-quality code with minimal interruptions. DevOps isn't some far off goal; it's methodologies and practices are a response to this demand. The demand to go faster. The demand for more uptime. The demand to innovate. In this keynote, we will cover the Nutanix Developer Stack. Built from the foundation of software-defined infrastructure, Nutanix has rapidly expanded into full application lifecycle...
DevOps is under attack because developers don’t want to mess with infrastructure. They will happily own their code into production, but want...
In his session at 21st Cloud Expo, Raju Shreewastava, founder of Big Data Trunk, provided a fun and simple way to introduce Machine Leaning ...






















