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
Media is too big
VIEW IN TELEGRAM
Ψ’Ω
ΩΨ²Ψ΄ Ψ§ΩΪ―Ω Ψ·Ψ±Ψ§ΨΫ Repository Ω Unit Of Work Ψ¨Ψ΅ΩΨ±Ψͺ Generic Ψ―Ψ± #C
#DesignPatterns #OOP
@ProgrammingTip
#DesignPatterns #OOP
@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 subscript 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 subscript 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-javascript/
#JavaScript
@ProgrammingTip
https://benmccormick.org/2017/07/19/ten-things-javascript/
#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 javascript role should knowβ¦
Iβm inviting pure opinion here, but whatβs your list of ten things that everyone looking for a good javascript 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
Why use isolation frameworksβ
An isolation framework is a set of programmable APIs that makes creating fake objects much simpler, faster, and shorter than hand-coding them. π¨
#UnitTest #Mock
@ProgrammingTip
An isolation framework is a set of programmable APIs that makes creating fake objects much simpler, faster, and shorter than hand-coding them. π¨
#UnitTest #Mock
@ProgrammingTip