<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Software Implementation on António Rito Silva</title><link>https://antonioritosilva.github.io/software-engineering-companion/software-implementation/</link><description>Recent content in Software Implementation on António Rito Silva</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Mon, 30 Nov 2026 18:58:29 +0000</lastBuildDate><atom:link href="https://antonioritosilva.github.io/software-engineering-companion/software-implementation/index.xml" rel="self" type="application/rss+xml"/><item><title>Living Code Base</title><link>https://antonioritosilva.github.io/software-engineering-companion/software-implementation/living-code-base/</link><pubDate>Tue, 01 Dec 2015 00:00:00 +0000</pubDate><guid>https://antonioritosilva.github.io/software-engineering-companion/software-implementation/living-code-base/</guid><description>&lt;p&gt;During development, and very often during to complete life cycle of a software artefact, including what is usually called as maintenance, the code needs to be changed and evolves.&lt;/p&gt;&#10;&lt;p&gt;Living code base is the name given to the base code with which the team interacts on a daily basis. The team has to agree on a set of &lt;a href="http://en.wikipedia.org/wiki/Coding_conventions"&gt;coding conventions&lt;/a&gt; which form a &lt;a href="../../software-engineering-companion/project-management/common-language/" title="Project Management"&gt;common language&lt;/a&gt;. Therefore the team pursuits a &lt;a href="http://c2.com/cgi/wiki?ConceptualIntegrity"&gt;conceptual integrity&lt;/a&gt; of the code base that is set from coding standards, like indentation and variables naming, to programming principles, like the cohesion of a class.&lt;/p&gt;</description></item><item><title>The Processor and The Programmer</title><link>https://antonioritosilva.github.io/software-engineering-companion/software-implementation/the-processor-and-the-programmer/</link><pubDate>Tue, 01 Dec 2015 00:00:00 +0000</pubDate><guid>https://antonioritosilva.github.io/software-engineering-companion/software-implementation/the-processor-and-the-programmer/</guid><description>&lt;p&gt;The answer to the question whether software should be written for the computer or for humans can be found on the relation between the salary of a developer and the price of a processor. First of all, code is to be read. Legible code reduces the cost, both during development and maintenance.&lt;/p&gt;&#10;&lt;p&gt;So, can performance be ignored? Definitely not, but a few rules should be followed:&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Readable first, optimized later. It is easier to optimize a legible program than make legible an optimized one. Only a small part of the code needs to be optimized.&lt;/li&gt;&#10;&lt;li&gt;Profile the code execution before optimizing it. The reasons behind non-performant code are often counter-intuitive. Between the code written by the developer and its execution by the hardware, compilers and caches play an important role in the optimization of the source code structure and execution to take advantage of the target machine characteristics.&lt;/li&gt;&#10;&lt;li&gt;Demanding performance requirements are dealt by the software architecture. The software architecture isolates in a small set of modules the code that has to have good performance. This way, it is possible to associate concurrency and assign processors to these modules.&lt;/li&gt;&#10;&lt;li&gt;Encapsulate the optimized code. If the requirements are identified during requirements engineering, it is inside the software architecture modules, if performance drawbacks are identified during development isolate the code that has to be optimized inside a module, while preserving the architectural design.&lt;/li&gt;&#10;&lt;/ul&gt;</description></item></channel></rss>