Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the board
Thread view  Mix view  Order
Rugxulo

Homepage

Usono,
29.09.2021, 23:49
 

coding philosophies (Developers)

Many months ago, I had the idea to post about various coding philosophies, hoping to somehow sort in my own head various good ideas that are worth remembering.

These few should get you started. If you have any further links to similar ideas, feel free to suggest them here.

(from Wikipedia):
* Minimalism
* Code refactoring
* KISS principle
* UNIX philosophy

rr

Homepage E-mail

Berlin, Germany,
30.09.2021, 22:43

@ Rugxulo

coding philosophies

I'd like to add Clean code (or in German Wikipedia: Clean Code -- There's no English article so far.)

---
Forum admin

Rugxulo

Homepage

Usono,
03.10.2021, 08:41
(edited by rr, 10.10.2021, 20:10)

@ rr

coding philosophies

Returning to use GNU Pascal (DJGPP) again reminds me of their own GNU Pascal Coding Standards (German, Croatian, Spanish). A lot of good ideas there, too.

Rugxulo

Homepage

Usono,
03.11.2021, 01:45

@ Rugxulo

coding philosophies

* The Ten Commandments for C Programmers (Annotated Edition)
* ISO/IEC 9126 Software engineering -- Product quality (1991)

Oso2k

03.11.2021, 04:08
(edited by rr, 07.11.2021, 21:12)

@ Rugxulo

coding philosophies

* Your Coding Philosophies are Irrelevant
* Programming Modern Systems Like It Was 1984
* Suckless Software Philosophy
* Write Small and Fast Software
* The Duct Tape Programmer
* the djb way
* Rob Pike's 5 Rules of Programming

Rugxulo

Homepage

Usono,
03.11.2021, 20:54

@ Oso2k

coding philosophies

* Coding best practices
* Redundancy (engineering)
* Software reliability testing
* SPARK (programming language)

Rugxulo

Homepage

Usono,
14.11.2021, 18:45

@ Rugxulo

coding philosophies

* three great virtues of a programmer: laziness, impatience, and hubris
* perlport (portability tips)
* perldos (DOS port tips)

tkchia

Homepage

15.11.2021, 22:26

@ Rugxulo

coding philosophies

An Ethos for Sustainable Computing (Alexander Nicholi).

---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"

Rugxulo

Homepage

Usono,
16.11.2021, 22:38

@ tkchia

coding philosophies

* Software Crisis
* Dependency Hell
* Bootstrapping (compilers)

* Epigrams In Programming

Rugxulo

Homepage

Usono,
25.11.2021, 21:06

@ Rugxulo

coding philosophies

* Software prototyping
* You Aren't Gonna Need It (YAGNI)
* Plan to throw one away
* Project Management Triangle (aka, "Choose Two: Good, Fast, Cheap")

Rugxulo

Homepage

Usono,
12.12.2021, 04:23

@ Rugxulo

coding philosophies

Maybe the question isn't "what philosophy?" but "which philosopher?"

* Turing Award (list of winners, 1966-2020)

DosWorld

20.12.2021, 01:56

@ Rugxulo

coding philosophies

New word in licensing process.

PS: About "Why?" section: reasons, for me, don't looks like a stupid joke, in modern time. :-( Yes, purposed word is, definitely, worth.

---
Make DOS great again!

Carthago delenda est, Ceterum censeo Carthaginem delendam esse.

tkchia

Homepage

20.12.2021, 11:10

@ DosWorld

coding philosophies

