Showing posts with label specialization. Show all posts
Showing posts with label specialization. Show all posts

Tuesday, April 23, 2019

Full-stack developers and the split between development and system administration

The notion of a "full stack" developer has been with us for a while, Some say it is a better way to develop and deploy systems, others take the view that it is a way for a company to build systems at lower cost. Despite their differing opinions on the value of a full stack engineer, everyone agrees on the definition: A "full stack" developer (or engineer) is a person who can "do it all" from analysis to development and testing (automated testing), from database design to web site deployment.

But here is a question: Why was there a split in functions? Why did we have separate roles for developers and system administrators? Why didn't we have combined roles from the beginning?

Well, at the very beginning of the modern computing era, we did have a single role. But things became complicated, and specialization was profitable for the providers of computers. Let's go back in time.

We're going way back in time, back before the current cloud-based, container-driven age. Back before the "old school" web age. Before the age of networked (but not internet-connected) PCs, and even before the PC era. We're going further back, before minicomputers and before commercial mainframes such as the IBM System/360.

We're going back to the dawn of modern electronic computing. This was a time before the operating system, and individuals who wanted to use a computer had to write their own code (machine code, not a high-level language such as COBOL) and those programs managed memory and manipulated input-output devices such as card readers and line printers. A program had total control of the computer -- there was no multiprocessing -- and it ran until it finished. When one programmer was finished with the computer, a second programmer could use it.

In this age, the programmer was a "full stack" developer, handling memory allocation, data structures, input and output routines, business logic. There were no databases, no web servers, and no authentication protocols, but the programmer "did it all", including scheduling time on the computer with other programmers.

Once organizations developed programs that they found useful, especially programs that had to be run on a regular basis, they dedicated a person to the scheduling and running of those tasks. That person's job was to ensure that the important programs were run on the right day, at the right time, with the right resources (card decks and magnetic tapes).

Computer manufacturers provided people for those roles, and also provided training for client employees to learn the skills of the "system operator". There was a profit for the manufacturer -- and a cost to be avoided (or at least minimized) by the client. Hence, only a few people were given the training.

Of the five "waves" of computing technology (mainframe, minicomputers, personal computers, networked PCs, and web servers) most started with a brief period of "one person does it all" and then shifted to a model that divided labor among specialists. Mainframes specialized with programmers and system operators (and later, database administrators). Personal computers, by their very nature, had one person but later specialists for word processing, databases, and desktop publishing. Networked PCs saw specialization with enterprise administrators (such as Windows domain administrators) and programmers each learning different skills.

It was the first specialization of tasks, in the early mainframe era, that set the tone for later specializations.

Today, we're moving away from specialization. I suspect that the "full stack" engineer is desired by managers who have tired of the arguments between specialists. Companies don't want to hear sysadmins and programmers bickering about who is at fault when an error occurs; they want solutions. Forcing sysadmins and programmers to "wear the same hat" eliminates the arguments. (Or so managers hope.)

The specialization of tasks on the different computing platforms happened because it was more efficient. The different jobs required different skills, and it was easier (and cheaper) to train some individuals for some tasks and other individuals for other tasks, and manage the two groups.

Perhaps the relative costs have changed. Perhaps, with our current technology, it is more difficult (and more expensive) to manage groups of specialists, and it is cheaper to train full-stack developers. That may say more about management skills than it does about technical skills.

Wednesday, July 23, 2014

Waterfall caused specialization; agile causes generalization

There are a number of differences between waterfall processes and agile processes. Waterfall defines one long, segmented process; agile uses a series of short iterations. Waterfall specifies a product on a specific date; agile guarantees a shippable product throughout the development process.

Another difference between waterfall and agile is the specialization of participants. Waterfall projects are divided into phases: analysis, development, testing, etc. and these phases tend to be long themselves. Agile projects have the same activities (analysis, development, testing) but on a much shorter timeframe. A waterfall project may extend for six months, or a year, or several years, and the phases of those projects may extend for months -- or possibly years.

The segmentation of a waterfall project leads to specialization of the participants. It is common to find a waterfall project staffed by analysts, developers, and testers, each a distinct team with distinct management teams. The different teams use tools specific to their tasks: databases for requirements, compilers and integrated development environments, test automation software and test case management systems.

This specialization is possible due to the long phases of waterfall projects. It is reasonable to have team "A" work on the requirements for a project and then (when the requirements are deemed complete) assign team "B" to the development phase. While team "B" develops the project, team "A" can compose the requirements for another project. Specialization allows for efficient scheduling of personnel.

