" To write Clean Code, you must first write dirty Code and then Clean it.❗️"
➖Bob C.Martin
You should code & code & code to become a master ... 🙂🔝
➖Bob C.Martin
You should code & code & code to become a master ... 🙂🔝
Comments should say things that the code cannot say for itself ❗️
#Cleancode #Comments
@ProgrammingTip
#Cleancode #Comments
@ProgrammingTip
When you see commented-out code, delete it ❌
Don’t worry, the source code control system still remembers it.
If anyone really needs it, he or she can go back and check out a previous version.
Don’t suffer commented-out code to survive❗️
#Cleancode #Comments
@ProgrammingTip
Don’t worry, the source code control system still remembers it.
If anyone really needs it, he or she can go back and check out a previous version.
Don’t suffer commented-out code to survive❗️
#Cleancode #Comments
@ProgrammingTip
Dead Functions 💀
Methods that are never called should be discarded. ❌
Keeping dead code around is wasteful.
Don’t be afraid to delete the function.
Remember, your source code control system still remembers it.
#Cleancode #Functions
@ProgrammingTip
Methods that are never called should be discarded. ❌
Keeping dead code around is wasteful.
Don’t be afraid to delete the function.
Remember, your source code control system still remembers it.
#Cleancode #Functions
@ProgrammingTip
Best Online Code Playgrounds 👾
1️⃣ JSFiddle : https://jsfiddle.net/
2️⃣ CodePen : http://codepen.io/
3️⃣ CSS Desk : http://cssdeck.com/
4️⃣ JSBin : http://jsbin.com/
5️⃣ Dabblet : http://dabblet.com/
6️⃣ Plunker : http://plnkr.co/
7️⃣LiveWeave: http://liveweave.com/
1️⃣ JSFiddle : https://jsfiddle.net/
2️⃣ CodePen : http://codepen.io/
3️⃣ CSS Desk : http://cssdeck.com/
4️⃣ JSBin : http://jsbin.com/
5️⃣ Dabblet : http://dabblet.com/
6️⃣ Plunker : http://plnkr.co/
7️⃣LiveWeave: http://liveweave.com/
jsfiddle.net
JSFiddle - Code Playground
JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle.
Online .NET Compiler ⚜️
Supports : C#, VB, F#, Console, ASP.NET MVC
We are a group of .NET developers who are sick and tired of starting Visual Studio,
creating a new project and running it, just to test simple code or try out samples from other developers.
https://dotnetfiddle.net/
#Links
@ProgrammingTip
Supports : C#, VB, F#, Console, ASP.NET MVC
We are a group of .NET developers who are sick and tired of starting Visual Studio,
creating a new project and running it, just to test simple code or try out samples from other developers.
https://dotnetfiddle.net/
#Links
@ProgrammingTip
dotnetfiddle.net
C# Online Compiler | .NET Fiddle
Test your C# code online with .NET Fiddle code editor.
Soft skill And Productivity ✅
"Good programmers know what to write, but great ones know what to rewrite (and reuse)"
Eric S. Raymond 🗣
@ProgrammingTip
"Good programmers know what to write, but great ones know what to rewrite (and reuse)"
Eric S. Raymond 🗣
@ProgrammingTip
Desgin Pattern 📝
Don’t use design patterns like a hammer looking for a nail. 🔨
If you don’t have a clear reason you need it, don’t use it. ❌
#CleanCode #DesignPattern
@ProgrammingTip
Don’t use design patterns like a hammer looking for a nail. 🔨
If you don’t have a clear reason you need it, don’t use it. ❌
#CleanCode #DesignPattern
@ProgrammingTip
ASP.NET Web API 2 - Building a REST Service.pdf
5.3 MB
ASP.NET Web API 2 - Building a REST Service from Start to Finish 📕
➖Authors :
Jamie Kurtz
Brian Wortman
#Book #AspNet
@ProgrammingTip
➖Authors :
Jamie Kurtz
Brian Wortman
#Book #AspNet
@ProgrammingTip
Create some of your own tools 🛠
But of course, if you're going to use it in production, make sure it's not another wheel reinvention. ⚙️
#Tools
@ProgrammingTip
But of course, if you're going to use it in production, make sure it's not another wheel reinvention. ⚙️
#Tools
@ProgrammingTip
If you find yourself having to choose between “doing it right” and “doing it quick” 🤔,
Don't doubt, choose "doing it right" ❗️
#CleanCode
@ProgrammimgTip
Don't doubt, choose "doing it right" ❗️
#CleanCode
@ProgrammimgTip
Learn the most important libraries for your use cases. 📚
The more libraries you’re aware of, the less likely you are to try reinventing the wheel. ⚙️
#Libraries
@ProgrammingTip
The more libraries you’re aware of, the less likely you are to try reinventing the wheel. ⚙️
#Libraries
@ProgrammingTip
Eval 👾
if you know about the dot notation, but are ignorant of the subnoscript notation, you might write:
〰 instead of :
The eval form is much harder to read.
This form will be significantly slower because it needs to run the compiler just to execute a trivial assignment statement ❗️
#Tips #JavaScript
@ProgrammingTip
if you know about the dot notation, but are ignorant of the subnoscript notation, you might write:
eval("myValue = myObject." + myKey + ";"); 〰 instead of :
myvalue = myObject[myKey];
The eval form is much harder to read.
This form will be significantly slower because it needs to run the compiler just to execute a trivial assignment statement ❗️
#Tips #JavaScript
@ProgrammingTip
10 Things a Serious JavaScript Developer Should Learn 🤓
https://benmccormick.org/2017/07/19/ten-things-javanoscript/
#JavaScript
@ProgrammingTip
https://benmccormick.org/2017/07/19/ten-things-javanoscript/
#JavaScript
@ProgrammingTip
benmccormick.org
Ten Things A Serious JavaScript Developer Should Learn
There’s been an interesting Reddit thread circling my corner of the internet for the last week or so. It started with a question:
I’m inviting pure opinion here, but what’s your list of ten things that everyone looking for a good javanoscript role should know…
I’m inviting pure opinion here, but what’s your list of ten things that everyone looking for a good javanoscript role should know…
What is Unit Test ❓
A unit test is a piece of a code (usually a method) that invokes another piece of code and checks the correctness of some assumptions afterward. ✅
If the assumptions turn out to be wrong, the unit test has failed. ❌
A unit is a method or function.
#UnitTest
@ProgrammingTip
A unit test is a piece of a code (usually a method) that invokes another piece of code and checks the correctness of some assumptions afterward. ✅
If the assumptions turn out to be wrong, the unit test has failed. ❌
A unit is a method or function.
#UnitTest
@ProgrammingTip
Properties of a good unit test ✅
A unit test should have the following properties :
1️⃣ It should be automated and repeatable.
2️⃣ It should be easy to implement.
3️⃣ It should be relevant tomorrow.
4️⃣ Anyone should be able to run it at the push of a button.
5️⃣ It should run quickly.
6️⃣ It should be consistent in its results.
7️⃣ It should have full control of the unit under test.
8️⃣ It should be fully isolated (runs independently of other tests).
9️⃣ When it fails, it should be easy to detect what was expected and determine how to pinpoint the problem.
#UnitTest #Tips
@ProgrammingTip
A unit test should have the following properties :
1️⃣ It should be automated and repeatable.
2️⃣ It should be easy to implement.
3️⃣ It should be relevant tomorrow.
4️⃣ Anyone should be able to run it at the push of a button.
5️⃣ It should run quickly.
6️⃣ It should be consistent in its results.
7️⃣ It should have full control of the unit under test.
8️⃣ It should be fully isolated (runs independently of other tests).
9️⃣ When it fails, it should be easy to detect what was expected and determine how to pinpoint the problem.
#UnitTest #Tips
@ProgrammingTip