Posts

Showing posts from October, 2017

The best front-end hacking cheatsheets

It’s rather impossible to remember all the APIs by heart. This is when cheatsheets jump in! Here are the best front-end cheatsheets.. https://medium.freecodecamp.org/modern-frontend-hacking-cheatsheets-df9c2566c72a

Types of software Testing

Software Testing Types: Black box testing – Internal system design is not considered in this type of testing. Tests are based on requirements and functionality. White box testing – This testing is based on knowledge of the internal logic of an application’s code. Also known as Glass box Testing. Internal software and code working should be known for this type of testing. Tests are based on coverage of code statements, branches, paths, conditions. Unit testing – Testing of individual software components or modules. Typically done by the programmer and not by testers, as it requires detailed knowledge of the internal program design and code. may require developing test driver modules or test harnesses. Incremental integration testing – Bottom up approach for testing i.e continuous testing of an application as new functionality is added; Application functionality and modules should be independent enough to test separately. done by programmers or by testers. Integration testi...

Free eBooks

Free eBooks | Here's a great collection of free programming books. https://devfreebooks.github.io/

ES7 brings two new features

ECMAScript 2016 (more commonly known as ES7). ES7 brings two new features: 1. Array.prototype.includes() 2. New exponential operator: **. Array.prototype.includes() We used .indexOf() to know if an element existed in an array. For example: ['my','dad','hates','me'].indexOf('dad')  // 1 // I know it sounds confusing but the value 1 represents // the index at which the string 'dad' appears in the array. The key word is “exist.” .indexOf() is fine if we want to know at which index a given element appears. But if our goal is to know if a given element exists in an array, then .indexOf() is not the best option. And the reason is simple: When querying the existence of something we expect a boolean value, not a number. Array.prototype.includes() does exactly that. It determines if a given element exists in an array, returning true if it does, false otherwise. var life = ['mom', 'dad', 'brother'] ...