A place to cache linked articles (think custom and personal wayback machine)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 10KB

  1. <!doctype html><!-- This is a valid HTML5 document. -->
  2. <!-- Screen readers, SEO, extensions and so on. -->
  3. <html lang="fr">
  4. <!-- Has to be within the first 1024 bytes, hence before the <title>
  5. See: https://www.w3.org/TR/2012/CR-html5-20121217/document-metadata.html#charset -->
  6. <meta charset="utf-8">
  7. <!-- Why no `X-UA-Compatible` meta: https://stackoverflow.com/a/6771584 -->
  8. <!-- The viewport meta is quite crowded and we are responsible for that.
  9. See: https://codepen.io/tigt/post/meta-viewport-for-2015 -->
  10. <meta name="viewport" content="width=device-width,initial-scale=1">
  11. <!-- Required to make a valid HTML5 document. -->
  12. <title>How is computer programming different today than 20 years ago? (archive) — David Larlet</title>
  13. <!-- Generated from https://realfavicongenerator.net/ such a mess. -->
  14. <link rel="apple-touch-icon" sizes="180x180" href="/static/david/icons2/apple-touch-icon.png">
  15. <link rel="icon" type="image/png" sizes="32x32" href="/static/david/icons2/favicon-32x32.png">
  16. <link rel="icon" type="image/png" sizes="16x16" href="/static/david/icons2/favicon-16x16.png">
  17. <link rel="manifest" href="/static/david/icons2/site.webmanifest">
  18. <link rel="mask-icon" href="/static/david/icons2/safari-pinned-tab.svg" color="#07486c">
  19. <link rel="shortcut icon" href="/static/david/icons2/favicon.ico">
  20. <meta name="msapplication-TileColor" content="#f0f0ea">
  21. <meta name="msapplication-config" content="/static/david/icons2/browserconfig.xml">
  22. <meta name="theme-color" content="#f0f0ea">
  23. <!-- Documented, feel free to shoot an email. -->
  24. <link rel="stylesheet" href="/static/david/css/style_2020-04-25.css">
  25. <!-- See https://www.zachleat.com/web/comprehensive-webfonts/ for the trade-off. -->
  26. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light)" crossorigin>
  27. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light)" crossorigin>
  28. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light)" crossorigin>
  29. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  30. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  31. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  32. <meta name="robots" content="noindex, nofollow">
  33. <meta content="origin-when-cross-origin" name="referrer">
  34. <!-- Canonical URL for SEO purposes -->
  35. <link rel="canonical" href="https://medium.com/swlh/how-is-computer-programming-different-today-than-20-years-ago-9d0154d1b6ce">
  36. <body class="remarkdown h1-underline h2-underline h3-underline hr-center ul-star pre-tick">
  37. <article>
  38. <h1>How is computer programming different today than 20 years ago?</h1>
  39. <h2><a href="https://medium.com/swlh/how-is-computer-programming-different-today-than-20-years-ago-9d0154d1b6ce">Source originale du contenu</a></h2>
  40. <p id="4883">I saw a question on Quora asking this and I started to write an answer. But it got so long that I converted into a post here.</p>
  41. <p id="87e6">Here are some changes I have noticed over the last 20 years, in random order:</p>
  42. <ul>
  43. <li id="b8aa">Some programming concepts that were mostly theoretical 20 years ago have since made it to mainstream including many functional programming paradigms like immutability, tail recursion, lazily evaluated collections, pattern matching, first class functions and looking down upon anyone who don’t use them.</li>
  44. <li id="6b41">A desktop software now means a web page bundled with a browser.</li>
  45. <li id="c21d">Object-Oriented Programming (OOP) has lost a lot of street cred although it’s still probably the most popular programming model. New trait-based programming models are more pervasive in modern languages like Go, Rust and Swift. Composition is preferred over inheritance.</li>
  46. <li id="b8ae">You are not officially considered a programmer anymore until you attend a $2K conference and share a selfie from there.</li>
  47. <li id="1f8c">Because of the immense proliferation of multi-processor CPUs, parallel programming is now usually supported at the programming language level rather than primitive OS calls of 20 years ago. It brought in asynchronous programming primitives (async/await), parallel coroutines like goroutines in Go language or channels in D, composability semantics like observables with reactive programming.</li>
  48. <li id="154a">A pixel is no longer a relevant unit of measurement.</li>
  49. <li id="9346">Garbage collection has become the common way of safe programming but newer safety models are also emerging like lifetime semantics of Rust and snarky jokes in code reviews.</li>
  50. <li id="fdc8">3 billion devices run Java. That number hasn’t changed in the last 10 years though.</li>
  51. <li id="d317">A package management ecosystem is essential for programming languages now. People simply don’t want to go through the hassle of finding, downloading and installing libraries anymore. 20 years ago we used to visit web sites, downloaded zip files, copied them to correct locations, added them to the paths in the build configuration and prayed that they worked.</li>
  52. <li id="2e16">Being a software development team now involves all team members performing a mysterious ritual of standing up together for 15 minutes in the morning and drawing occult symbols with post-its.</li>
  53. <li id="be52">Language tooling is richer today. A programming language was usually a compiler and perhaps a debugger. Today, they usually come with the linter, source code formatter, template creators, self-update ability and a list of arguments that you can use in a debate against the competing language.</li>
  54. <li id="ad98">Even programming languages took a side on the debate on Tabs vs Spaces.</li>
  55. <li id="60bf">Adobe Flash, which was the only way to provide some smooth interaction on the web, no longer exists, thankfully. Now we have to develop on three different platforms with entirely different programming models in order to provide the same level of interaction.</li>
  56. <li id="9215">IDEs and the programming languages are getting more and more distant from each other. 20 years ago an IDE was specifically developed for a single language, like Eclipse for Java, Visual Basic, Delphi for Pascal etc. Now, we have text editors like VS Code that can support any programming language with IDE like features.</li>
  57. <li id="e3ab">Code must run behind at least three levels of virtualization now. Code that runs on bare metal is unnecessarily performant.</li>
  58. <li id="727e">Cross-platform development is now a standard because of wide variety of architectures like mobile devices, cloud servers, embedded IoT systems. It was almost exclusively PCs 20 years ago.</li>
  59. <li id="9a8e">Running your code locally is something you rarely do.</li>
  60. <li id="55ba">Documentation is always online and it’s called Google. No such thing as offline documentation anymore. Even if there is, nobody knows about it.</li>
  61. <li id="ceca">A tutorial isn’t really helpful if it’s not a video recording that takes orders of magnitude longer to understand than its text.</li>
  62. <li id="1e13">There is StackOverflow which simply didn’t exist back then. Asking a programming question involved talking to your colleagues.</li>
  63. <li id="d537">People develop software on Macs.</li>
  64. <li id="9ca7">Internet connectivity is the norm and being offline is an exception which is the opposite of how it was back then.</li>
  65. <li id="a1e5">Security is something we have to think about now.</li>
  66. <li id="406a">Mobile devices can now show regular web pages, so no need to create a separate WAP page on a separate subdomain anymore. We create mobile pages on separate subdomains instead.</li>
  67. <li id="4401">We open source everything by default except the code that would really embarass us.</li>
  68. <li id="afb9">There are many more talented women, people of color and LGBT in the industry now, thanks to everyone who fought against discrimination. I still can’t say we’re there in terms of equality but we are much better.</li>
  69. <li id="454b">Getting hacked is a regular occurence. Losing all your user data usually circumvented by writing a blog post that recommends changing passwords and that’s pretty much it. Apology isn’t required.</li>
  70. <li id="ba0e">Working as a programmer remotely is easier than ever thanks to the new technologies like video conferencing, ubiquitous internet access and Keurigs.</li>
  71. <li id="40dd">We don’t use IRC for communication anymore. We prefer a bloated version called Slack because we just didn’t want to type in a server address.</li>
  72. <li id="1f31">We run programs on graphics cards now.</li>
  73. <li id="1dbc">Your project has no business value today unless it includes blockchain and AI, although a centralized and rule-based version would be much faster and more efficient.</li>
  74. <li id="464a">For some reason, one gigabyte is now insufficient storage space.</li>
  75. <li id="fdf5">Because of side-channel attacks we can’t even trust the physical processor anymore.</li>
  76. <li id="531a">A significant portion of programming is now done on the foosball table.</li>
  77. <li id="0db1">Since we have much faster CPUs now, numerical calculations are done in Python which is much slower than Fortran. So numerical calculations basically take the same amount of time as they did 20 years ago.</li>
  78. <li id="d4d5">Creating a new programming language or even creating a new hardware is a common hobby.</li>
  79. <li id="f758">Unit testing has emerged as a hype and like every useful thing, its benefits were overestimated and it has inevitably turned into a religion.</li>
  80. <li id="0557">Storing passwords in plaintext is now frowned upon, but we do it anyway.</li>
  81. </ul>
  82. </article>
  83. <hr>
  84. <footer>
  85. <p>
  86. <a href="/david/" title="Aller à l’accueil">🏠</a> •
  87. <a href="/david/log/" title="Accès au flux RSS">🤖</a> •
  88. <a href="http://larlet.com" title="Go to my English profile" data-instant>🇨🇦</a> •
  89. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel">📮</a> •
  90. <abbr title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340">🧚</abbr>
  91. </p>
  92. </footer>
  93. <script src="/static/david/js/instantpage-3.0.0.min.js" type="module" defer></script>
  94. </body>
  95. </html>