This repository has been archived by the owner on Aug 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ
joseLuís edited this page Jan 15, 2017
·
14 revisions
- What is the purpose of this FAQ?
- Why Bash and not
$other_language
? - Why Bash version 4?
- Why tabs?
- What are the influences?
What is the purpose of this FAQ? ↑
Mainly to comment and clarify several technical and philosophical decisions.
Why Bash and not $other_language
? ↑
- Because believe it or not, it is fun. And it also is a good challenge and a learning experience.
- Because programming in shell script just feels right when relying so much on the Unix tools and third party utilities.
- Because pure speed is not the main focus of this project as much handyness and duct-tape-ability.
- Because Bash is very powerful (for a shell script language), and is very well documented.
- Because Bash and the Unix tools are stable like dinosaurs
(no meteorites expected)
, they're very reliable, and almost omnipresent. - Because by being slower and less powerful than other alternatives, it forces to compensate with a clearer vision, and to remain closer to the essentials.
- And because a sane, useful, clear, solid, and feature-packed script is
something to be-hold.
:'-)
Why Bash version 4? ↑
Mainly because Bash >=4 supports:
- Associative arrays.
- Case modification with parameter substitution.
- Globbing
See also Dependencies: Bash 4.
Why tabs? ↑
- Because a single tab perfectly indicates a single level of indentation.
- Because you can set the tab width to your preference and be happy, although remember that the project uses a default tab width of 4.
- Because only when using tabs here-document blocks can be indented too.
- Because separation of data and presentation, smaller file size...
What are the influences? ↑
webera is loosely inspired by:
- Statix as the original seed of inspiration that motivated the project, and triggered the commitment to see how far this idea could be taken.
- The Unix philosophy as the technological and philosophical substrate from where this application is nourished.
- The suckless philosophy as an inspiration and a reminder of the right attitude.
- The Swiss Army knife, as the canonical embodiment of versatility condensed in a small package.
- The Primitive Technology guy, as an inspiration and a reminder on how it's always possible to create handy useful human-supporting structures using the most fundamental tools.
- and more...
- Docs
- Howtos
- Technical Info
- Other