Compare commits

...

21 Commits

Author SHA1 Message Date
Timon Erhart
0d4ea366f4
Merge adbb3aca33 into 612db59ae0 2024-12-17 09:44:25 +01:00
Boris Verkhovskiy
612db59ae0 Mark repo as markdown again 2024-12-16 22:45:38 -07:00
Enno
17f8208be7
fix link to CONTRIBUTING.md (#5217) 2024-12-16 22:41:48 -07:00
Timon Erhart
adbb3aca33 mv to data structures, change headings 2024-12-13 10:41:19 +00:00
Boris Verkhovskiy
7069599e41 [janet] add trailing newline 2024-12-12 12:37:41 -07:00
ven
8315386b68
Merge pull request #5208 from nathanielkaiserxyz/master
Some checks failed
Trigger site build / deploy (push) Has been skipped
CI / lint (push) Failing after 18s
* add external links for further reading

* removing extraneous credit.
2024-12-11 21:38:25 +01:00
nathanielkaiserxyz
80be7400d6 removing extraneous credit. 2024-12-11 15:34:21 -05:00
nathanielkaiserxyz
4ff20aaf23 add external links for further reading 2024-12-11 12:22:48 -05:00
Boris Verkhovskiy
77bc29ddce [nmap] fix metadata
All checks were successful
Trigger site build / deploy (push) Has been skipped
CI / lint (push) Successful in 17s
2024-12-11 03:12:53 -07:00
Sebastian Oberdorfer
4fb68fb991
[nmap/en] Add tool: nmap (#5193)
All checks were successful
Trigger site build / deploy (push) Has been skipped
CI / lint (push) Successful in 17s
* [nmap/en] Add tool: nmap

* [nmap/en]: Linter fix
2024-12-10 18:24:59 -08:00
Boris Verkhovskiy
e0cfe4feca [brainfuck] show the actual name on language page
All checks were successful
Trigger site build / deploy (push) Has been skipped
CI / lint (push) Successful in 16s
2024-12-09 08:31:56 -07:00
Boris Verkhovskiy
761a061b7e Document changes to frontmatter format 2024-12-09 06:24:46 -07:00
Boris Verkhovskiy
688dbbb097 Remove unnecessary category: 2024-12-09 06:21:40 -07:00
Boris Verkhovskiy
f359fa88b7 [qt] fix duplicate name: 2024-12-09 06:21:24 -07:00
Boris Verkhovskiy
5a7f589c6c Unify language:/tool:/framework:/name: as name: 2024-12-09 04:34:00 -07:00
Boris Verkhovskiy
adda1dcfa7 Update internal links 2024-12-09 04:21:58 -07:00
Evan Hock
d9225142d0
[haskell/en] Minor changes that were bothering me (#5207) 2024-12-09 03:47:38 -07:00
Boris Verkhovskiy
c8af038bda Update readmes 2024-12-09 03:38:02 -07:00
Timon Erhart
6016dcba8c fix line lenght 2024-12-03 17:53:42 +00:00
Timon Erhart
813969f898 fix format 2024-12-03 15:36:47 +00:00
Timon Erhart
a44f874f78 finish first version of csv 2024-12-03 15:19:30 +00:00
245 changed files with 583 additions and 294 deletions

3
.gitattributes vendored
View File

@ -1,2 +1 @@
*.html.markdown linguist-language=Markdown linguist-detectable *.md 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-fr]` or `[java/en]`) - [ ] Pull request title is prepended with `[language/lang-code]` (example `[python/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.markdown) - [ ] 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)
- [ ] Yes, I have double-checked quotes and field names! - [ ] Yes, I have double-checked quotes and field names!

View File

@ -17,11 +17,10 @@ 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 the freely available identified by [markdownlint](https://github.com/markdownlint/markdownlint).
[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.
@ -42,14 +41,14 @@ review them more effectively and/or individually.
### Header configuration ### Header configuration
The actual site uses Middleman to generate HTML files from these Markdown ones. The actual site generates HTML files from these Markdown ones.
Middleman, or at least the custom scripts underpinning the site, requires that The markdown files can contain extra metadata before the actual markdown,
some key information be defined in the header. called frontmatter.
The following fields are necessary for English articles about programming The following fields are necessary for English articles about programming
languages: languages:
* **language** The *programming language* in question * **name** The human-readable name of the programming language
* **contributors** A list of [author, URL] lists to credit * **contributors** A list of [author, URL] lists to credit
Other fields: Other fields:
@ -58,17 +57,16 @@ 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.
Here's an example header for an Esperanto translation of Ruby: Non-English articles inherit frontmatter values from the English article (if it exists)
but you can overwrite them.
Here's an example header for Ruby:
```yaml ```yaml
*-- *--
language: Ruby name: Ruby
filename: learnruby-epo.ruby filename: learnruby.rb
contributors: contributors:
- ["Doktor Esperanto", "http://example.com/"] - ["Doktor Esperanto", "http://example.com/"]
- ["Someone else", "http://someoneelseswebsite.com/"] - ["Someone else", "http://someoneelseswebsite.com/"]
@ -77,8 +75,7 @@ contributors:
### Syntax highlighter ### Syntax highlighter
[Pygments](https://pygments.org/languages/) is used for syntax highlighting through [Pygments](https://pygments.org/languages/) is used for syntax highlighting.
[pygments.rb](https://github.com/pygments/pygments.rb).
### Should I add myself as a contributor? ### Should I add myself as a contributor?
@ -89,12 +86,10 @@ addition or not.
## Building the site locally ## Building the site locally
Install Ruby. On macOS this can be done with [Homebrew](https://brew.sh/). Install Python. On macOS this can be done with [Homebrew](https://brew.sh/).
```sh ```sh
brew install ruby brew install python
# Install Ruby package manager
gem install bundler
``` ```
Then clone two repos, install dependencies and run. Then clone two repos, install dependencies and run.
@ -107,8 +102,12 @@ git clone https://github.com/<YOUR-USERNAME>/learnxinyminutes-docs ./learnxinymi
# Install dependencies # Install dependencies
cd learnxinyminutes-site cd learnxinyminutes-site
bundle install pip install -r requirements.txt
# Run # Run
bundle exec middleman serve python build.py
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]: http://learnxinyminutes.com [1]: https://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 @@
--- ---
language: Ada name: 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
tool: AMD name: 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
framework: AngularJS name: 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
tool: Ansible name: 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 @@
--- ---
language: APL name: 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 فقط. راجع المقال [هنا](http://learnxinyminutes.com/docs/pythonlegacy/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم ملحوظة: هذا المقال يُطبق على بايثون 3 فقط. راجع المقال [هنا](../pythonlegacy/) إذا أردت تعلم لغة البايثون نسخة 2.7 الأقدم
```python ```python
# تعليق من سطر واحد يبدأ برمز الرقم. # تعليق من سطر واحد يبدأ برمز الرقم.

View File

@ -1,5 +1,5 @@
--- ---
language: Arturo name: 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 @@
--- ---
language: AsciiDoc name: 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 @@
--- ---
language: AssemblyScript name: 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](/docs/typescript) and [JavaScript](/docs/javascript). This article will focus only on AssemblyScript extra syntax, as opposed to [TypeScript](../typescript/) and [JavaScript](../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 @@
--- ---
language: ATS name: 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
tool: AWK name: 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 @@
--- ---
language: Ballerina name: 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 @@
--- ---
language: Bash name: 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 @@
--- ---
language: bc name: bc
contributors: contributors:
- ["Btup"] - ["Btup"]
filename: learnbc.bc filename: learnbc.bc

3
bf.md
View File

@ -1,5 +1,6 @@
--- ---
language: BF name: 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 @@
--- ---
language: BQN name: 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 @@
--- ---
language: C++ name: 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 @@
--- ---
language: C name: 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 @@
--- ---
language: Chapel name: 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 @@
--- ---
language: "CHICKEN" name: "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 @@
--- ---
language: citron name: citron
filename: learncitron.ctr filename: learncitron.ctr
contributors: contributors:
- ["AnotherTest", ""] - ["AnotherTest", ""]

View File

@ -1,5 +1,5 @@
--- ---
language: Clojure macros name: 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](/docs/clojure/). [Clojure in Y Minutes](../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 @@
--- ---
language: Clojure name: 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
tool: CMake name: 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 @@
--- ---
language: COBOL name: 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 @@
--- ---
language: CoffeeScript name: 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 @@
--- ---
language: ColdFusion name: 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 @@
--- ---
language: "Common Lisp" name: "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
tool: Compojure name: 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 @@
--- ---
language: Coq name: 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 @@
--- ---
language: Crystal name: 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](http://learnxinyminutes.com/docs/php/). [článku o PHP](/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](http://learnxinyminutes.com/docs/pythonlegacy/). Poznámka: Tento článek je zaměřen na Python 3. Zde se můžete [naučit starší Python 2.7](/pythonlegacy/).
```python ```python
# Jednořádkový komentář začíná křížkem # Jednořádkový komentář začíná křížkem

View File

@ -1,5 +1,5 @@
--- ---
language: C# name: 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 @@
--- ---
language: CSS name: 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"]

94
csv.html.markdown Normal file
View File

@ -0,0 +1,94 @@
---
category: Algorithms & Data Structures
contributors:
- [Timon Erhart, 'https://github.com/turbotimon/']
---
CSV (Comma-Separated Values) is a lightweight file format used to store tabular
data in plain text, designed for easy data exchange between programs,
particularly spreadsheets and databases. Its simplicity and human readability
have made it a cornerstone of data interoperability. It is often used for
moving data between programs with incompatible or proprietary formats.
While RFC 4180 provides a standard for the format, in practice, the term "CSV"
is often used more broadly to refer to any text file that:
- Can be interpreted as tabular data
- Uses a delimiter to separate fields (columns)
- Uses line breaks to separate records (rows)
- Optionally includes a header in the first row
```csv
Name, Age, DateOfBirth
Alice, 30, 1993-05-14
Bob, 25, 1998-11-02
Charlie, 35, 1988-03-21
```
## Delimiters for Rows and 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
common delimiter for fields, other characters, such as semicolons (`;`), are
commonly used in regions where commas are decimal separators (e.g., Germany).
Tabs (`\t`) are also used as delimiters in some cases, with such files often
referred to as "TSV" (Tab-Separated Values).
Example using semicolons as delimiter and comma for decimal separator:
```csv
Name; Age; Grade
Alice; 30; 50,50
Bob; 25; 45,75
Charlie; 35; 60,00
```
## Data Types
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
file. Typically, data is interpreted as follows:
```csv
Data, Comment
100, Interpreted as a number (integer)
100.00, Interpreted as a number (floating-point)
2024-12-03, Interpreted as a date or a string (depending on the parser)
Hello World, Interpreted as text (string)
"1234", Interpreted as text instead of a number
```
## Quoting Strings and Special Characters
Quoting strings is only required if the string contains the delimiter, special
characters, or otherwise could be interpreted as a number. However, it is
often considered good practice to quote all strings to enhance readability and
robustness.
```csv
Quoting strings examples,
Unquoted string,
"Optionally quoted string (good practice)",
"If it contains the delimiter, it needs to be quoted",
"Also, if it contains special characters like \n newlines or \t tabs",
"The quoting "" character itself typically is escaped by doubling the quote ("")",
"or in some systems with a backslash \" (like other escapes)",
```
However, make sure that for one document, the quoting method is consistent.
For example, the last two examples of quoting with either "" or \" would
not be consistent and could cause problems.
## Encoding
Different encodings are used. Most modern CSV files use UTF-8 encoding, but
older systems might use others like ASCII or ISO-8859.
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
character misinterpretation.
## More Resources
+ [Wikipedia](https://en.wikipedia.org/wiki/Comma-separated_values)
+ [RFC 4180](https://datatracker.ietf.org/doc/html/rfc4180)

3
cue.md
View File

@ -1,6 +1,5 @@
--- ---
category: language name: CUE
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 @@
--- ---
language: Cypher name: 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 @@
--- ---
language: D name: 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 @@
--- ---
language: Dart name: 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](/docs/clojure/) verstehst. Wenn du mit Clojure vertraut sein möchtest, stelle sicher, dass du alles in [Clojure in Y Minutes](../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](http://learnxinyminutes.com/docs/php/) dieser Syntax findet man im [PHP Artikel](/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 <http://learnxinyminutes.com/docs/racket/>. Manche Beispiele sind von [Racket](/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](http://learnxinyminutes.com/docs/pythonlegacy/) weiter. Beachte hierbei, Hinweis: Dieser Beitrag bezieht sich implizit auf Python 3. Falls du lieber Python 2.7 lernen möchtest, schau [hier](/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](https://learnxinyminutes.com/docs/pyqt/)*, *QtRuby*, *PHP-Qt*, etc. gibt es verschiedene Ports für andere Sprachen: *[PyQt](../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 @@
--- ---
language: Dhall name: 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
framework: DirectX 9 name: 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
tool: Docker name: 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 @@
--- ---
language: Easylang name: 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 @@
--- ---
language: EDN name: 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. Δείτε [εδώ](http://learnxinyminutes.com/docs/pythonlegacy/) αν θέλετε να μάθετε την παλιά Python 2.7 Σημείωση: Το παρόν άρθρο ασχολείται μόνο με την Python 3. Δείτε [εδώ](/pythonlegacy/) αν θέλετε να μάθετε την παλιά Python 2.7
```python ```python
# Τα σχόλια μίας γραμμής ξεκινούν με # # Τα σχόλια μίας γραμμής ξεκινούν με #

View File

@ -1,5 +1,5 @@
--- ---
language: Emacs Lisp name: 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 @@
--- ---
language: Elixir name: 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 @@
--- ---
language: Elm name: 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
tool: Emacs name: 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 @@
--- ---
language: Erlang name: 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 @@
--- ---
language: curto name: 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](http://learnxinyminutes.com/docs/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](../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](https://learnxinyminutes.com/docs/es-es/javascript-es/) Debido a que jQuery es una librería de JavaScript debes [aprender JavaScript primero](../javascript/)
```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("http://learnxinyminutes.com/docs/pets.csv") pets <- read.csv("https://learnxinyminutes.com/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-es/). Este artículo se enfocará solo en la sintáxis extra de TypeScript, y no en [JavaScript](../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. 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 @@
--- ---
language: Factor name: 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 @@
--- ---
language: fish name: 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 @@
--- ---
language: Forth name: 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 @@
--- ---
language: Fortran name: 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](https://learnxinyminutes.com/docs/fr-fr/javascript-fr/) Étant donné que jQuery est une bibliothèque JavaScript, vous devriez d'abord [apprendre le JavaScript](./javascript/)
```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](http://learnxinyminutes.com/docs/fr-fr/python-fr/) pour apprendre le vieux Python 2.7 Note : Cet article s'applique spécifiquement à Python 3. Jettez un coup d'oeil [ici](../pythonlegacy/) 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](http://learnxinyminutes.com/docs/fr-fr/python3-fr/). 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/).
```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("http://learnxinyminutes.com/docs/pets.csv") pets <- read.csv("https://learnxinyminutes.com/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-fr/). Cet article se concentrera seulement sur la syntaxe supplémentaire de TypeScript, plutôt que celle de [JavaScript](../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. 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 @@
--- ---
language: F# name: 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 @@
--- ---
language: GDScript name: 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
tool: Git name: 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 @@
--- ---
language: Gleam name: 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,6 +1,5 @@
--- ---
category: language name: Go
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 @@
--- ---
language: GolfScript name: 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 @@
--- ---
language: Groovy name: 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 @@
--- ---
language: Hack name: 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 @@
--- ---
language: Haml name: 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 @@
--- ---
language: Haskell name: Haskell
filename: learnhaskell.hs filename: learnhaskell.hs
contributors: contributors:
- ["Adit Bhargava", "http://adit.io"] - ["Adit Bhargava", "http://adit.io"]
@ -66,6 +66,7 @@ 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'
@ -273,7 +274,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 array func = map func array for list func = map func list
-- and then use it -- and then use it
for [0..5] $ \i -> show i for [0..5] $ \i -> show i
@ -281,6 +282,9 @@ 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 @@
--- ---
language: Haxe name: 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
tool: HCL name: 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 @@
--- ---
language: HDL name: 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 @@
--- ---
language: Hjson name: 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](https://learnxinyminutes.com/docs/json/) more human readable. Hjson is an attempt to make [JSON](../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 @@
--- ---
language: HOCON name: HOCON
filename: learnhocon.conf filename: learnhocon.conf
contributors: contributors:
- [TehBrian, 'https://tehbrian.xyz'] - [TehBrian, 'https://tehbrian.xyz']

View File

@ -1,5 +1,5 @@
--- ---
language: HQ9+ name: 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 @@
--- ---
language: HTML name: 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
tool: HTTPie name: 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ó](http://learnxinyminutes.com/docs/python/) ismerkedést. A Python 3.x verzióihoz a [Python 3 bemutató](/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 @@
--- ---
language: Hy name: 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 @@
--- ---
language: Inform7 name: 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](https://learnxinyminutes.com/docs/javascript/) Visto che jQuery è una libreria JavaScript dovresti prima [imparare JavaScript](../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](https://learnxinyminutes.com/docs/it-it/python-it/) Nota: Questo articolo è riferito a Python 3 in modo specifico. Se volete avete la necessità di utilizzare Python 2.7 potete consultarla [qui](../pythonlegacy/)
```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](http://learnxinyminutes.com/docs/python/). Per maggiori informazioni su Python 3.x, dai un'occhiata al [tutorial di Python 3](../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](https://learnxinyminutes.com/docs/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](../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を学習したいなら、 [こちら](http://learnxinyminutes.com/docs/pythonlegacy/) をご確認下さい。 Note: この記事はPython 3に内容を絞っています。もし古いPython 2.7を学習したいなら、 [こちら](/pythonlegacy/) をご確認下さい。
```python ```python
# 1行のコメントは番号記号(#)から始まります。 # 1行のコメントは番号記号(#)から始まります。

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