> PS: About "Why?" section: reasons, for me, don't looks like a stupid joke,
> in modern time. :-( Yes, purposed word is, definitely, worth.

Clearly someone decided to ask themselves questions like, "How do I protect vulnerable people against physical abuse?", or just, "How do I create quality software that has few bugs?" And after asking these questions, they came up with ... that above idea. Well, OK. :-|

---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"

tkchia

Homepage

20.12.2021, 11:17

@ DosWorld

coding philosophies

On more mundane matters: should one write const int, or int const, in C++ code? What if the code is not C++, but C?

---
https://gitlab.com/tkchia · https://codeberg.org/tkchia · 😴 "MOV AX,0D500H+CMOS_REG_D+NMI"

rr

Homepage E-mail

Berlin, Germany,
07.03.2022, 22:39

@ Rugxulo

coding philosophies

How To Write Unmaintainable Code :-D

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
28.05.2022, 18:41

@ Rugxulo

coding philosophies

How to be a Programmer: Community Version

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
14.06.2022, 20:36

@ Rugxulo

coding philosophies

The Most Important Skill a Programmer Can Learn

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
20.08.2022, 20:27

@ Rugxulo

coding philosophies

Something about coding and designing for the web that also relates to traditional coding in several ways:
* Plain old webpages still matter
* Notes on the small web
* Just another website
* The small web is beautiful
* Guidelines for Brutalist Web Design

Or are we just getting old?

---
Forum admin

Rugxulo

Homepage

Usono,
24.09.2022, 02:17

@ rr

coding philosophies

DOS: Choosing a Memory Model by Bill Mayne (C News Vol. 1, Issue 11, 15 Sep 1988)

tom

Homepage

Germany (West),
26.09.2022, 14:13

@ Rugxulo

coding philosophies

> DOS:
> Choosing a Memory Model by Bill Mayne (C News Vol. 1, Issue 11, 15
> Sep 1988)

while this is mostly correct from a 1988 perspective, compiler technology has seriously advanced since 1988, even for 16 bit compilers.

while it is easier (for dummies) to simply use simply compact and large memory models, selecting small or medium model and access the (hopefully) few large data structures using the __far keyword and the rest just __near produces usually much better (smaller and faster) code.

so the information above is mostly outdated.

Rugxulo

Homepage

Usono,
03.10.2022, 05:29

@ Rugxulo

coding philosophies

* Choosing a Memory Model (Digital Mars)
* Our bloat problem (LWN.net, 2005)
* Software disenchantment

rr

Homepage E-mail

Berlin, Germany,
25.10.2022, 21:07

@ Rugxulo

coding philosophies

(PDF) A plea for lean software by Niklaus Wirth (1995)

---
Forum admin

rr

Homepage E-mail

Berlin, Germany,
01.11.2022, 23:47

@ Rugxulo

coding philosophies

The Lost Art of Structure Packing (Eric S. Raymond)

---
Forum admin

Rugxulo

Homepage

Usono,
07.02.2023, 07:30

@ Rugxulo

coding philosophies

> * UNIX philosophy

I didn't notice that Eric Raymond's The Art of UNIX Programming book (2003) was freely available online. It has TONS of philosophical and practical advice. It's less about UNIX-only code and more about the history, why things were done, the good ideas, the elegance.

Rugxulo

Homepage

Usono,
24.08.2023, 08:44

@ Rugxulo

coding philosophies

Seven habits of effective text editing (Bram Moolenaar)

Rugxulo

Homepage

Usono,
20.11.2023, 08:39

@ Rugxulo

coding philosophies

* The UNIX-HATERS Handbook

ecm

Homepage E-mail

Düsseldorf, Germany,
20.11.2023, 09:44

@ Rugxulo

coding philosophies

Here's my blog's #idioms tag:

* mov fast and mak things
* Debugging is the act of removing errors from a program. Programming is the act of putting them in.
* The master has failed more times than the beginner has even tried.
* Good, Fast, Cheap. Pick two.
* On two occasions I have been asked, — "Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?" In one case a member of the Upper, and in the other a member of the Lower, House put this question. I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.
* Hitting the table hurts the fist more than the table.

---
l

Rugxulo

Homepage

Usono,
12.07.2024, 02:36

@ Rugxulo

coding philosophies

* Feature creep
* Don't repeat yourself

rmcconne

13.07.2024, 04:55

@ Rugxulo

coding philosophies

> Many months ago, I had the idea to post about various coding philosophies,
> hoping to somehow sort in my own head various good ideas that are worth
> remembering.
>
> These few should get you started. If you have any further links to similar
> ideas, feel free to suggest them here.
>

The one I have always held close is:

Eschew Obfuscation!

Bob

Rugxulo

Homepage

Usono,
19.09.2024, 14:49

@ Rugxulo

coding philosophies

* Compiler Deadly Sins
* Modular Programming
* Halstead Software Complexity Measures
* Code Smell

bencollver

Homepage

19.09.2024, 16:27

@ Rugxulo

coding philosophies

Top-down and bottom-up design

At about the time Logo was developed, an ideology of top-down programming as the only "allowed" technique became popular among adult computer scientists: design first, top-down; only then, start coding. Logo's programming style was and is proudly antithetical to such disciplines [Harvey 1991]. Sherry Turkle and Seymour Papert introduced the use of the French word bricolage (tinkering) to label the Logo style of work, in which children experiment freely until they obtain a result that seems worth preserving as a procedure [Turkle and Papert 1990].

[Harvey 1991]
https://people.eecs.berkeley.edu/~bh/bridge.html

[Turkle and Papert 1990]
Sherry Turkle and Seymour Papert. 1990. Epistemological Pluralism: Styles and Voices within the Computer Culture. Signs:
Journal of Women in Culture and Society 16, 1 (1990), 128-157.

From: https://dl.acm.org/doi/10.1145/3386329


My high school teacher taught me top-down programming style, while my father taught me bottom-up programming style.

Back to the board
Thread view  Mix view  Order
22049 Postings in 2034 Threads, 396 registered users, 102 users online (0 registered, 102 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum