5 Tips for Creating Clean Code

Clean code is code that is easy to read, understand, and maintain. It follows a set of coding standards and principles that aim to make the code as readable and maintainable as possible. Clean code is important because it helps reduce the time and effort required to understand and modify the codebase, and it makes it easier to add new features or fix bugs. It also promotes collaboration and reduces the risk of introducing new issues when modifying the code....

<span title='2022-12-29 05:39:10 +0700 +0700'>29 December 2022</span>&nbsp;·&nbsp;5 min&nbsp;·&nbsp;962 words&nbsp;·&nbsp;Ahmad Adillaumam

Syntatic Sugars | C# Hidden Features

Note: To be able to use these features we need at least C# version 7 and above or Unity 2018 and above. Ternary Operator In computer programming, the ternary conditional operator is a ternary operator that is part of the syntax for basic conditional expressions in several programming languages.It is commonly referred to as the conditional operator, ternary if, or inline if. An expression a ? b : c evaluates to b if the value of a is true, and otherwise to c....

<span title='2022-12-22 18:24:03 +0700 +0700'>22 December 2022</span>&nbsp;·&nbsp;4 min&nbsp;·&nbsp;698 words&nbsp;·&nbsp;Ahmad Adillaumam

The Power of Variable Names

Meaningful Variable Names Choosing good names takes time but saves more than it takes. Intention-Revealing Names The name should answer all big questions. It should tell you why it exists, what it does, and how it is used. If the name requires a comment, the name does not reveal the intent. let d; // elapsed time in days We should choose the name that specifies what is being measured and the unit of that measurement:...

<span title='2022-12-16 09:22:51 +0700 +0700'>16 December 2022</span>&nbsp;·&nbsp;10 min&nbsp;·&nbsp;2048 words&nbsp;·&nbsp;Ahmad Adillaumam