Agile processes, in contrast, have short iterations of analysis, design, coding, and testing. Instead of months (or years), an iteration may be one or two weeks. With such a short period of time, it makes little sense to have multiple teams work on different aspects. The transfer of knowledge from one team to another, a small task in a multi-year project, is a large effort on a two-week iteration. Such inefficiencies are not practical for short projects, and the better approach is for a single team to perform all of the tasks. (Also, the two-week iteration is not divided into a neat linear sequence of analysis, design, development, and test. All activities occur throughout the iteration, with multiple instances of each task.)

A successful agile process needs people who can perform all of the tasks. It needs not specialists but generalists.

Years of waterfall projects have trained people and companies into thinking that specialists are more efficient than generalists. (There may be a bit of Taylorism here, too.) Such thinking is so pervasive that one finds specialization in the company's job descriptions. One can find specific job descriptions for business analysts, developers, and testers (or "QA Analysts").

The shift to agile projects will lead to a re-thinking of specialization. Generalists will be desired; specialists will find it difficult to fit in. Eventually, generalists will become the norm and specialists will become, well, special. Even the job descriptions will change, with the dominant roles being "development team members" with skills in all areas and a few specialist roles for special tasks.

Thursday, June 5, 2014

Apple Swift language increases separation of tech tribes

A surprising announcement at the recent Apple WWDC was the support of the Swift programming language for iOS and MacOS. It is surprising because counter to all of the predictions, a new language was not among them.

The advantages of Swift are significant: cleaner syntax and memory management.

Yet there is a downside to this choice: more separation of technology tribes.

The Apple tribe uses iOS and MacOS, with languages Swift, Objective-C, C, and C++. I expect Swift to soon become the preferred language for apps (preferred by Apple, that is).

The Microsoft tribe uses Windows "Intel" and Windows RT, with languages C# and C++, with C# being the preferred (by Microsoft) language. Other languages (C, F#, IronPython, IronRuby, etc.) form a small asteroid belt around the primaries.

The Google tribe uses Chrome and Android, with the language Java and Javascript.

There is little in common among these technology tribes. Apple's selection of Swift does nothing to bring them together; instead, it widens the distance.

