Compare commits

..

1 Commits

Author SHA1 Message Date
Timon Erhart
54454c8623
Merge 6016dcba8c into c40736ee0f 2024-12-08 23:20:09 -08:00
245 changed files with 301 additions and 495 deletions

3
.gitattributes vendored
View File

@ -1 +1,2 @@
*.md linguist-language=Markdown linguist-detectable *.html.markdown linguist-language=Markdown linguist-detectable
file.html.erb linguist-vendored

View File

@ -1,6 +1,6 @@
- [ ] I solemnly swear that this is all original content of which I am the original author - [ ] I solemnly swear that this is all original content of which I am the original author
- [ ] Pull request title is prepended with `[language/lang-code]` (example `[python/fr]` or `[java/en]`) - [ ] Pull request title is prepended with `[language/lang-code]` (example `[python/fr-fr]` or `[java/en]`)
- [ ] Pull request touches only one file (or a set of logically related files with similar changes made) - [ ] Pull request touches only one file (or a set of logically related files with similar changes made)
- [ ] Content changes are aimed at *intermediate to experienced programmers* (this is a poor format for explaining fundamental programming concepts) - [ ] Content changes are aimed at *intermediate to experienced programmers* (this is a poor format for explaining fundamental programming concepts)
- [ ] If you've changed any part of the YAML Frontmatter, make sure it is formatted according to [CONTRIBUTING.md](https://github.com/adambard/learnxinyminutes-docs/blob/master/CONTRIBUTING.md) - [ ] If you've changed any part of the YAML Frontmatter, make sure it is formatted according to [CONTRIBUTING.md](https://github.com/adambard/learnxinyminutes-docs/blob/master/CONTRIBUTING.markdown)
- [ ] Yes, I have double-checked quotes and field names! - [ ] Yes, I have double-checked quotes and field names!

View File

@ -17,10 +17,11 @@ review them more effectively and/or individually.
## Style Guidelines ## Style Guidelines
* **Keep lines under 80 chars** * **Keep lines under 80 chars**
* Try to keep line length in code blocks to 80 characters or fewer. * Try to keep **line length in code blocks to 80 characters or fewer**.
* Otherwise, the text will overflow and look odd. * Otherwise, the text will overflow and look odd.
* This and other potential pitfalls to format the content consistently are * This and other potential pitfalls to format the content consistently are
identified by [markdownlint](https://github.com/markdownlint/markdownlint). identified by the freely available
[markdownlint](https://github.com/markdownlint/markdownlint).
* **Prefer example to exposition** * **Prefer example to exposition**
* Try to use as few words as possible. * Try to use as few words as possible.
* Code examples are preferred over exposition in all cases. * Code examples are preferred over exposition in all cases.
@ -41,14 +42,14 @@ review them more effectively and/or individually.
### Header configuration ### Header configuration
The actual site generates HTML files from these Markdown ones. The actual site uses Middleman to generate HTML files from these Markdown ones.
The markdown files can contain extra metadata before the actual markdown, Middleman, or at least the custom scripts underpinning the site, requires that
called frontmatter. some key information be defined in the header.
The following fields are necessary for English articles about programming The following fields are necessary for English articles about programming
languages: languages:
* **name** The human-readable name of the programming language * **language** The *programming language* in question
* **contributors** A list of [author, URL] lists to credit * **contributors** A list of [author, URL] lists to credit
Other fields: Other fields:
@ -57,16 +58,17 @@ Other fields:
*tool* or *Algorithms & Data Structures*. Defaults to *language* if omitted. *tool* or *Algorithms & Data Structures*. Defaults to *language* if omitted.
* **filename**: The filename for this article's code. It will be fetched, mashed * **filename**: The filename for this article's code. It will be fetched, mashed
together, and made downloadable. together, and made downloadable.
* For non-English articles, *filename* should have a language-specific
suffix.
* **lang**: For translations, the human language this article is in. For
categorization, mostly.
Non-English articles inherit frontmatter values from the English article (if it exists) Here's an example header for an Esperanto translation of Ruby:
but you can overwrite them.
Here's an example header for Ruby:
```yaml ```yaml
*-- *--
name: Ruby language: Ruby
filename: learnruby.rb filename: learnruby-epo.ruby
contributors: contributors:
- ["Doktor Esperanto", "http://example.com/"] - ["Doktor Esperanto", "http://example.com/"]
- ["Someone else", "http://someoneelseswebsite.com/"] - ["Someone else", "http://someoneelseswebsite.com/"]
@ -75,7 +77,8 @@ contributors:
### Syntax highlighter ### Syntax highlighter
[Pygments](https://pygments.org/languages/) is used for syntax highlighting. [Pygments](https://pygments.org/languages/) is used for syntax highlighting through
[pygments.rb](https://github.com/pygments/pygments.rb).
### Should I add myself as a contributor? ### Should I add myself as a contributor?
@ -86,10 +89,12 @@ addition or not.
## Building the site locally ## Building the site locally
Install Python. On macOS this can be done with [Homebrew](https://brew.sh/). Install Ruby. On macOS this can be done with [Homebrew](https://brew.sh/).
```sh ```sh
brew install python brew install ruby
# Install Ruby package manager
gem install bundler
``` ```
Then clone two repos, install dependencies and run. Then clone two repos, install dependencies and run.
@ -102,12 +107,8 @@ git clone https://github.com/<YOUR-USERNAME>/learnxinyminutes-docs ./learnxinymi
# Install dependencies # Install dependencies
cd learnxinyminutes-site cd learnxinyminutes-site
pip install -r requirements.txt bundle install
# Run # Run
python build.py bundle exec middleman serve
cd build
python -m http.server
# open http://localhost:8000/ in your browser of choice
``` ```

View File

@ -40,6 +40,6 @@ Anything not covered by the above -- basically, this README -- you can use as
you wish, I guess. you wish, I guess.
[1]: https://learnxinyminutes.com [1]: http://learnxinyminutes.com
[2]: /CONTRIBUTING.md [2]: /CONTRIBUTING.md
[3]: http://creativecommons.org/licenses/by-sa/3.0/deed.en_US [3]: http://creativecommons.org/licenses/by-sa/3.0/deed.en_US

2
ada.md
View File

@ -1,5 +1,5 @@
--- ---
name: Ada language: Ada
filename: learn.ada filename: learn.ada
contributors: contributors:
- ["Luke A. Guest", "https://github.com/Lucretia"] - ["Luke A. Guest", "https://github.com/Lucretia"]

2
amd.md
View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: AMD tool: AMD
contributors: contributors:
- ["Frederik Ring", "https://github.com/m90"] - ["Frederik Ring", "https://github.com/m90"]
filename: learnamd.js filename: learnamd.js

View File

@ -1,6 +1,6 @@
--- ---
category: framework category: framework
name: AngularJS framework: AngularJS
contributors: contributors:
- ["Walter Cordero", "http://waltercordero.com"] - ["Walter Cordero", "http://waltercordero.com"]
filename: learnangular.txt filename: learnangular.txt

View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: Ansible tool: Ansible
contributors: contributors:
- ["Jakub Muszynski" , "http://github.com/sirkubax"] - ["Jakub Muszynski" , "http://github.com/sirkubax"]
- ["Pat Myron" , "https://github.com/patmyron"] - ["Pat Myron" , "https://github.com/patmyron"]

2
apl.md
View File

@ -1,5 +1,5 @@
--- ---
name: APL language: APL
contributors: contributors:
- ["nooodl", "https://github.com/nooodl"] - ["nooodl", "https://github.com/nooodl"]
filename: learnapl.apl filename: learnapl.apl

View File

@ -15,7 +15,7 @@ filename: learnpython-ar.py
لقد أُنشئت لغة البايثون بواسطة جايدو ڤان روسم في بداية التسعينات. هي الأن أحد أشهر اللغات الموجودة. لقد أُنشئت لغة البايثون بواسطة جايدو ڤان روسم في بداية التسعينات. هي الأن أحد أشهر اللغات الموجودة.
لقد أحببت لغة البايثون بسبب وضوحها. هي في الأساس عبارة عن سودوكود قابل للتنفيذ. لقد أحببت لغة البايثون بسبب وضوحها. هي في الأساس عبارة عن سودوكود قابل للتنفيذ.
ملحوظة: هذا المقال يُطبق على بايثون 3 فقط. راجع المقال [هنا](../pythonlegacy/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم ملحوظة: هذا المقال يُطبق على بايثون 3 فقط. راجع المقال [هنا](http://learnxinyminutes.com/docs/pythonlegacy/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم
```python ```python
# تعليق من سطر واحد يبدأ برمز الرقم. # تعليق من سطر واحد يبدأ برمز الرقم.

View File

@ -1,5 +1,5 @@
--- ---
name: Arturo language: Arturo
filename: learnarturo.art filename: learnarturo.art
contributors: contributors:
- ["Dr.Kameleon", "https://github.com/drkameleon"] - ["Dr.Kameleon", "https://github.com/drkameleon"]

View File

@ -1,5 +1,5 @@
--- ---
name: AsciiDoc language: AsciiDoc
contributors: contributors:
- ["Ryan Mavilia", "http://unoriginality.rocks/"] - ["Ryan Mavilia", "http://unoriginality.rocks/"]
- ["Abel Salgado Romero", "https://twitter.com/abelsromero"] - ["Abel Salgado Romero", "https://twitter.com/abelsromero"]

View File

@ -1,5 +1,5 @@
--- ---
name: AssemblyScript language: AssemblyScript
contributors: contributors:
- ["Philippe Vlérick", "https://github.com/pvlerick"] - ["Philippe Vlérick", "https://github.com/pvlerick"]
- ["Steve Huguenin-Elie", "https://github.com/StEvUgnIn"] - ["Steve Huguenin-Elie", "https://github.com/StEvUgnIn"]
@ -10,7 +10,7 @@ filename: learnassemblyscript.ts
__AssemblyScript__ compiles a variant of __TypeScript__ (basically JavaScript with types) to __WebAssembly__ using __Binaryen__. It generates lean and mean WebAssembly modules while being just an `npm install` away. __AssemblyScript__ compiles a variant of __TypeScript__ (basically JavaScript with types) to __WebAssembly__ using __Binaryen__. It generates lean and mean WebAssembly modules while being just an `npm install` away.
This article will focus only on AssemblyScript extra syntax, as opposed to [TypeScript](../typescript/) and [JavaScript](../javascript/). This article will focus only on AssemblyScript extra syntax, as opposed to [TypeScript](/docs/typescript) and [JavaScript](/docs/javascript).
To test AssemblyScript's compiler, head to the To test AssemblyScript's compiler, head to the
[Playground](https://www.assemblyscript.org/editor.html#IyFydW50aW1lPXN0dWIKLyoqIENhbGN1bGF0ZXMgdGhlIG4tdGggRmlib25hY2NpIG51bWJlci4gKi8KZXhwb3J0IGZ1bmN0aW9uIGZpYihuOiBpMzIpOiBpMzIgewogIHZhciBhID0gMCwgYiA9IDEKICBpZiAobiA+IDApIHsKICAgIHdoaWxlICgtLW4pIHsKICAgICAgbGV0IHQgPSBhICsgYgogICAgICBhID0gYgogICAgICBiID0gdAogICAgfQogICAgcmV0dXJuIGIKICB9CiAgcmV0dXJuIGEKfQoKIyFodG1sCjx0ZXh0YXJlYSBpZD0ib3V0cHV0IiBzdHlsZT0iaGVpZ2h0OiAxMDAlOyB3aWR0aDogMTAwJSIgcmVhZG9ubHk+PC90ZXh0YXJlYT4KPHNjcmlwdD4KbG9hZGVyLmluc3RhbnRpYXRlKG1vZHVsZV93YXNtLCB7IC8qIGltcG9ydHMgKi8gfSkKICAudGhlbigoeyBleHBvcnRzIH0pID0+IHsKICAgIGNvbnN0IG91dHB1dCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdvdXRwdXQnKQogICAgZm9yIChsZXQgaSA9IDA7IGkgPD0gMTA7ICsraSkgewogICAgICBvdXRwdXQudmFsdWUgKz0gYGZpYigke2l9KSA9ICR7ZXhwb3J0cy5maWIoaSl9XG5gCiAgICB9CiAgfSkKPC9zY3JpcHQ+Cg==) where you will be able [Playground](https://www.assemblyscript.org/editor.html#IyFydW50aW1lPXN0dWIKLyoqIENhbGN1bGF0ZXMgdGhlIG4tdGggRmlib25hY2NpIG51bWJlci4gKi8KZXhwb3J0IGZ1bmN0aW9uIGZpYihuOiBpMzIpOiBpMzIgewogIHZhciBhID0gMCwgYiA9IDEKICBpZiAobiA+IDApIHsKICAgIHdoaWxlICgtLW4pIHsKICAgICAgbGV0IHQgPSBhICsgYgogICAgICBhID0gYgogICAgICBiID0gdAogICAgfQogICAgcmV0dXJuIGIKICB9CiAgcmV0dXJuIGEKfQoKIyFodG1sCjx0ZXh0YXJlYSBpZD0ib3V0cHV0IiBzdHlsZT0iaGVpZ2h0OiAxMDAlOyB3aWR0aDogMTAwJSIgcmVhZG9ubHk+PC90ZXh0YXJlYT4KPHNjcmlwdD4KbG9hZGVyLmluc3RhbnRpYXRlKG1vZHVsZV93YXNtLCB7IC8qIGltcG9ydHMgKi8gfSkKICAudGhlbigoeyBleHBvcnRzIH0pID0+IHsKICAgIGNvbnN0IG91dHB1dCA9IGRvY3VtZW50LmdldEVsZW1lbnRCeUlkKCdvdXRwdXQnKQogICAgZm9yIChsZXQgaSA9IDA7IGkgPD0gMTA7ICsraSkgewogICAgICBvdXRwdXQudmFsdWUgKz0gYGZpYigke2l9KSA9ICR7ZXhwb3J0cy5maWIoaSl9XG5gCiAgICB9CiAgfSkKPC9zY3JpcHQ+Cg==) where you will be able

2
ats.md
View File

@ -1,5 +1,5 @@
--- ---
name: ATS language: ATS
contributors: contributors:
- ["Mark Barbone", "https://github.com/mb64"] - ["Mark Barbone", "https://github.com/mb64"]
filename: learnats.dats filename: learnats.dats

2
awk.md
View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: AWK tool: AWK
filename: learnawk.awk filename: learnawk.awk
contributors: contributors:
- ["Marshall Mason", "http://github.com/marshallmason"] - ["Marshall Mason", "http://github.com/marshallmason"]

View File

@ -1,5 +1,5 @@
--- ---
name: Ballerina language: Ballerina
contributors: contributors:
- ["Anjana Fernando", "https://github.com/lafernando"] - ["Anjana Fernando", "https://github.com/lafernando"]
filename: learn_ballerina.bal filename: learn_ballerina.bal

View File

@ -1,5 +1,5 @@
--- ---
name: Bash language: Bash
contributors: contributors:
- ["Max Yankov", "https://github.com/golergka"] - ["Max Yankov", "https://github.com/golergka"]
- ["Darren Lin", "https://github.com/CogBear"] - ["Darren Lin", "https://github.com/CogBear"]

2
bc.md
View File

@ -1,5 +1,5 @@
--- ---
name: bc language: bc
contributors: contributors:
- ["Btup"] - ["Btup"]
filename: learnbc.bc filename: learnbc.bc

3
bf.md
View File

@ -1,6 +1,5 @@
--- ---
name: BF language: BF
learn_x_in_y_name: brainfuck
filename: bf.bf filename: bf.bf
contributors: contributors:
- ["Prajit Ramachandran", "http://prajitr.github.io/"] - ["Prajit Ramachandran", "http://prajitr.github.io/"]

2
bqn.md
View File

@ -1,5 +1,5 @@
--- ---
name: BQN language: BQN
filename: learnbqn.bqn filename: learnbqn.bqn
contributors: contributors:
- ["Raghu Ranganathan", "https://github.com/razetime"] - ["Raghu Ranganathan", "https://github.com/razetime"]

2
c++.md
View File

@ -1,5 +1,5 @@
--- ---
name: C++ language: C++
filename: learncpp.cpp filename: learncpp.cpp
contributors: contributors:
- ["Steven Basart", "https://github.com/xksteven"] - ["Steven Basart", "https://github.com/xksteven"]

2
c.md
View File

@ -1,5 +1,5 @@
--- ---
name: C language: C
filename: learnc.c filename: learnc.c
contributors: contributors:
- ["Adam Bard", "http://adambard.com/"] - ["Adam Bard", "http://adambard.com/"]

View File

@ -1,5 +1,5 @@
--- ---
name: Chapel language: Chapel
filename: learnchapel.chpl filename: learnchapel.chpl
contributors: contributors:
- ["Ian J. Bertolacci", "https://www.cs.arizona.edu/~ianbertolacci/"] - ["Ian J. Bertolacci", "https://www.cs.arizona.edu/~ianbertolacci/"]

View File

@ -1,5 +1,5 @@
--- ---
name: "CHICKEN" language: "CHICKEN"
filename: CHICKEN.scm filename: CHICKEN.scm
contributors: contributors:
- ["Diwakar Wagle", "https://github.com/deewakar"] - ["Diwakar Wagle", "https://github.com/deewakar"]

View File

@ -1,5 +1,5 @@
--- ---
name: citron language: citron
filename: learncitron.ctr filename: learncitron.ctr
contributors: contributors:
- ["AnotherTest", ""] - ["AnotherTest", ""]

View File

@ -1,5 +1,5 @@
--- ---
name: Clojure macros language: Clojure macros
filename: learnclojuremacros.clj filename: learnclojuremacros.clj
contributors: contributors:
- ["Adam Bard", "http://adambard.com/"] - ["Adam Bard", "http://adambard.com/"]
@ -14,7 +14,7 @@ Use a macro only when you need control over when or if the arguments to a form w
be evaluated. be evaluated.
You'll want to be familiar with Clojure. Make sure you understand everything in You'll want to be familiar with Clojure. Make sure you understand everything in
[Clojure in Y Minutes](../clojure/). [Clojure in Y Minutes](/docs/clojure/).
```clojure ```clojure
;; Define a macro using defmacro. Your macro should output a list that can ;; Define a macro using defmacro. Your macro should output a list that can

View File

@ -1,5 +1,5 @@
--- ---
name: Clojure language: Clojure
filename: learnclojure.clj filename: learnclojure.clj
contributors: contributors:
- ["Adam Bard", "http://adambard.com/"] - ["Adam Bard", "http://adambard.com/"]

View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: CMake tool: CMake
contributors: contributors:
- ["Bruno Alano", "https://github.com/brunoalano"] - ["Bruno Alano", "https://github.com/brunoalano"]
filename: CMake filename: CMake

View File

@ -1,5 +1,5 @@
--- ---
name: COBOL language: COBOL
contributors: contributors:
- ["Hyphz", "http://github.com/hyphz/"] - ["Hyphz", "http://github.com/hyphz/"]
filename: learn.COB filename: learn.COB

View File

@ -1,5 +1,5 @@
--- ---
name: CoffeeScript language: CoffeeScript
contributors: contributors:
- ["Tenor Biel", "http://github.com/L8D"] - ["Tenor Biel", "http://github.com/L8D"]
- ["Xavier Yao", "http://github.com/xavieryao"] - ["Xavier Yao", "http://github.com/xavieryao"]

View File

@ -1,5 +1,5 @@
--- ---
name: ColdFusion language: ColdFusion
filename: learncoldfusion.cfm filename: learncoldfusion.cfm
contributors: contributors:
- ["Wayne Boka", "http://wboka.github.io"] - ["Wayne Boka", "http://wboka.github.io"]

View File

@ -1,6 +1,6 @@
--- ---
name: "Common Lisp" language: "Common Lisp"
filename: commonlisp.lisp filename: commonlisp.lisp
contributors: contributors:
- ["Paul Nathan", "https://github.com/pnathan"] - ["Paul Nathan", "https://github.com/pnathan"]

View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: Compojure tool: Compojure
contributors: contributors:
- ["Adam Bard", "http://adambard.com/"] - ["Adam Bard", "http://adambard.com/"]
filename: learncompojure.clj filename: learncompojure.clj

2
coq.md
View File

@ -1,5 +1,5 @@
--- ---
name: Coq language: Coq
filename: learncoq.v filename: learncoq.v
contributors: contributors:
- ["Philip Zucker", "http://www.philipzucker.com/"] - ["Philip Zucker", "http://www.philipzucker.com/"]

View File

@ -1,5 +1,5 @@
--- ---
name: Crystal language: Crystal
filename: learncrystal.cr filename: learncrystal.cr
contributors: contributors:
- ["Vitalii Elenhaupt", "http://veelenga.com"] - ["Vitalii Elenhaupt", "http://veelenga.com"]

View File

@ -12,7 +12,7 @@ které známe ze staticky typovaných jazyků.
Níže jsou popsané pouze vlastnosti jazyka Hack. Detaily ohledně jazyka PHP a jeho Níže jsou popsané pouze vlastnosti jazyka Hack. Detaily ohledně jazyka PHP a jeho
syntaxe pak najdete na těchto stránkách v samostatném syntaxe pak najdete na těchto stránkách v samostatném
[článku o PHP](/php/). [článku o PHP](http://learnxinyminutes.com/docs/php/).
```php ```php
<?hh <?hh

View File

@ -12,7 +12,7 @@ filename: learnpython-cz.py
Python byl vytvořen Guidem Van Rossum v raných 90. letech. Nyní je jedním z nejpopulárnějších jazyků. Python byl vytvořen Guidem Van Rossum v raných 90. letech. Nyní je jedním z nejpopulárnějších jazyků.
Zamiloval jsem si Python pro jeho syntaktickou čistotu - je to vlastně spustitelný pseudokód. Zamiloval jsem si Python pro jeho syntaktickou čistotu - je to vlastně spustitelný pseudokód.
Poznámka: Tento článek je zaměřen na Python 3. Zde se můžete [naučit starší Python 2.7](/pythonlegacy/). Poznámka: Tento článek je zaměřen na Python 3. Zde se můžete [naučit starší Python 2.7](http://learnxinyminutes.com/docs/pythonlegacy/).
```python ```python
# Jednořádkový komentář začíná křížkem # Jednořádkový komentář začíná křížkem

View File

@ -1,5 +1,5 @@
--- ---
name: C# language: C#
contributors: contributors:
- ["Irfan Charania", "https://github.com/irfancharania"] - ["Irfan Charania", "https://github.com/irfancharania"]
- ["Max Yankov", "https://github.com/golergka"] - ["Max Yankov", "https://github.com/golergka"]

2
css.md
View File

@ -1,5 +1,5 @@
--- ---
name: CSS language: CSS
contributors: contributors:
- ["Mohammad Valipour", "https://github.com/mvalipour"] - ["Mohammad Valipour", "https://github.com/mvalipour"]
- ["Marco Scannadinari", "https://github.com/marcoms"] - ["Marco Scannadinari", "https://github.com/marcoms"]

View File

@ -1,5 +1,6 @@
--- ---
category: Algorithms & Data Structures language: CSV
filename: learncsv.csv
contributors: contributors:
- [Timon Erhart, 'https://github.com/turbotimon/'] - [Timon Erhart, 'https://github.com/turbotimon/']
--- ---
@ -25,7 +26,7 @@ Bob, 25, 1998-11-02
Charlie, 35, 1988-03-21 Charlie, 35, 1988-03-21
``` ```
## Delimiters for Rows and Columns **Delimiters for Rows and Columns**
Rows are typically separated by line breaks (`\n` or `\r\n`), while columns Rows are typically separated by line breaks (`\n` or `\r\n`), while columns
(fields) are separated by a specific delimiter. Although commas are the most (fields) are separated by a specific delimiter. Although commas are the most
@ -43,7 +44,7 @@ Bob; 25; 45,75
Charlie; 35; 60,00 Charlie; 35; 60,00
``` ```
## Data Types **Data Types**
CSV files do not inherently define data types. Numbers and dates are stored as CSV files do not inherently define data types. Numbers and dates are stored as
plain text, and their interpretation depends on the software importing the plain text, and their interpretation depends on the software importing the
@ -58,7 +59,7 @@ Hello World, Interpreted as text (string)
"1234", Interpreted as text instead of a number "1234", Interpreted as text instead of a number
``` ```
## Quoting Strings and Special Characters **Quoting Strings and Special Characters**
Quoting strings is only required if the string contains the delimiter, special Quoting strings is only required if the string contains the delimiter, special
characters, or otherwise could be interpreted as a number. However, it is characters, or otherwise could be interpreted as a number. However, it is
@ -79,7 +80,7 @@ However, make sure that for one document, the quoting method is consistent.
For example, the last two examples of quoting with either "" or \" would For example, the last two examples of quoting with either "" or \" would
not be consistent and could cause problems. not be consistent and could cause problems.
## Encoding **Encoding**
Different encodings are used. Most modern CSV files use UTF-8 encoding, but Different encodings are used. Most modern CSV files use UTF-8 encoding, but
older systems might use others like ASCII or ISO-8859. older systems might use others like ASCII or ISO-8859.
@ -88,7 +89,7 @@ If the file is transferred or shared between different systems, it is a good
practice to explicitly define the encoding used, to avoid issues with practice to explicitly define the encoding used, to avoid issues with
character misinterpretation. character misinterpretation.
## More Resources ### More Resources
+ [Wikipedia](https://en.wikipedia.org/wiki/Comma-separated_values) + [Wikipedia](https://en.wikipedia.org/wiki/Comma-separated_values)
+ [RFC 4180](https://datatracker.ietf.org/doc/html/rfc4180) + [RFC 4180](https://datatracker.ietf.org/doc/html/rfc4180)

3
cue.md
View File

@ -1,5 +1,6 @@
--- ---
name: CUE category: language
language: CUE
filename: learncue.cue filename: learncue.cue
contributors: contributors:
- ["Daniel Cox", "https://github.com/danielpcox"] - ["Daniel Cox", "https://github.com/danielpcox"]

View File

@ -1,5 +1,5 @@
--- ---
name: Cypher language: Cypher
filename: LearnCypher.cql filename: LearnCypher.cql
contributors: contributors:
- ["Théo Gauchoux", "https://github.com/TheoGauchoux"] - ["Théo Gauchoux", "https://github.com/TheoGauchoux"]

2
d.md
View File

@ -1,5 +1,5 @@
--- ---
name: D language: D
filename: learnd.d filename: learnd.d
contributors: contributors:
- ["Nick Papanastasiou", "www.nickpapanastasiou.github.io"] - ["Nick Papanastasiou", "www.nickpapanastasiou.github.io"]

View File

@ -1,5 +1,5 @@
--- ---
name: Dart language: Dart
filename: learndart.dart filename: learndart.dart
contributors: contributors:
- ["Joao Pedrosa", "https://github.com/jpedrosa/"] - ["Joao Pedrosa", "https://github.com/jpedrosa/"]

View File

@ -16,7 +16,7 @@ Sei aber vorsichtig, es wird als schlechter Stil angesehen, wenn du
ein Macro schreibst, obwohl eine Funktion genauso gut funktionieren würde. ein Macro schreibst, obwohl eine Funktion genauso gut funktionieren würde.
Verwende nur dann ein Macro, wenn du Kontrolle darüber brauchst, wann oder ob Argumente in einer Form evaluiert werden. Verwende nur dann ein Macro, wenn du Kontrolle darüber brauchst, wann oder ob Argumente in einer Form evaluiert werden.
Wenn du mit Clojure vertraut sein möchtest, stelle sicher, dass du alles in [Clojure in Y Minutes](../clojure/) verstehst. Wenn du mit Clojure vertraut sein möchtest, stelle sicher, dass du alles in [Clojure in Y Minutes](/docs/clojure/) verstehst.
```clojure ```clojure
;; Definiere ein Macro mit defmacro. Dein Macro sollte eine Liste zurückgeben, ;; Definiere ein Macro mit defmacro. Dein Macro sollte eine Liste zurückgeben,

View File

@ -15,7 +15,7 @@ Typisierung der Sprache, die eine wesentlich höhere Performance erlaubt.
Hier werden nur Hack-spezifische Eigenschaften beschrieben. Details über PHP's Hier werden nur Hack-spezifische Eigenschaften beschrieben. Details über PHP's
Syntax findet man im [PHP Artikel](/php/) dieser Syntax findet man im [PHP Artikel](http://learnxinyminutes.com/docs/php/) dieser
Seite. Seite.
```php ```php

View File

@ -11,7 +11,7 @@ translators:
[Paren](https://bitbucket.org/ktg/paren) ist ein Dialekt von Lisp. [Paren](https://bitbucket.org/ktg/paren) ist ein Dialekt von Lisp.
Es ist als eingebettete Sprache konzipiert. Es ist als eingebettete Sprache konzipiert.
Manche Beispiele sind von [Racket](/racket/). Manche Beispiele sind von <http://learnxinyminutes.com/docs/racket/>.
```scheme ```scheme
;;; Kommentare ;;; Kommentare

View File

@ -10,7 +10,7 @@ filename: learnpython-de.py
Anmerkungen des ursprünglichen Autors: Anmerkungen des ursprünglichen Autors:
Python wurde in den frühen Neunzigern von Guido van Rossum entworfen. Es ist heute eine der beliebtesten Sprachen. Ich habe mich in Python wegen seiner syntaktischen Übersichtlichkeit verliebt. Eigentlich ist es ausführbarer Pseudocode. Python wurde in den frühen Neunzigern von Guido van Rossum entworfen. Es ist heute eine der beliebtesten Sprachen. Ich habe mich in Python wegen seiner syntaktischen Übersichtlichkeit verliebt. Eigentlich ist es ausführbarer Pseudocode.
Hinweis: Dieser Beitrag bezieht sich implizit auf Python 3. Falls du lieber Python 2.7 lernen möchtest, schau [hier](/pythonlegacy/) weiter. Beachte hierbei, Hinweis: Dieser Beitrag bezieht sich implizit auf Python 3. Falls du lieber Python 2.7 lernen möchtest, schau [hier](http://learnxinyminutes.com/docs/pythonlegacy/) weiter. Beachte hierbei,
dass Python 2 als veraltet gilt und für neue Projekte nicht mehr verwendet werden sollte. dass Python 2 als veraltet gilt und für neue Projekte nicht mehr verwendet werden sollte.
```python ```python

View File

@ -10,7 +10,7 @@ translators:
die auf verschiedenen Hard- und Softwareplattformen mit wenig oder keinen Veränderungen im Code läuft. die auf verschiedenen Hard- und Softwareplattformen mit wenig oder keinen Veränderungen im Code läuft.
Dabei besitzt man die Power und Geschwindigkeit von nativen Anwendungen. Dabei besitzt man die Power und Geschwindigkeit von nativen Anwendungen.
Obwohl **Qt** ursprünglich in *C++* geschrieben wurde, Obwohl **Qt** ursprünglich in *C++* geschrieben wurde,
gibt es verschiedene Ports für andere Sprachen: *[PyQt](../pyqt/)*, *QtRuby*, *PHP-Qt*, etc. gibt es verschiedene Ports für andere Sprachen: *[PyQt](https://learnxinyminutes.com/docs/pyqt/)*, *QtRuby*, *PHP-Qt*, etc.
**Qt** eignet sich hervorragend zum Erstellen von Anwendungen mit grafischer Benutzeroberfläche (GUI). **Qt** eignet sich hervorragend zum Erstellen von Anwendungen mit grafischer Benutzeroberfläche (GUI).
Dieses Tutorial zeigt, wie man das in *C++* macht. Dieses Tutorial zeigt, wie man das in *C++* macht.

View File

@ -1,5 +1,5 @@
--- ---
name: Dhall language: Dhall
filename: learndhall.dhall filename: learndhall.dhall
contributors: contributors:
- ["Gabriel Gonzalez", "http://www.haskellforall.com/"] - ["Gabriel Gonzalez", "http://www.haskellforall.com/"]

View File

@ -1,6 +1,6 @@
--- ---
category: framework category: framework
name: DirectX 9 framework: DirectX 9
filename: learndirectx9.cpp filename: learndirectx9.cpp
contributors: contributors:
- ["Simon Deitermann", "s.f.deitermann@t-online.de"] - ["Simon Deitermann", "s.f.deitermann@t-online.de"]

View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: Docker tool: Docker
filename: docker.bat filename: docker.bat
contributors: contributors:
- ["Ruslan López", "http://javapro.org/"] - ["Ruslan López", "http://javapro.org/"]

View File

@ -1,5 +1,5 @@
--- ---
name: Easylang language: Easylang
contributors: contributors:
- ["chkas", "https://github.com/chkas"] - ["chkas", "https://github.com/chkas"]
filename: easylang.el filename: easylang.el

2
edn.md
View File

@ -1,5 +1,5 @@
--- ---
name: EDN language: EDN
filename: learnedn.edn filename: learnedn.edn
contributors: contributors:
- ["Jason Yeo", "https://github.com/jsyeo"] - ["Jason Yeo", "https://github.com/jsyeo"]

View File

@ -14,7 +14,7 @@ filename: learnpython-gr.py
δημοφιλείς γλώσσες. Ερωτευεται κανείς την python για τη συντακτική της απλότητα. δημοφιλείς γλώσσες. Ερωτευεται κανείς την python για τη συντακτική της απλότητα.
Βασικά είναι εκτελέσιμος ψευδοκώδικας. Βασικά είναι εκτελέσιμος ψευδοκώδικας.
Σημείωση: Το παρόν άρθρο ασχολείται μόνο με την Python 3. Δείτε [εδώ](/pythonlegacy/) αν θέλετε να μάθετε την παλιά Python 2.7 Σημείωση: Το παρόν άρθρο ασχολείται μόνο με την Python 3. Δείτε [εδώ](http://learnxinyminutes.com/docs/pythonlegacy/) αν θέλετε να μάθετε την παλιά Python 2.7
```python ```python
# Τα σχόλια μίας γραμμής ξεκινούν με # # Τα σχόλια μίας γραμμής ξεκινούν με #

View File

@ -1,5 +1,5 @@
--- ---
name: Emacs Lisp language: Emacs Lisp
contributors: contributors:
- ["Bastien Guerry", "https://bzg.fr"] - ["Bastien Guerry", "https://bzg.fr"]
- ["Saurabh Sandav", "http://github.com/SaurabhSandav"] - ["Saurabh Sandav", "http://github.com/SaurabhSandav"]

View File

@ -1,5 +1,5 @@
--- ---
name: Elixir language: Elixir
contributors: contributors:
- ["Joao Marques", "https://github.com/mrshankly"] - ["Joao Marques", "https://github.com/mrshankly"]
- ["Dzianis Dashkevich", "https://github.com/dskecse"] - ["Dzianis Dashkevich", "https://github.com/dskecse"]

2
elm.md
View File

@ -1,5 +1,5 @@
--- ---
name: Elm language: Elm
contributors: contributors:
- ["Max Goldstein", "http://maxgoldste.in/"] - ["Max Goldstein", "http://maxgoldste.in/"]
filename: learnelm.elm filename: learnelm.elm

View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: Emacs tool: Emacs
filename: emacs.txt filename: emacs.txt
contributors: contributors:
- ["Joseph Riad", "https://github.com/Joseph-Riad"] - ["Joseph Riad", "https://github.com/Joseph-Riad"]

View File

@ -1,5 +1,5 @@
--- ---
name: Erlang language: Erlang
contributors: contributors:
- ["Giovanni Cappellotto", "http://giovanni.curlybrackets.it/"] - ["Giovanni Cappellotto", "http://giovanni.curlybrackets.it/"]
filename: learnerlang.erl filename: learnerlang.erl

View File

@ -1,5 +1,5 @@
--- ---
name: curto language: curto
contributors: contributors:
- ["Maleza", "https://maleza.srht.site/"] - ["Maleza", "https://maleza.srht.site/"]
filename: learncurto-es.fs filename: learncurto-es.fs

View File

@ -9,7 +9,7 @@ filename: learnhack-es.hh
Hack es un superconjunto de PHP que se ejecuta en una máquina virtual llamada HHVM. Hack es casi totalmente compatible con código PHP ya existente y añade varias características típicas de los lenguajes de programación estáticamente tipados. Hack es un superconjunto de PHP que se ejecuta en una máquina virtual llamada HHVM. Hack es casi totalmente compatible con código PHP ya existente y añade varias características típicas de los lenguajes de programación estáticamente tipados.
En este artículo sólo se cubren las características específicas de Hack. Los detalles sobre la sintaxis de PHP están en el [artículo sobre PHP](../php/) de esta misma web. En este artículo sólo se cubren las características específicas de Hack. Los detalles sobre la sintaxis de PHP están en el [artículo sobre PHP](http://learnxinyminutes.com/docs/php/) de esta misma web.
```php ```php
<?hh <?hh

View File

@ -8,7 +8,7 @@ filename: jquery-es.js
jQuery es una librería de JavaScript que le ayuda a "hacer más y escribir menos". Esto hace que muchas de las tareas comunes de JavaScript sean más fáciles de escribir. jQuery es utilizado por muchas de las grandes empresas y desarrolladores de todo el mundo. Hace que AJAX, la gestión de eventos, la manipulación de documentos, y mucho más, sea más fácil y rápido. jQuery es una librería de JavaScript que le ayuda a "hacer más y escribir menos". Esto hace que muchas de las tareas comunes de JavaScript sean más fáciles de escribir. jQuery es utilizado por muchas de las grandes empresas y desarrolladores de todo el mundo. Hace que AJAX, la gestión de eventos, la manipulación de documentos, y mucho más, sea más fácil y rápido.
Debido a que jQuery es una librería de JavaScript debes [aprender JavaScript primero](../javascript/) Debido a que jQuery es una librería de JavaScript debes [aprender JavaScript primero](https://learnxinyminutes.com/docs/es-es/javascript-es/)
```js ```js
/////////////////////////////////// ///////////////////////////////////

View File

@ -659,7 +659,7 @@ require(plyr)
# "pets.csv" es un archivo en internet # "pets.csv" es un archivo en internet
# (pero puede ser tan fácil como tener el archivo en tu computadora) # (pero puede ser tan fácil como tener el archivo en tu computadora)
pets <- read.csv("https://learnxinyminutes.com/pets.csv") pets <- read.csv("http://learnxinyminutes.com/docs/pets.csv")
pets pets
head(pets, 2) # primeras dos filas head(pets, 2) # primeras dos filas
tail(pets, 1) # última fila tail(pets, 1) # última fila

View File

@ -10,7 +10,7 @@ TypeScript es un lenguaje cuyo objetivo es facilitar el desarrollo de aplicacion
TypeScript añade conceptos comunes como clases, módulos, interfaces, genéricos y (opcionalmente) tipeo estático a JavaScript. TypeScript añade conceptos comunes como clases, módulos, interfaces, genéricos y (opcionalmente) tipeo estático a JavaScript.
Es un superset de JavaScript: todo el código JavaScript es código válido en TypeScript de manera que se puede integrar fácilmente a cualquier proyecto . El compilador TypeScript emite JavaScript. Es un superset de JavaScript: todo el código JavaScript es código válido en TypeScript de manera que se puede integrar fácilmente a cualquier proyecto . El compilador TypeScript emite JavaScript.
Este artículo se enfocará solo en la sintáxis extra de TypeScript, y no en [JavaScript](../javascript/). Este artículo se enfocará solo en la sintáxis extra de TypeScript, y no en [JavaScript](../javascript-es/).
Para probar el compilador de TypeScript, diríjase al [Área de Pruebas](https://www.typescriptlang.org/Playground) donde podrá tipear código, y ver como se auto-completa al tiempo que ve el código emitido JavaScript. Para probar el compilador de TypeScript, diríjase al [Área de Pruebas](https://www.typescriptlang.org/Playground) donde podrá tipear código, y ver como se auto-completa al tiempo que ve el código emitido JavaScript.

View File

@ -1,5 +1,5 @@
--- ---
name: Factor language: Factor
contributors: contributors:
- ["hyphz", "http://github.com/hyphz/"] - ["hyphz", "http://github.com/hyphz/"]
filename: learnfactor.factor filename: learnfactor.factor

View File

@ -1,5 +1,5 @@
--- ---
name: fish language: fish
contributors: contributors:
- ["MySurmise", "https://github.com/MySurmise"] - ["MySurmise", "https://github.com/MySurmise"]
- ["Geo Maciolek", "https://github.com/GeoffMaciolek"] - ["Geo Maciolek", "https://github.com/GeoffMaciolek"]

View File

@ -1,5 +1,5 @@
--- ---
name: Forth language: Forth
contributors: contributors:
- ["Horse M.D.", "http://github.com/HorseMD/"] - ["Horse M.D.", "http://github.com/HorseMD/"]
filename: learnforth.fs filename: learnforth.fs

View File

@ -1,5 +1,5 @@
--- ---
name: Fortran language: Fortran
contributors: contributors:
- ["Robert Steed", "https://github.com/robochat"] - ["Robert Steed", "https://github.com/robochat"]
filename: learnfortran.f90 filename: learnfortran.f90

View File

@ -9,7 +9,7 @@ filename: jquery-fr.js
jQuery est une bibliothèque JavaScript dont le but est de permettre de "faire plus en écrivant moins" (do more, write less). Elle facilite l'écriture de nombreuses fonctions, notamment au niveau d'AJAX, de la gestion d'événements, ou encore de la manipulation de documents. jQuery est une bibliothèque JavaScript dont le but est de permettre de "faire plus en écrivant moins" (do more, write less). Elle facilite l'écriture de nombreuses fonctions, notamment au niveau d'AJAX, de la gestion d'événements, ou encore de la manipulation de documents.
C'est pourquoi aujourd'hui, jQuery est utilisée par de nombreuses grandes entreprises et par des développeurs du monde entier. C'est pourquoi aujourd'hui, jQuery est utilisée par de nombreuses grandes entreprises et par des développeurs du monde entier.
Étant donné que jQuery est une bibliothèque JavaScript, vous devriez d'abord [apprendre le JavaScript](./javascript/) Étant donné que jQuery est une bibliothèque JavaScript, vous devriez d'abord [apprendre le JavaScript](https://learnxinyminutes.com/docs/fr-fr/javascript-fr/)
```js ```js
/////////////////////////////////// ///////////////////////////////////

View File

@ -14,7 +14,7 @@ Python a été créé par Guido Van Rossum au début des années 90. C'est maint
langages les plus populaires. Je suis tombé amoureux de Python pour la clarté de sa syntaxe. langages les plus populaires. Je suis tombé amoureux de Python pour la clarté de sa syntaxe.
C'est tout simplement du pseudo-code exécutable. C'est tout simplement du pseudo-code exécutable.
Note : Cet article s'applique spécifiquement à Python 3. Jettez un coup d'oeil [ici](../pythonlegacy/) pour apprendre le vieux Python 2.7 Note : Cet article s'applique spécifiquement à Python 3. Jettez un coup d'oeil [ici](http://learnxinyminutes.com/docs/fr-fr/python-fr/) pour apprendre le vieux Python 2.7
```python ```python
# Un commentaire d'une ligne commence par un dièse # Un commentaire d'une ligne commence par un dièse

View File

@ -10,7 +10,7 @@ translators:
Python a été créé par Guido Van Rossum au début des années 90. C'est maintenant un des langages de programmation les plus populaires. Python a été créé par Guido Van Rossum au début des années 90. C'est maintenant un des langages de programmation les plus populaires.
Je suis tombé amoureux de Python de par la clarté de sa syntaxe. C'est pratiquement du pseudo-code exécutable. Je suis tombé amoureux de Python de par la clarté de sa syntaxe. C'est pratiquement du pseudo-code exécutable.
N.B. : Cet article s'applique spécifiquement à Python 2.7, mais devrait s'appliquer pour toute version Python 2.x. Python 2.7 est en fin de vie et ne sera plus maintenu à partir de 2020, il est donc recommandé d'apprendre Python avec Python 3. Pour Python 3.x, il existe un autre [tutoriel pour Python 3](../python/). N.B. : Cet article s'applique spécifiquement à Python 2.7, mais devrait s'appliquer pour toute version Python 2.x. Python 2.7 est en fin de vie et ne sera plus maintenu à partir de 2020, il est donc recommandé d'apprendre Python avec Python 3. Pour Python 3.x, il existe un autre [tutoriel pour Python 3](http://learnxinyminutes.com/docs/fr-fr/python3-fr/).
```python ```python
# Une ligne simple de commentaire commence par un dièse # Une ligne simple de commentaire commence par un dièse

View File

@ -688,7 +688,7 @@ require(plyr)
# "pets.csv" est un fichier sur internet # "pets.csv" est un fichier sur internet
# (mais il pourrait être tout aussi facilement sur votre ordinateur) # (mais il pourrait être tout aussi facilement sur votre ordinateur)
pets <- read.csv("https://learnxinyminutes.com/pets.csv") pets <- read.csv("http://learnxinyminutes.com/docs/pets.csv")
pets pets
head(pets, 2) # first two rows head(pets, 2) # first two rows
tail(pets, 1) # last row tail(pets, 1) # last row

View File

@ -10,7 +10,7 @@ TypeScript est un langage visant à faciliter le développement d'applications l
TypeScript ajoute des concepts classiques comme les classes, les modules, les interfaces, les génériques et le typage statique (optionnel) à JavaScript. TypeScript ajoute des concepts classiques comme les classes, les modules, les interfaces, les génériques et le typage statique (optionnel) à JavaScript.
C'est une surcouche de JavaScript : tout le code JavaScript est valide en TypeScript ce qui permet de l'ajouter de façon transparente à n'importe quel projet. Le code TypeScript est transcompilé en JavaScript par le compilateur. C'est une surcouche de JavaScript : tout le code JavaScript est valide en TypeScript ce qui permet de l'ajouter de façon transparente à n'importe quel projet. Le code TypeScript est transcompilé en JavaScript par le compilateur.
Cet article se concentrera seulement sur la syntaxe supplémentaire de TypeScript, plutôt que celle de [JavaScript](../javascript/). Cet article se concentrera seulement sur la syntaxe supplémentaire de TypeScript, plutôt que celle de [JavaScript](../javascript-fr/).
Pour tester le compilateur de TypeScript, rendez-vous au [Playground](https://www.typescriptlang.org/Playground) où vous pourrez coder, profiter d'une autocomplétion et accéder directement au rendu JavaScript. Pour tester le compilateur de TypeScript, rendez-vous au [Playground](https://www.typescriptlang.org/Playground) où vous pourrez coder, profiter d'une autocomplétion et accéder directement au rendu JavaScript.

View File

@ -1,5 +1,5 @@
--- ---
name: F# language: F#
contributors: contributors:
- ["Scott Wlaschin", "http://fsharpforfunandprofit.com/"] - ["Scott Wlaschin", "http://fsharpforfunandprofit.com/"]
filename: learnfsharp.fs filename: learnfsharp.fs

View File

@ -1,5 +1,5 @@
--- ---
name: GDScript language: GDScript
contributors: contributors:
- ["Wichamir", "https://github.com/Wichamir/"] - ["Wichamir", "https://github.com/Wichamir/"]
- ["zacryol", "https://github.com/zacryol"] - ["zacryol", "https://github.com/zacryol"]

2
git.md
View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: Git tool: Git
contributors: contributors:
- ["Jake Prather", "http://github.com/JakeHP"] - ["Jake Prather", "http://github.com/JakeHP"]
- ["Leo Rudberg" , "http://github.com/LOZORD"] - ["Leo Rudberg" , "http://github.com/LOZORD"]

View File

@ -1,5 +1,5 @@
--- ---
name: Gleam language: Gleam
contributors: contributors:
- ["Antonio Ognio", "https://github.com/aognio/"] - ["Antonio Ognio", "https://github.com/aognio/"]
filename: learngleam.gleam filename: learngleam.gleam

3
go.md
View File

@ -1,5 +1,6 @@
--- ---
name: Go category: language
language: Go
filename: learngo.go filename: learngo.go
contributors: contributors:
- ["Sonia Keys", "https://github.com/soniakeys"] - ["Sonia Keys", "https://github.com/soniakeys"]

View File

@ -1,5 +1,5 @@
--- ---
name: GolfScript language: GolfScript
filename: golfscript.gs filename: golfscript.gs
contributors: contributors:
- ["Nicholas S Georgescu", "http://github.com/ngeorgescu"] - ["Nicholas S Georgescu", "http://github.com/ngeorgescu"]

View File

@ -1,5 +1,5 @@
--- ---
name: Groovy language: Groovy
filename: learngroovy.groovy filename: learngroovy.groovy
contributors: contributors:
- ["Roberto Pérez Alcolea", "http://github.com/rpalcolea"] - ["Roberto Pérez Alcolea", "http://github.com/rpalcolea"]

View File

@ -1,5 +1,5 @@
--- ---
name: Hack language: Hack
contributors: contributors:
- ["Andrew DiMola", "https://github.com/AndrewDiMola"] - ["Andrew DiMola", "https://github.com/AndrewDiMola"]
- ["Stephen Holdaway", "https://github.com/stecman"] - ["Stephen Holdaway", "https://github.com/stecman"]

View File

@ -1,5 +1,5 @@
--- ---
name: Haml language: Haml
filename: learnhaml.haml filename: learnhaml.haml
contributors: contributors:
- ["Simon Neveu", "https://github.com/sneveu"] - ["Simon Neveu", "https://github.com/sneveu"]

View File

@ -1,5 +1,5 @@
--- ---
name: Haskell language: Haskell
filename: learnhaskell.hs filename: learnhaskell.hs
contributors: contributors:
- ["Adit Bhargava", "http://adit.io"] - ["Adit Bhargava", "http://adit.io"]
@ -66,7 +66,6 @@ True || False -- True
['H', 'e', 'l', 'l', 'o'] -- "Hello" ['H', 'e', 'l', 'l', 'o'] -- "Hello"
-- Lists can be indexed with the `!!` operator followed by an index -- Lists can be indexed with the `!!` operator followed by an index
-- but this is an O(n) operation because lists are linked lists
"This is a string" !! 0 -- 'T' "This is a string" !! 0 -- 'T'
@ -274,7 +273,7 @@ case args of
map (*2) [1..5] -- [2, 4, 6, 8, 10] map (*2) [1..5] -- [2, 4, 6, 8, 10]
-- you can make a for function using map -- you can make a for function using map
for list func = map func list for array func = map func array
-- and then use it -- and then use it
for [0..5] $ \i -> show i for [0..5] $ \i -> show i
@ -282,9 +281,6 @@ for [0..5] $ \i -> show i
-- we could've written that like this too: -- we could've written that like this too:
for [0..5] show for [0..5] show
-- filter keeps only the elements in a list that satisfy a condition
filter even [1..10] -- [2, 4, 8, 10]
-- You can use foldl or foldr to reduce a list -- You can use foldl or foldr to reduce a list
-- foldl <fn> <initial value> <list> -- foldl <fn> <initial value> <list>
foldl (\x y -> 2*x + y) 4 [1,2,3] -- 43 foldl (\x y -> 2*x + y) 4 [1,2,3] -- 43

View File

@ -1,5 +1,5 @@
--- ---
name: Haxe language: Haxe
filename: LearnHaxe3.hx filename: LearnHaxe3.hx
contributors: contributors:
- ["Justin Donaldson", "https://github.com/jdonaldson/"] - ["Justin Donaldson", "https://github.com/jdonaldson/"]

2
hcl.md
View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: HCL tool: HCL
contributors: contributors:
- ["Romans Malinovskis" , "http://github.com/romaninsh"] - ["Romans Malinovskis" , "http://github.com/romaninsh"]
filename: terraform.txt filename: terraform.txt

2
hdl.md
View File

@ -1,5 +1,5 @@
--- ---
name: HDL language: HDL
filename: learnhdl.hdl filename: learnhdl.hdl
contributors: contributors:
- ["Jack Smith", "https://github.com/JSmithTech2019"] - ["Jack Smith", "https://github.com/JSmithTech2019"]

View File

@ -1,11 +1,11 @@
--- ---
name: Hjson language: Hjson
filename: learnhjson.hjson filename: learnhjson.hjson
contributors: contributors:
- ["MrTeferi", "https://github.com/MrTeferi"] - ["MrTeferi", "https://github.com/MrTeferi"]
--- ---
Hjson is an attempt to make [JSON](../json/) more human readable. Hjson is an attempt to make [JSON](https://learnxinyminutes.com/docs/json/) more human readable.
Hjson is a syntax extension to JSON. Hjson is a syntax extension to JSON.
It's NOT a proposal to replace JSON or to incorporate it into the JSON spec itself. It's NOT a proposal to replace JSON or to incorporate it into the JSON spec itself.

View File

@ -1,5 +1,5 @@
--- ---
name: HOCON language: HOCON
filename: learnhocon.conf filename: learnhocon.conf
contributors: contributors:
- [TehBrian, 'https://tehbrian.xyz'] - [TehBrian, 'https://tehbrian.xyz']

View File

@ -1,5 +1,5 @@
--- ---
name: HQ9+ language: HQ9+
filename: hq9+.txt filename: hq9+.txt
contributors: contributors:
- ["Alexey Nazaroff", "https://github.com/rogaven"] - ["Alexey Nazaroff", "https://github.com/rogaven"]

View File

@ -1,5 +1,5 @@
--- ---
name: HTML language: HTML
filename: learnhtml.txt filename: learnhtml.txt
contributors: contributors:
- ["Christophe THOMAS", "https://github.com/WinChris"] - ["Christophe THOMAS", "https://github.com/WinChris"]

View File

@ -1,6 +1,6 @@
--- ---
category: tool category: tool
name: HTTPie tool: HTTPie
contributors: contributors:
- ["Adaías Magdiel", "https://github.com/AdaiasMagdiel"] - ["Adaías Magdiel", "https://github.com/AdaiasMagdiel"]
filename: learn-httpie.sh filename: learn-httpie.sh

View File

@ -18,7 +18,7 @@ bele. Tulajdonképpen futtatható pszeudokód.
Figyelem: ez a leírás a Python 2.7 verziójára vonatkozik, illetve Figyelem: ez a leírás a Python 2.7 verziójára vonatkozik, illetve
általánosságban a 2.x verziókra. A Python 2.7 azonban már csak 2020-ig lesz általánosságban a 2.x verziókra. A Python 2.7 azonban már csak 2020-ig lesz
támogatva, ezért kezdőknek ajánlott, hogy a Python 3-mal kezdjék az támogatva, ezért kezdőknek ajánlott, hogy a Python 3-mal kezdjék az
ismerkedést. A Python 3.x verzióihoz a [Python 3 bemutató](/python/) ismerkedést. A Python 3.x verzióihoz a [Python 3 bemutató](http://learnxinyminutes.com/docs/python/)
ajánlott. ajánlott.
Lehetséges olyan Python kódot írni, ami egyszerre kompatibilis a 2.7 és a 3.x Lehetséges olyan Python kódot írni, ami egyszerre kompatibilis a 2.7 és a 3.x

2
hy.md
View File

@ -1,5 +1,5 @@
--- ---
name: Hy language: Hy
filename: learnhy.hy filename: learnhy.hy
contributors: contributors:
- ["Abhishek L", "http://twitter.com/abhishekl"] - ["Abhishek L", "http://twitter.com/abhishekl"]

View File

@ -1,5 +1,5 @@
--- ---
name: Inform7 language: Inform7
contributors: contributors:
- ["Hyphz", "http://github.com/hyphz/"] - ["Hyphz", "http://github.com/hyphz/"]
filename: LearnInform.Inform filename: LearnInform.Inform

View File

@ -8,7 +8,7 @@ translators:
jQuery è una libreria JavaScript che ti aiuta a "fare di più, scrivendo meno". Rende molte attività comuni di JavaScript più facili da scrivere. jQuery è utilizzato da molte grandi aziende e sviluppatori in tutto il mondo. Rende AJAX, gestione degli eventi, manipolazione dei documenti e molto altro, più facile e veloce. jQuery è una libreria JavaScript che ti aiuta a "fare di più, scrivendo meno". Rende molte attività comuni di JavaScript più facili da scrivere. jQuery è utilizzato da molte grandi aziende e sviluppatori in tutto il mondo. Rende AJAX, gestione degli eventi, manipolazione dei documenti e molto altro, più facile e veloce.
Visto che jQuery è una libreria JavaScript dovresti prima [imparare JavaScript](../javascript/) Visto che jQuery è una libreria JavaScript dovresti prima [imparare JavaScript](https://learnxinyminutes.com/docs/javascript/)
```js ```js
/////////////////////////////////// ///////////////////////////////////

View File

@ -15,7 +15,7 @@ translators:
Python è stato creato da Guido Van Rossum agli inizi degli anni 90. Oggi è uno dei più popolari linguaggi esistenti. Mi sono innamorato di Python per la sua chiarezza sintattica. E' sostanzialmente pseudocodice eseguibile. Python è stato creato da Guido Van Rossum agli inizi degli anni 90. Oggi è uno dei più popolari linguaggi esistenti. Mi sono innamorato di Python per la sua chiarezza sintattica. E' sostanzialmente pseudocodice eseguibile.
Nota: Questo articolo è riferito a Python 3 in modo specifico. Se volete avete la necessità di utilizzare Python 2.7 potete consultarla [qui](../pythonlegacy/) Nota: Questo articolo è riferito a Python 3 in modo specifico. Se volete avete la necessità di utilizzare Python 2.7 potete consultarla [qui](https://learnxinyminutes.com/docs/it-it/python-it/)
```python ```python
# I commenti su una sola linea iniziano con un cancelletto # I commenti su una sola linea iniziano con un cancelletto

View File

@ -16,7 +16,7 @@ pseudocodice eseguibile.
Nota: questo articolo è riferito a Python 2.7 in modo specifico, ma dovrebbe andar Nota: questo articolo è riferito a Python 2.7 in modo specifico, ma dovrebbe andar
bene anche per Python 2.x. Python 2.7 sta raggiungendo il "fine vita", ovvero non sarà bene anche per Python 2.x. Python 2.7 sta raggiungendo il "fine vita", ovvero non sarà
più supportato nel 2020. Quindi è consigliato imparare Python utilizzando Python 3. più supportato nel 2020. Quindi è consigliato imparare Python utilizzando Python 3.
Per maggiori informazioni su Python 3.x, dai un'occhiata al [tutorial di Python 3](../python/). Per maggiori informazioni su Python 3.x, dai un'occhiata al [tutorial di Python 3](http://learnxinyminutes.com/docs/python/).
E' possibile anche scrivere codice compatibile sia con Python 2.7 che con Python 3.x, E' possibile anche scrivere codice compatibile sia con Python 2.7 che con Python 3.x,
utilizzando [il modulo `__future__`](https://docs.python.org/2/library/__future__.html) di Python. utilizzando [il modulo `__future__`](https://docs.python.org/2/library/__future__.html) di Python.

View File

@ -6,7 +6,7 @@ translators:
- ["Ale46", "https://gihub.com/ale46"] - ["Ale46", "https://gihub.com/ale46"]
--- ---
**Qt** è un framework ampiamente conosciuto per lo sviluppo di software multipiattaforma che può essere eseguito su varie piattaforme software e hardware con modifiche minime o nulle nel codice, pur avendo la potenza e la velocità delle applicazioni native. Sebbene **Qt** sia stato originariamente scritto in *C++*, ci sono diversi porting in altri linguaggi: *[PyQt](../pyqt/)*, *QtRuby*, *PHP-Qt*, etc. **Qt** è un framework ampiamente conosciuto per lo sviluppo di software multipiattaforma che può essere eseguito su varie piattaforme software e hardware con modifiche minime o nulle nel codice, pur avendo la potenza e la velocità delle applicazioni native. Sebbene **Qt** sia stato originariamente scritto in *C++*, ci sono diversi porting in altri linguaggi: *[PyQt](https://learnxinyminutes.com/docs/pyqt/)*, *QtRuby*, *PHP-Qt*, etc.
**Qt** è ottimo per la creazione di applicazioni con interfaccia utente grafica (GUI). Questo tutorial descrive come farlo in *C++*. **Qt** è ottimo per la creazione di applicazioni con interfaccia utente grafica (GUI). Questo tutorial descrive come farlo in *C++*.

View File

@ -18,7 +18,7 @@ filename: learnpython-jp.py
私は構文の明快さによって、Pythonと恋に落ちました。 私は構文の明快さによって、Pythonと恋に落ちました。
以下は基本的に実行可能な疑似コードです。 以下は基本的に実行可能な疑似コードです。
Note: この記事はPython 3に内容を絞っています。もし古いPython 2.7を学習したいなら、 [こちら](/pythonlegacy/) をご確認下さい。 Note: この記事はPython 3に内容を絞っています。もし古いPython 2.7を学習したいなら、 [こちら](http://learnxinyminutes.com/docs/pythonlegacy/) をご確認下さい。
```python ```python
# 1行のコメントは番号記号(#)から始まります。 # 1行のコメントは番号記号(#)から始まります。

Some files were not shown because too many files have changed in this diff Show More