Thursday, August 6, 2015

What is the Future of Software Development

With advances like TDD, BDD, IBM's Watson, and Microsoft Cortana what will the future hold for software development?


Today, we can write automated tests to validate design and implementation. If we're doing this in an optimal way, then we are writing the automated tests to specify the system. What if the next level is to write only the tests and not the code? What would that look like?


I would imaging that the tests would have to be written very specifically to define every aspect of the system including environmental considerations. It would certainly take the saying "the tests are the requirements, the requirements are the tests" into another form. Something like "the requirements are the system, the system is the requirements."


This would require some clever sort of meta-programming model that could take a ubiquitous definition of the the system defined by example and translate it into whatever language. Some sort of translator/code generator/compiler would take the BDD style requirements and, ultimately, turn them into runnable applications.


First, the spec reader would need to parse the requirements into a standard baseline. With that, any BDD style format could be used as input, given the proper translations.


Next, something would need to analyze the baseline and decide how to efficiently process each set of rules. Perhaps some decisions would be made with respect to which language to use to maximize system efficiency and conform to the defined standards.


In order to meet those goals, certain meta-information would be needed about the system itself and about each requirement/feature. For example, one may define the security requirements of the system as a whole, or one particular feature or function. The data retention policy would be another aspect of the system. How about accessibility or internationalization? How about defining the environment constraints? Will there be a multiple environments? Or only one? Will it need to scale out?


Obvious complexities aside, I believe we have the technology and the know-how necessary to build such a system today. However, I also believe such a system designed this way would be fraught with the same problem that today's systems have and that's about the requirements themselves.


Let's assume, for sake of retaining optimism, that we provide accurate statements about every aspect of the system - what it runs on, how it will be available, what data it will use and persist, what transactions, how many users, which locations are the users, what roles, features, integrations. We define every aspect in our acceptance tests. Then those are translated, processed, and some machine or IL code is produced as a result - it's installed or deployed and we're up an running without writing a single line of code. We've only written pre-conditions, actions, and expected results. For a Given Condition, When some Action, Then some Result.


What would the first requirement look like? Would we define system constraints first? Would we define outputs first? Inputs? When would those be compiled? We wouldn't exactly have code to verify with the tests, so perhaps it would be real time, but the analysis process would take so much time especially at first.


Let's assume we would define the environment first. Given a growing population of users, And the users are geographically distributed, When users need to use the system, Then they would use a web browser. But should we even need to define that? Perhaps the compiler would know which platform would be best based on how we define the users, so we'd start there.


Given a globally distributed population of users, When the users access the application, Then they should be able to access the application from any location. With this spec in mind, the system may decide that a distributed system with multiple types of clients would be the best design. There may be decisions to make about caching on clients due to lack of specification about internet connectivity, so the only design must support with and without internet. Perhaps the compiler would need to make certain assumptions or respond with prompts. Perhaps certain parts of the design are better served as wizard-like or key-value pair configurations.


How about data, how would data be defined? In Cucumber BDD, input data is defined in either a Given statement or a Setup for a feature. But multiple features may share the same entities, so we wouldn't want to have too many definitions of them. Perhaps some tag could be used and all those related bits of data can be correlated by that.


In any case we can see that this is possible, but the details are fairly complex. It will be slow and cumbersome at first, but in time will be the usual way of building systems.

6 comments:

  1. Very informative article, Which you have shared here about the Software Development. After reading your article I got very much information about the future of Software Development and it is very useful for us. Thank you so much. software development for startups

    ReplyDelete
  2. Wonderful article, which you have shared here about the future of software development. Your article is very informative and I liked your way to express your views in this post. If anyone looking for the best cleaning software, janitorialmanager is a good choice.

    ReplyDelete
  3. I know your expertise on this. I must say we should have an online discussion on this. Writing only comments will close the discussion straight away! And will restrict the benefits from this information. Facebook Scraper

    ReplyDelete
  4. https://blog.thedailylessonlearned.com/2015/08/what-is-future-of-software-development.html?showComment=1599630769935#c7458378107905157953
    http://blog.empathysoft.co.uk/2015/07/empathetic-software-development-guided.html?showComment=1599630800905#c6767943711628547366
    https://www.jobsforage.com/2020/07/job-openings-for-software-developer.html?showComment=1599630906098#c5629207705774477209
    https://www.sigizmund.com/2015/03/software-engineering-process-google-way.html?showComment=1599631104160#c4697044788059619417
    https://www.hsslive.in/2014/02/higher-grade-fixation-of-hssts.html?showComment=1599630525553#c4324312423448655383
    https://www.mysoftwarenotes.com/2019/12/coding-secrets-of-experience.html?showComment=1599630558068#c2637300206456275927
    https://www.teacherbook.in/2016/12/income-tax-software-2016-17-kss-prasad.html?showComment=1599631192145#c5691833327949562424
    http://www.placementprofession.com/2015/02/software-development-sr-analyst-c-linux.html?showComment=1599631220979#c7638437602392552899
    http://www.vidyarthiplus.in/2011/09/software-engineering-question-bank.html?showComment=1599630598811#c3408683214481187706
    http://blog.tomcarnell.com/2012/03/software-development-and-dangers-of.html?showComment=1599630634346#c517083470608412531

    ReplyDelete
  5. You know your projects stand out of the herd. There is something special about them. It seems to me all of them are really brilliant! B2B Lead Generation - Find new Sales Leads

    ReplyDelete
  6. As an ever increasing number of organizations send software arrangements to increase an upper hand in the strongly serious market, the quantity of execution upgrade contracts among associations and seaward software development firms is required to increment. business automation

    ReplyDelete