46a02d6ee2
* More clear names for the module and variables demonstrating declarators (our) for sub's and a few more details in comments * $! is only set when we use "try" not when we disarm an exception with or/orelse thanks to ZoffixZnet for the information here provided here: https://rt.perl.org/Ticket/Display.html?id=129923 * Fix the example from the last commit. Some changes in the try/catch paragraph * Change it so the vim modeline doesn't show up in the final html file(not even as a comment) * Minor grammar fix * Add more information about the .exception method and explain how orelse differs from the or operator * Add link to the Perl6 docs and explain that while the Perl 6 advent calander is a great reference it may be a little older (Posts stopped in Dec of 2015). Also make the columns fit better to 80 characters * Fix in issue with a few of the regex examples, where Perl 6 would warn because the spacing was ambiguous. Explain how you must use two spaces between strings so spacing isn't ambiguous or use the :s adverb to make whitespace meaningful explicitly. Also explain 'm' and using delimiters other than / / * Improve the readability of the phasers introduction * Fix the remaining regex that will warn because of ambiguous spacing * Add an example for ‘quietly’ since it has been implemented now * Update link for precedence order to point to current documentation * Add a section on iterables and show examples for using the lazy method * Some corrections * Change downloaded filename to .p6 instead of .pl * Show vertical line for 80 column width in vim modeline * Update the exceptions section to vendethiel's suggestions |
||
---|---|---|
bg-bg | ||
cs-cz | ||
de-de | ||
el-gr | ||
es-es | ||
fa-ir | ||
fi-fi | ||
fr-fr | ||
hd-hd | ||
hu-hu | ||
id-id | ||
it-it | ||
ja-jp | ||
ko-kr | ||
lt-lt | ||
ms-my | ||
nl-nl | ||
no-nb | ||
pl-pl | ||
pt-br | ||
pt-pt | ||
ro-ro | ||
ru-ru | ||
sk-sk | ||
sv-se | ||
ta_in | ||
tr-tr | ||
uk-ua | ||
vi-vn | ||
zh-cn | ||
zh-tw | ||
.gitignore | ||
amd.html.markdown | ||
angularjs.html.markdown | ||
asciidoc.html.markdown | ||
asymptotic-notation.html.markdown | ||
bash.html.markdown | ||
bf.html.markdown | ||
c.html.markdown | ||
c++.html.markdown | ||
chapel.html.markdown | ||
CHICKEN.html.markdown | ||
clojure-macros.html.markdown | ||
clojure.html.markdown | ||
cmake.html.markdown | ||
coffeescript.html.markdown | ||
coldfusion.html.markdown | ||
common-lisp.html.markdown | ||
compojure.html.markdown | ||
CONTRIBUTING.markdown | ||
csharp.html.markdown | ||
css.html.markdown | ||
d.html.markdown | ||
dart.html.markdown | ||
dynamic-programming.html.markdown | ||
edn.html.markdown | ||
elisp.html.markdown | ||
elixir.html.markdown | ||
elm.html.markdown | ||
erlang.html.markdown | ||
factor.html.markdown | ||
file.erb | ||
forth.html.markdown | ||
fortran95.html.markdown | ||
fsharp.html.markdown | ||
git.html.markdown | ||
go.html.markdown | ||
groovy.html.markdown | ||
hack.html.markdown | ||
haml.html.markdown | ||
haskell.html.markdown | ||
haxe.html.markdown | ||
html.html.markdown | ||
hy.html.markdown | ||
inform7.html.markdown | ||
java.html.markdown | ||
javascript.html.markdown | ||
jquery.html.markdown | ||
json.html.markdown | ||
julia.html.markdown | ||
kdb+.html.markdown | ||
kotlin.html.markdown | ||
latex.html.markdown | ||
less.html.markdown | ||
livescript.html.markdown | ||
logtalk.html.markdown | ||
lua.html.markdown | ||
make.html.markdown | ||
markdown.html.markdown | ||
matlab.html.markdown | ||
messagepack.html.markdown | ||
meteor.html.markdown | ||
neat.html.markdown | ||
nim.html.markdown | ||
nix.html.markdown | ||
objective-c.html.markdown | ||
ocaml.html.markdown | ||
paren.html.markdown | ||
pcre.html.markdown | ||
perl6.html.markdown | ||
perl.html.markdown | ||
pets.csv | ||
php-composer.html.markdown | ||
php.html.markdown | ||
pogo.html.markdown | ||
powershell.html.markdown | ||
PULL_REQUEST_TEMPLATE.md | ||
purescript.html.markdown | ||
pyqt.html.markdown | ||
python3.html.markdown | ||
python.html.markdown | ||
pythonstatcomp.html.markdown | ||
qt.html.markdown | ||
r.html.markdown | ||
racket.html.markdown | ||
README.markdown | ||
red.html.markdown | ||
rst.html.markdown | ||
ruby-ecosystem.html.markdown | ||
ruby.html.markdown | ||
rust-pt.html.markdown | ||
rust.html.markdown | ||
sass.html.markdown | ||
scala.html.markdown | ||
self.html.markdown | ||
smallbasic.html.markdown | ||
smalltalk.html.markdown | ||
solidity.html.markdown | ||
standard-ml.html.markdown | ||
swift.html.markdown | ||
tcl.html.markdown | ||
tmux.html.markdown | ||
toml.html.markdown | ||
typescript.html.markdown | ||
vim.html.markdown | ||
visualbasic.html.markdown | ||
whip.html.markdown | ||
wolfram.html.markdown | ||
xml.html.markdown | ||
yaml.html.markdown | ||
zfs.html.markdown |
Learn X in Y minutes
Whirlwind tours of (several, hopefully many someday) popular and ought-to-be-more-popular programming languages, presented as valid, commented code and explained as they go.
We need YOU!...
... to write more inline code tutorials. Just grab an existing file from this repo and copy the formatting (don't worry, it's all very simple). Make a new file, send a pull request, and if it passes muster I'll get it up pronto. Remember to fill in the "contributors" fields so you get credited properly!
Contributing
All contributions are welcome, from the tiniest typo to a brand new article. Translations in all languages are welcome (or, for that matter, original articles in any language). Send a pull request or open an issue any time of day or night.
Please prepend the tag [language/lang-code]
to your issues and pull
requests. For example, [python/en]
for English Python. This will help
everyone pick out things they care about.
We're happy for any contribution in any form, but if you're making more than one major change (i.e. translations for two different languages) it would be super cool of you to make a separate pull request for each one so that someone can review them more effectively and/or individually.
For a detailed style guide, please review the full CONTRIBUTING guidelines.
License
Contributors retain copyright to their work, and can request removal at any time. By uploading a doc here, you agree to publish your work under the default Creative Commons Attribution-ShareAlike 3.0 Unported licensing included on each doc page.
Anything not covered by the above -- basically, this README -- you can use as you wish, I guess.