mirror of
https://github.com/theoludwig/theoludwig.git
synced 2025-05-29 22:37:44 +02:00
fix(posts): spelling mistakes
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
---
|
||||
title: '🧼 Clean Code'
|
||||
description: 'What is "Clean Code", what are "Design Patterns", and why is it so important today ? Tips and tricks to make your code more readable and maintainable in the long term.'
|
||||
description: 'What is "Clean Code", what are "Design Patterns", and why is it so important today? Tips and tricks to make your code more readable and maintainable in the long term.'
|
||||
isPublished: true
|
||||
publishedOn: '2022-02-23T08:00:18.758Z'
|
||||
---
|
||||
@ -29,7 +29,7 @@ Code like that works great, but it is not enough, even if the code will be read
|
||||
|
||||
For example the [Linux kernel](https://www.kernel.org/), is one of the biggest open source project with many contributors worldwide. Last data shows that it is about **20 millions** lines of code.
|
||||
|
||||
With a project of this magnitude, we can't let everyone do what they wants and however they wants, **we must set rules and conventions** to get everyone to agree, this allows to add features faster and will reduce possible bugs as **developers** will not struggle as much to understand the code.
|
||||
With a project of this magnitude, we can't let everyone do what they want and however they want, **we must set rules and conventions** to get everyone to agree, this allows to add features faster and will reduce possible bugs as **developers** will not struggle as much to understand the code.
|
||||
|
||||
## Definition : Design Patterns
|
||||
|
||||
@ -70,7 +70,7 @@ function getUser(): User
|
||||
##### Example (bad way)
|
||||
|
||||
```typescript
|
||||
// What does 86400000 mean ?
|
||||
// What does 86400000 mean?
|
||||
setTimeout(restart, 86400000)
|
||||
```
|
||||
|
||||
|
@ -40,7 +40,7 @@ I decided to keep things simple, here are the 2 main features missing on my blog
|
||||
- Comments (you can interact with me on my Twitter account)
|
||||
- Views counter
|
||||
|
||||
That not mean that theses features will never be implemented, but to avoid the need of a database now, I dropped out theses features.
|
||||
That not mean that these features will never be implemented, but to avoid the need of a database now, I dropped out these features.
|
||||
|
||||
### Technologies
|
||||
|
||||
|
Reference in New Issue
Block a user