news.volyx.in

Bocker – Docker implemented in around 100 lines of Bash (2015) (github.com)

543 points by sturza · 2441 days ago · 196 comments on HN

Article summary

The article discusses Bocker, a Docker implementation in Bash, and its concise code. The discussion focuses on the readability and complexity of the code, with some commenters arguing that it is not too complicated. However, the article itself is not available, and the discussion is based on the provided source code. The code's brevity and use of Bash syntax are the main points of interest.

Main themes

  • code readability
  • programming language complexity
  • Bash syntax
  • Perl reputation
  • dynamic programming languages
  • code conciseness vs readability

What commenters say

  • Some commenters argue that the code is not too complicated and its meaning can be figured out with some knowledge of Bash.
  • Others claim that the code is hard to read and understand due to its concise nature and use of complex syntax.
  • The use of dynamic programming languages like Perl can lead to complexities and difficulties in maintaining large systems.
  • The importance of readability and simplicity in code is emphasized, with some arguing that it is more important than the number of lines of code.
  • The reputation of Perl as an unreadable language is discussed, with some attributing it to its syntax and others to its usage and community.
  • The trade-offs between conciseness and readability are debated, with some arguing that a balance between the two is necessary.
  • The complexity of certain programming languages and libraries, such as Moose, is criticized for making code harder to understand and maintain.