Commit Graph

8960 Commits

Author SHA1 Message Date
Brian Rue
6f255a5e62 Use consistent example for demonstrating integer vs. float division
I had to do a decent amount of mental math to figure out the old example (11 / 4 => 2).

This one (5 / 2 => 2) is easier, and makes the difference vs. float division (5.0 / 2.0 => 2.5) easier to spot.
2013-06-28 15:55:23 -07:00
Nick Presta
6cfb00d106 Removing the bit about commas and exceptions. 2013-06-28 18:34:30 -04:00
Adam Bard
0c0117a138 Merge pull request #20 from mlloreda/patch-2
Fixed misspellings
2013-06-28 14:17:55 -07:00
Miguel Lloreda
8167fcd187 Fixed misspellings 2013-06-28 17:15:49 -04:00
Adam Bard
63b8f04c57 Merge pull request #17 from mrshankly/patch-1
Corrected the last element of li in the lists explanation
2013-06-28 14:02:45 -07:00
Adam Bard
16199fe04c Merge pull request #19 from partkyle/dictionary-clarification
Added some clarification on the default value for dictionary.get
2013-06-28 14:02:13 -07:00
Kyle Partridge
fe5f72d868 added some clarification on the default value for dictionary.get 2013-06-28 13:55:16 -07:00
mrshankly
f7352567f4 Corrected the last element of li in the lists explanation. 2013-06-28 21:29:03 +01:00
Adam
2e805c8c02 Updates 2013-06-28 12:59:45 -07:00
David Underwood
8de5c352bc Initial WIP commit for ruby 2013-06-28 15:57:57 -04:00
Adam
b34908e050 Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs 2013-06-28 08:58:14 -07:00
Adam Bard
c0fcff3cab Merge pull request #11 from liteye/master
Few supplementary codes to Python
2013-06-28 08:54:01 -07:00
Liteye
9e17e87885 add conditional expressions, get and setdefault for dictionary and a little tip about fuction calling.
Signed-off-by: Liteye <yelite958@gmail.com>
2013-06-28 22:59:25 +08:00
Adam
6634622d54 Fixed c thing 2013-06-28 02:01:53 -07:00
Adam
ddcab09ff8 Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs 2013-06-28 01:33:11 -07:00
Adam Bard
9b217bc769 Merge pull request #9 from jssevestre/master
Inequality, compare and chained
2013-06-28 01:32:59 -07:00
Adam
e601006381 Took a run at C 2013-06-28 01:31:09 -07:00
js.sevestre
ff14723ee6 Add inequality and chained comparisons 2013-06-28 09:52:39 +02:00
Adam
e37b1745a7 Fixed a typo 2013-06-27 18:27:14 -07:00
Adam
1fed90cba6 Fixed any syntax errors 2013-06-27 18:22:30 -07:00
Adam
d164d5a56e Minor fixes to python doc 2013-06-27 18:18:05 -07:00
Adam
aa18e7301c edits 2013-06-27 18:13:02 -07:00
Adam
dd3b8b3436 Merged emarref's changes 2013-06-27 18:10:45 -07:00
Malcolm Fell
caae7d9696 Use sinlge line breaks for clarity 2013-06-28 09:21:09 +12:00
Malcolm Fell
23e822bcc1 Correct syntax error declaring final method 2013-06-28 09:20:17 +12:00
Malcolm Fell
c8800bff13 Replace tabs with spaces 2013-06-28 09:17:37 +12:00
Malcolm Fell
e051d0ec65 Clarify anonymous functions as callbacks as arguments 2013-06-28 09:15:50 +12:00
Malcolm Fell
be46dc081a Add example of currying 2013-06-28 09:11:27 +12:00
Malcolm Fell
91957c7cc2 Make comparisons clearer when type juggling 2013-06-28 09:03:08 +12:00
Malcolm Fell
c5fca52d14 Make if statement result clearer 2013-06-28 08:57:52 +12:00
Malcolm Fell
c3cc11f2a8 Add description of typecasting 2013-06-28 08:57:25 +12:00
Malcolm Fell
34852cc8be Move reference operator to site next to variable, as per docs 2013-06-28 08:56:52 +12:00
Malcolm Fell
85eee3929a Mention print is a language construct 2013-06-28 08:49:58 +12:00
Malcolm Fell
124273ffbe Correct form of string concatenation. 2013-06-28 08:48:53 +12:00
Malcolm Fell
0ab2ec2d73 Fix spelling error concatinated -> concatenated 2013-06-28 08:48:31 +12:00
Adam Bard
8a5cca1f05 Merge pull request #5 from jvns/patch-1
Fix typo in Python tutorial
2013-06-27 11:37:32 -07:00
Julia Evans
26d6fe55e3 Fix typo
8-1 is 7 =)
2013-06-27 14:35:33 -04:00
Louie Dinh
cbb2ef1197 Remove however in unpacking commenting. It's confusing 2013-06-27 10:57:49 -07:00
Adam
2e9f5a642b Small edits to python version 2013-06-27 10:53:43 -07:00
Adam Bard
630cdcda41 Merge pull request #4 from lodin/master
Added floats and slices. FIlled out the tuples section a bit.
2013-06-27 10:50:51 -07:00
Louie Dinh
445041776c Added tuples, floats and slice syntax. A few minor edits too 2013-06-27 10:36:57 -07:00
Adam
d9a67645f7 Fix up PHP 2013-06-27 09:49:03 -07:00
Adam
31c16d7eb9 Minor updates 2013-06-27 09:35:59 -07:00
Adam Bard
534c5dcb93 Merge pull request #3 from emarref/master
PHP
2013-06-27 09:26:07 -07:00
Adam Bard
b00f1a2cc3 Merge pull request #2 from lodin/master
Add Python
2013-06-27 09:24:26 -07:00
Malcolm Fell
dd8abee4b4 Add the PHP language 2013-06-27 21:42:07 +12:00
ldinh
360512e5a3 fix typo 2013-06-27 00:45:59 -07:00
ldinh
e9aa9b480f Fix a few bugs 2013-06-27 00:45:11 -07:00
ldinh
3afa1ee104 Fill out python doc 2013-06-27 00:29:07 -07:00
Adam Bard
32784860e2 Merge pull request #1 from havenwood/patch-1
Typo nit.
2013-06-26 23:17:07 -07:00