Posts

Showing posts from April, 2023

NPM Packages: To use or not to use?

JavaScript evolves overtime. Sometimes packages are no longer supported and updated because they utilize an old JavaScript syntax, or the package is no longer popular because there is a better way to approach a problem. A package is marked as depreciated when it is no longer supported. The request.js package is an example of a depreciated package. The request.js package is interesting because HTTP requests allow JavaScript applications to communicate in real-time using the HTTP protocol to create rich-media applications, games and utilities. HTTP requests made with request.js provide simple, easy to use syntax with the use of a callback function: const request = require('request'); request('http://www.google.com', function (error, response, body) { console.error('error:', error); // handle error console.log('statusCode:', response && response.statusCode); // Print the response status code if a response was received console.log('body...

Developer Integrity: A system either supports or harms the people within it

Human beings possess an inherent fear of being taken advantage of by other people. Analysis allows a software developer to de-structure a system to identify its functions, roles, and environment. Object Oriented Analysis and Functional Analysis both present different options for how a software developer deconstructs and observes a system. In order to successfully design and organize a system, a software developer must take care to understand its surrounding environment and working parts. Object Oriented Analysis encourages a developer to consider the abstract things that make up a system. A developer considers all of the working parts in the environment in the observation. Alternately, Functional Analysis encourages a developer to consider what you want a piece of software to do and software developers create functions that allow a system to operate according to what you want the software to do. Object Oriented Analysis considers the different job responsibilities assigned to different...