To some extent, the technology tribes have always been separate. People argued about processors and operating systems (and still do). People argued about languages (and still do). People argued about programming languages (and still do). People even argued about character sets (and some may still argue, but we've pretty much all moved to UNICODE). Despite the differences, there were always elements that spanned platforms, often in programming languages.

Languages, while debated, could bring us together. The big, popular languages (COBOL, FORTRAN, BASIC, C, and C++) were developed under standards committees specifically formed to address the needs of multiple platforms. Some popular languages extended standards (Turbo Pascal, Microsoft BASIC) and some popular languages were new constructs (Visual Basic, Java). Visual Basic was limited to Windows, but Java ran everywhere.

Now we are entering an age with distinct platforms and distinct languages. Your platform defines your language -- or your language defines your platform. The overlap between tribes shrinks, and we have less in common.

This may be caused by vendors, but it also may be caused by developers. There are cross-platform languages (Java is still supported on lots of platforms, COBOL is still with us) but we as developers seem to identify with platforms. ("I'm a Windows developer." "I'm an iPhone developer.") We're not pushing for cross-platform tools.

The future may see more specialization and more tribal separation. I see nothing to pull the tribes together, no central mass to exert a gravitational pull to a center.

Tuesday, January 21, 2014

From general to specific

We are entering a new age of computing.

The change is the shift from general to specific. PC hardware has been, since the initial PC up to now, standard and generic. One PC was very much like another PC, in terms of architecture and capacity. This standardization made the PC market possible, with PC manufacturers, accessory vendors, and software providers all working to a common standard.

To be sure, there was always some variation among PCs. Some had faster processors; some had more memory. Enthusiasts added super-large hard drives and super-fast video cards. But they all revolved around the PC standard. (A standard that evolved over time, moving from the original PC to the IBM PC AT to the Compaq Deskpro 386 to today's Intel-based desktops.)

Now we see the standard-issue technology splitting into distinct markets with distinct hardware. Many businesses have traded their desktop PCs for laptops and shifted "back end" work to cloud servers. Game consoles are not quite PCs: they contain specialized hardware and one cannot replace the operating system (at least not easily). The home PC is being replaced by tablets and smartphones. Hobbyists are experimenting with small-board systems like the Raspberry Pi and the BeagleBone.

For each of these uses, we are replacing the desktop PC with a smaller, specialized device.

The change is not limited to hardware. While businesses still run Microsoft Windows, other devices are moving to different operating systems. Game consoles run their own operating systems; even Microsoft's Xbox runs an operating system that is based on Windows but not quite the same as Windows on the desktop PC. Tablets and phones run iOS or Android. The hobbyists are using Linux.

The good old days of standard PCs saw PCs (and Windows) everywhere. The new age of specialization sees a fragmentation of that world, with separate hardware and software for the different types of users. This differentiation will allow the different markets to develop distinct pricing for hardware and software; already competition is driving down the prices of tablets to ranges unreachable by classic PCs.

I expect the job market to fracture alone similar lines. Office applications will stay within the classic PC realm and move slowly to cloud-based solutions. The development of games is already distinct. The consumer market of apps is almost fully emerged. As the hardware and software of these markets diverge, I expect the development tools and techniques, the advertising, and the pay scales to diverge.

Eventually, we will not have "an IT jobs market" or "an IT career path". Instead, we will have career paths in business, in games and interactive entertainment, and in consumer products. Each will include IT as we think of it today (hardware, software, development, testing, etc.) as part of a larger whole. The hobbyists will perhaps be different in that they will have not a market for the exchange of dollars but a community for the exchange of information. They too will use IT for larger goals -- perhaps education or research.

We will lose the PC standard. In its place will be a standard for business, another standard for games, yet other standards for consumers, and (most likely) a collection of diverse hardware for hobbyists. I will not mourn the passing of the PC standard. It served its purpose, letting us develop a strong set of technology for diverse challenges. Now we can move to the next level and use technology that is better suited to specific tasks.

Wednesday, September 11, 2013

Specialization can be good or bad

Technologies have targets. Some technologies, over time, narrow their targets. Two examples are Windows and .NET.

Windows was, at first, designed to run on multiple hardware platforms. The objective was an "operating environment" that would give Microsoft an opportunity to sell software for multiple hardware platforms. There were versions of Windows for the Zenith Z-100 and the DEC Rainbow; these computers had Intel processors and ran MS-DOS but used architectures different from the IBM PC. Later versions of Windows ran on PowerPC, DEC Alpha, and MIPS processors. Those variants have all ceased; Microsoft supports only Intel PC architecture for "real" Windows and the new Windows RT variant for ARM processors, and both of these run on well-defined hardware.

The .NET platform has also narrowed. Instead of machine architectures, the narrowing has been with programming languages. When Microsoft released .NET, it supplied compilers for four languages: C++, C#, Visual Basic, and Visual J#. Microsoft also made bold proclamations about the .NET platform supporting multiple languages; the implications were that other vendors would build compilers and that Java was a "one-trick pony".

Yet the broad support for languages has narrowed. It was clear from the start that Microsoft was supporting C# as "first among equals". The documentation for C# was more complete and better organized than the documentation for other languages. Other vendors did provide compilers for other languages (and some still do), but the .NET world is pretty much C# with a small set of VB fans. Microsoft's forays into Python and Ruby (the IronPython and IronRuby engines) have been spun off as separate projects; the only "expansion" language from Microsoft is F#, used for functional programming.

Another word for this narrowing of technology is "specialization". Microsoft focussed Windows on the PC platform; the code become specialized. The .NET ecosystem is narrowing to C#; our code is becoming specialized.

Specialization has its advantages. Limiting Windows to the PC architecture reduced Microsoft's costs and enabled them to optimize Windows for the platform. (Later, Microsoft would become strong enough to specify the hardware platform, and they made sure that advances in PC hardware meshed with improvements in Windows.)

Yet specialization is not without risk. When one is optimized for an environment (such as PC hardware or a language), it is hard to move to another environment. Thus, Windows is a great operating system for desktop PCs but a poor fit on tablets. Windows 8 shows that significant changes are needed to move to tablets.

Similarly, specializing in C# may lead to significant hurdles when new programming paradigms emerge. The .NET platform is optimized for C# and its object-oriented roots. Moving to another programming paradigm (such as functional programming) may prove difficult. The IronPython and IronRuby projects may provide some leverage, as may the F# language, but these are quite small compared to C# in the .NET ecosystem.

Interestingly, the "one-trick pony" environment for Java has expanded to include Clojure, Groovy, and Scala, as well as Jython and JRuby. So not all technologies narrow, and Sun's Oracle's Java may avoid the trap of over-specialization.

Picking the target for your technology is a delicate balance. A broad set of targets leads to performance issues and markets with little return. A narrow set of targets reduces costs but foregoes market penetration (and revenue) and may leave you ill-prepared for a paradigm shift. You have to chart your way between the two.

I didn't say it would be easy.