Skip to content

Commit b2fcd6f

Browse files
authored
Merge pull request mjhea0#11 from munarinistefano/fix/typos
Fix typos
2 parents 8a10bb9 + 74faff1 commit b2fcd6f

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

readme.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ def fib(n)
129129
end
130130
```
131131

132-
Keep in mind that in many cases with Python there are still a number of ways to do one thing. Take copying a list for example. There's a least four different ways:
132+
Keep in mind that in many cases with Python there are still a number of ways to do one thing. Take copying a list for example. There are at least four different ways:
133133

134134
```python
135135
>>> my_list = [1,2,3]
@@ -178,15 +178,15 @@ In the first example (Python), we are importing the `Twitter()` class from the `
178178

179179
#### Programming Paradigms
180180

181-
Again, you can use the same paradigms in both languages (procedural, functional, object oriented ...). When it comes to object oriented programming, Ruby used to have the upper hand, as it was built specifically for object orientation. That said, Python has moved more towards being a true object orientated language over the last few years. However, Ruby has one advantage, Ruby can add methods to existing classes, Python by default can't do this (although it's possible with the use of external libraries).
181+
Again, you can use the same paradigms in both languages (procedural, functional, object oriented ...). When it comes to object oriented programming, Ruby used to have the upper hand, as it was built specifically for object orientation. That said, Python has moved more towards being a true object orientated language over the last few years. However, Ruby has one advantage: it can add methods to existing classes, while Python by default can't do this (although it's possible with the use of external libraries).
182182

183183
#### Performance
184184

185-
Performance is a toss up as well. In some cases Python performs better, while in other cases, Ruby outperforms Python. It all depends on the task at hand.
185+
Performance is a toss up as well. In some cases Python performs better, while in others Ruby outperforms Python. It all depends on the task at hand.
186186

187187
#### Usage
188188

189-
Ruby has a bigger web presence with Rails than Python does with Django, so if you're looking to move into web development, Ruby may be the way to go. Python is a great general-purpose language and has more momentum going for it for areas outside outside of the web, such as sys admin/DevOps, statistics, and scientific computation.
189+
Ruby has a bigger web presence with Rails than Python does with Django, so if you're looking to move into web development, Ruby may be the way to go. Python is a great general-purpose language and has more momentum going for it for areas outside of the web, such as sys admin/DevOps, statistics, and scientific computation.
190190

191191
That said, take a look at the two code snippets below -
192192

@@ -204,7 +204,7 @@ End users do not care about the syntactical differences; they just want to see "
204204

205205
#### Community
206206

207-
The Python community is active, vibrant, and truly helpful. Although, you can say the same about the Ruby community, the community itself is very much tied into Rails. If Rails is your thing, then you are in luck.
207+
The Python community is active, vibrant, and truly helpful. Although you can say the same about the Ruby community, the community itself is very much tied into Rails. If Rails is your thing, then you are in luck.
208208

209209
#### Popularity/Jobs
210210

0 commit comments

Comments
 (0)