Squid Game in Code Readability
Photograph: Netflix

Squid Game in Code Readability

Readability is perhaps the most important quality-defining measure of a piece of code for reasons concerning maintainability, ease of understanding and use. We get inspired when we see beautifully written code. Good code can teach us what’s going on very quickly. It’s fun to use, motivating us to make our code better. Let me explain the importance of writing readable code through scriptwriting.

"Programs must be written for people to read, and only incidentally for machines to execute," Harold Abelson

How easy do you think writing the scripts of films we look forward to for days and love to watch? To ensure that the filmmakers like the scenario of those films among dozens of scenarios and meet the required budget. After all, how easy is it to get the crews together and shoot those films?

Hwang Dong-hyuk, the creator of the recent hit series "Squid Game", wrote the show in 2009 but was rejected by studios for ten years. He worked continually on the Squid Game script for a decade until he placed it under the nose of a Netflix genius who saw its extraordinary potential. So, what are the factors that make a screenplay good and sellable?

Script Example

At this stage, to roughly state what the screenplay is; The main components of a screenplay are action and dialogue. The action is limited to what the audience can hear or see, such as descriptions of settings, character movements, or sound effects. As can be seen from the description, too many details for a script that hasn't been sold yet. Writing the screenplay with the details is the last step because the budget allocated for the story can lead to some changes in the script.

A writer who has an idea to sell must prepare the film's synopsis carefully and meticulously and knock on the doors of the filmmakers.

The synopsis should be concise. A few sentences should describe a striking and impressive scenario that could take pages to write. A few lines of text should sell a script that will take pages.

Let's give an example from years ago that everyone may know; Jurassic Park. What could be the synopsis of Jurassic Park?

“What would happen if dinosaurs lived today?”

This one-line synopsis is enough to convince the filmmakers; exciting and intriguing. Making dinosaur-themed films became a fascinating subject in the years that followed.

An image from the movie "Jurassic Park"?

You will appreciate that the stages after selling a screenplay are not easy. Writing a script is as tricky as writing a synopsis. The basic spine of any successful screenplay comes down to four key story elements: character, objective, obstacles, and theme.

The distribution of the characters in the script according to whether they are the main characters or the supporting ones are essential. How the objects are used, how the words spoken by the characters feed the story and how they are used determine whether the script is well written.

Good code is its own best documentation. As you're about to add a comment, ask yourself, "How can I improve the code so that this comment isn't needed?" Steve McConnell
An image for aesthetics

Code written by a software developer should also be written with care and attention. When writing even a small function in a project, the name was given to the function, length, and shortest way to achieve the purpose of the desired operation are essential. Mastery of the programming language also plays a vital role in writing readable and effective code.

It is unlikely that the script will change after the film is shot. However, code change is always possible in software development. This shows how important it is for the code to be readable.

An image for code readability

When software developers write the code initially, their knowledge of the system is very detailed because they have usually worked on the project for some time, read the requirements/specs. They know the code/related code, know the system, everything is in harmony. After a while, no one will know the system that well again, so they have to understand how the code works by reading it. Poorly written code can make this very difficult; code with poor readability is challenging to understand, longer to debug, hard to maintain and tricky to extend.

A well-written screenplay grabs the audience's attention, impresses them and wins their appreciation. A well-written code affects both the writer and the reader, facilitates the maintenance process that will last for years, and contributes to the development of the project; it will be appreciated by both those who will use the application and those who will continue to develop it.

Edited and written by Erhan Keskin


References:?

  • Web Sites:?thehosk.medium.com, www.oreilly.com, blog.galaxyweblinks.com, slideplayer.com
  • Books: “The Art of Readable Code” by Dustin Boswell and Trevor Foucher, "Structure and Interpretation of Computer Programs" by Harold Abelson
  • Credits: Squid Game Photo by Netflix, Jurassic Park Photo by Murray Close/Getty Images

David Lowbridge

Head of Operations - Social Inclusion and Employment at Pobal

3 年

Thanks for posting this interesting read Erhan Keskin

要查看或添加评论,请登录

Erhan Keskin的更多文章

  • AI Jungle: What Investors Seek in Companies

    AI Jungle: What Investors Seek in Companies

    So, you're not an investor, but just a person curious about what's happening in the business world, right? Well, here…

  • Kad?nlar ve Teknoloji

    Kad?nlar ve Teknoloji

    Teknoloji dünyas?nda kad?nlar?n durumu hala erkeklerin hakimiyeti alt?ndad?r. ?statistiklere g?re, teknoloji sekt?ründe…

  • Women in Tech Gender Gap

    Women in Tech Gender Gap

    Women have been historically underrepresented in the world of technology, and despite progress being made in recent…

  • Teknoloji . Gü? . Kad?nlar

    Teknoloji . Gü? . Kad?nlar

    Eskiden e?itim alma, askerlik yapma, oy kullanma veya i? sahibi olma hakk? sadece erkeklerindi ama devir de?i?ti. 21.

  • Tech . Power . Women

    Tech . Power . Women

    Men used to be the only ones who had the right to an education, serve in the military, vote or have a job, but times…

    1 条评论
  • Great Developers Steal

    Great Developers Steal

    As a significant influence on 20th-century art, Pablo Picasso was an innovative artist who experimented and innovated…

社区洞察

其他会员也浏览了