Understanding the context package
GOLANG PACKAGECommunication between goroutines can be troublesome at times using channels as the only communication medium. In this article, we are going to look at the context package to send...
View ArticleCommunity Packages
GOLANG CommunityThis is a list of tutorials for some of the top and widely accepted community packages, libraries, and frameworks.(source: pexels.com)Work in progress…Community Packages was originally...
View Article@nishthapriya @baoqger The repository was accidentally deleted. Restored.
@nishthapriya @baoqger The repository was accidentally deleted. Restored.
View ArticleTypeScript — A beginner’s Guide (Introduction to TypeScript)
TypeScriptTypeScript — A Beginner’s Guide (Introduction)In this lesson, we are going to learn how TypeScript came into existence and what problem it solves. We are also going to take a glance at the...
View Articletypescript — Hello World Program
TypeScriptTypeScript — Hello World ProgramIn this lesson, we are going to learn about the basic structure of a TypeScript program and understand a few concepts of the compilation process. Then we will...
View ArticleQ1: Yes but you can use `replace` directive in the `go.mod`
Q1: Yes but you can use `replace` directive in the `go.mod` file during the development. Follow the link below. I will also updated the article to clarify this...
View ArticleTypeScript — Basic Types
TypeScriptTypeScript — Basic TypesIn this lesson, we are going to learn about the building blocks of TypeScript’s type system. Here, we are mainly going to focus on the primitive data types provided by...
View ArticleTypeScript — Functions
TypeScriptTypeScript — FunctionsIn this lesson, we are going to learn about functions, function type in TypeScript, spread operator, rest parameters, function overloading, and other function related...
View ArticleI can’t say for sure at the moment but the intention seems wrong.
I can’t say for sure at the moment but the intention seems wrong. You need to see about how the prototype works to understand the problem here. Anyway, this article is going to get a refresh soon...
View Article```
```let x = y = z = 5;```Isn't the same thing as```let x = 5;let y = 5;let z = 5;```Try the following codeconsole.log( window.hasOwnProperty('x')); // falseconsole.log( window.hasOwnProperty('y')); //...
View ArticleThe best way to do it now is using extend keyword and classes.
The best way to do it now is using extend keyword and classes. If you need to change the prototype of an object at runtime, then you have only these methods with you. But you should avoid changing the...
View ArticleYeah, that works.
Yeah, that works. Good thinking. But you also need to preserve the Child prototype. Object.assign was introduced in ES6, so you need to also take care of that.function createObject( prototype ) {...
View ArticlePosition of extend should not matter in ideal situations.
Position of extend should not matter in ideal situations.
View ArticleTypeScript — Classes
TypeScript: Object-Oriented ProgrammingIn this lesson, we are going to learn about classes, interfaces, and the basic concepts Object-Oriented Programming paradigm in TypeScript.(source:...
View ArticleTypeScript — Classes
TypeScript: Object-Oriented ProgrammingTypeScript — ClassesIn this lesson, we are going to learn about classes, interfaces, and the basic concepts Object-Oriented Programming paradigm in...
View ArticleTypeScript — Type System
TypeScript: Type SystemTypeScript — Type SystemIn this lesson, we are going to learn about the fundamentals of TypeScript and how TypeScript manages types. This lesson includes topics such as type...
View Article