mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-11-26 09:21:00 +03:00
Remove references to hash and hashtag in favor of number symbol
This commit is contained in:
parent
d2f6623cf6
commit
777c333ff0
@ -14,7 +14,7 @@ See also [the CoffeeScript website](http://coffeescript.org/), which has a compl
|
|||||||
``` coffeescript
|
``` coffeescript
|
||||||
# CoffeeScript is a hipster language.
|
# CoffeeScript is a hipster language.
|
||||||
# It goes with the trends of many modern languages.
|
# It goes with the trends of many modern languages.
|
||||||
# So comments are like Ruby and Python, they use hashes.
|
# So comments are like Ruby and Python, they use number symbols.
|
||||||
|
|
||||||
###
|
###
|
||||||
Block comments are like these, and they translate directly to '/ *'s and '* /'s
|
Block comments are like these, and they translate directly to '/ *'s and '* /'s
|
||||||
|
@ -11,7 +11,7 @@ and many more features.
|
|||||||
|
|
||||||
```elixir
|
```elixir
|
||||||
|
|
||||||
# Single line comments start with a hashtag.
|
# Single line comments start with a number symbol.
|
||||||
|
|
||||||
# There's no multi-line comment,
|
# There's no multi-line comment,
|
||||||
# but you can stack multiple comments.
|
# but you can stack multiple comments.
|
||||||
|
@ -12,7 +12,7 @@ This is based on the current development version of Julia, as of October 18th, 2
|
|||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
|
|
||||||
# Single line comments start with a hash.
|
# Single line comments start with a number symbol.
|
||||||
#= Multiline comments can be written
|
#= Multiline comments can be written
|
||||||
by putting '#=' before the text and '=#'
|
by putting '#=' before the text and '=#'
|
||||||
after the text. They can also be nested.
|
after the text. They can also be nested.
|
||||||
|
@ -23,7 +23,7 @@ Feedback is always welcome, so feel free to reach me over at
|
|||||||
|
|
||||||
|
|
||||||
```coffeescript
|
```coffeescript
|
||||||
# Just like its CoffeeScript cousin, LiveScript uses hash symbols for
|
# Just like its CoffeeScript cousin, LiveScript uses number symbols for
|
||||||
# single-line comments.
|
# single-line comments.
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -12,7 +12,7 @@ Perl 5 is a highly capable, feature-rich programming language with over 25 years
|
|||||||
Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects.
|
Perl 5 runs on over 100 platforms from portables to mainframes and is suitable for both rapid prototyping and large scale development projects.
|
||||||
|
|
||||||
```perl
|
```perl
|
||||||
# Single line comments start with a hash.
|
# Single line comments start with a number symbol.
|
||||||
|
|
||||||
|
|
||||||
#### Perl variable types
|
#### Perl variable types
|
||||||
|
@ -17,7 +17,7 @@ to Python 2.x. Look for another tour of Python 3 soon!
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
# Single line comments start with a hash.
|
# Single line comments start with a number symbol.
|
||||||
|
|
||||||
""" Multiline strings can be written
|
""" Multiline strings can be written
|
||||||
using three "'s, and are often used
|
using three "'s, and are often used
|
||||||
|
@ -10,7 +10,7 @@ R is a statistical computing language. It has lots of libraries for uploading an
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
|
|
||||||
# Comments start with hashtags.
|
# Comments start with number symbols.
|
||||||
|
|
||||||
# You can't make a multi-line comment per se,
|
# You can't make a multi-line comment per se,
|
||||||
# but you can stack multiple comments like so.
|
# but you can stack multiple comments like so.
|
||||||
|
Loading…
Reference in New Issue
Block a user