diff --git a/components/Head.tsx b/components/Head.tsx index 81d9db8..d75834b 100644 --- a/components/Head.tsx +++ b/components/Head.tsx @@ -39,7 +39,7 @@ export const Head: React.FC = (props) => { - + {/* Google Verification */} = (props) => { return (
  • diff --git a/posts/clean-code.mdx b/posts/clean-code.mdx index d3d9e1d..211a9bb 100644 --- a/posts/clean-code.mdx +++ b/posts/clean-code.mdx @@ -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) ``` diff --git a/posts/hello-world.mdx b/posts/hello-world.mdx index 554d56c..1b58eb4 100644 --- a/posts/hello-world.mdx +++ b/posts/hello-world.mdx @@ -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