Best of MediumMarch 2022

  1. 1
    Article
    Avatar of medium_jsMedium·4y

    Why does JavaScript’s parseInt(0.0000005) print “5”?

    The parseInt(string, radix) function parses a string argument and returns an integer of the specified radix (the base in mathematical numeral systems) The first step is to convert the number to string and the second step is the rounding operation. The answer will return 5 only because it is the only character that is a number till a noncharacter e, so the rest of it e-7 is discarded.

  2. 2
    Article
    Avatar of medium_jsMedium·4y

    1 min guide to Golang development best practices in 2022

    Go is a dependency management system, that makes dependency version information simple, explicit, and easy to manage. Use GORM, ORM library in go to make your development easier, by reducing the time of writing database raw queries. Always make a practice to add authentication on your APIs to make them secure.

  3. 3
    Article
    Avatar of medium_jsMedium·4y

    Scopes In Javascript.

    In Javascript, we have 3 types of scope: block scope, function scope and global scope. Scope defines the accessibility(visibility) of the variable, which means whether the variable is accessible or not. Before ES6 (2015), JavaScript had only Global Scope and Function Scope. I hope it helps you to understand scope in a better way.

  4. 4
    Article
    Avatar of medium_jsMedium·4y

    How To Make API Call-In Javascript

    JavaScript is a language that helps developers with both frontend and backend work. In JavaScript, it was really important to know how to make HTTP requests and fetch the dynamic data from the server. We are going to study How to call these APIs in Javascript by multiple open source libraries.

  5. 5
    Article
    Avatar of medium_jsMedium·4y

    Deeper dive into gRPC and creating own micro-service architecture in Node.js

    GRPC is a modern, open source remote procedure call (RPC) framework that can run anywhere. It enables client and server applications to communicate transparently and makes it easier to build connected systems. Deeper dive into gRPC and creating own micro-service architecture in Node.js.

  6. 6
    Article
    Avatar of medium_jsMedium·4y

    OverVue 6.0: Vue’s Most Popular Prototyping Tool Just Got Better

    OverVue is a prototyping tool for Vue.js that has been brought up to speed with the latest features of Vue 3. The release of version 6.0 introduces several updates to boost performance, significantly improve the user experience, and reduce your code burden. OverVue’s new features will now allow you to export your projects in TypeScript (utilizing Vite) and leave notes on components that export as comments in your Vue files.

  7. 7
    Article
    Avatar of medium_jsMedium·4y

    2 Awesome Tools to Automate Client-side Performance Testing

    Googles’ lighthouse is an open-source website quality assessment tool. It measures 5 quality factors: performance, accessibility, best practices, search engine optimization and Progressive Web App (PWA) Playwright is a web testing automation framework. It can be used to quickly cover multiple test realms with ease.