this post was submitted on 30 Jul 2022
2 points (60.0% liked)

General Programming Discussion

7962 readers
6 users here now

A general programming discussion community.

Rules:

  1. Be civil.
  2. Please start discussions that spark conversation

Other communities

Systems

Functional Programming

Also related

founded 5 years ago
MODERATORS
 

cross-posted from: https://lemmy.ml/post/396294

It seems like there's no English material on this topic.

top 11 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 2 years ago (1 children)

What would that even look like?

[–] [email protected] 2 points 2 years ago

IDK Completely. That's why I asked if there was an existing interpretation.


I think that the UNIX philosophy could mirror the development of humanity (from primitive communism to capitalism), without slave society or feudalism.

The material conditions of UNIX (specifically the minimal breathing room in computer hardware necessitates the use of communal ownership.

[–] [email protected] 3 points 2 years ago (1 children)

Programming is a wide concept so i'll go with the concepts i know.

Programming languages, proglang for short, are a set of rules to direct a computer. Any process of change of the proglang itself involves the developers fixing bugs that cause hardships to the proglang user, the contradiction here is between the passive prescence of bugs in the code of the proglang and the active developers fixing this bugs, secondarily theres is the development of new feature in the code.

The previous contradiction is the same as the one present between a programmer making functional code in a programming language

The programming ecosistem, considering that there are people involved and thus is part of material reality, would have contradictions related to class contradictions

Im open to corrections

[–] [email protected] 3 points 2 years ago

I wouldn't say proglangs are rules. Rather, they are a language of instructions to the machine; the language can often be converted to machine instructions through a tool (often a compiler).

Class contradictions of course have an impact.


I think the UNIX philosophy hold some communist values:

  • A communal interface for programs and scripts should exist to reduce redundant code.
  • Programs should not have private property (or internal code) when unneccessary.
  • I think that the "Test prototypes often" is a result idea from the cold war era. Heavy testing was neccessary to ensure that programs functioned properly.

The UNIX philosophy was born in an environment with a lack of surplus; likewise, the primal environment neccessitated communism in humans due to the lack of surplus.


Also, it's interesting that computers could technically be described in DiaMat.

  • Voltage changes form a principal contradiction between states. (Typically a binary state.)
  • Electrical circuits form base contradictions in some way.

These two 'principal' contradiction form the base for a higher-level contradiction:

  • A contradiction between the setter/retriever (CPU) and Memory.