As computer programmers we write code to instruct computers to process, store, edit and retrieve data. Data Structure is a method of organizing data so that the information can be stored and regained efficiently.
Every computer program needs to store data in various data structures for processing. Modern software programming languages and frameworks are highly sophisticated that, once common, data structure programming is mostly abstracted behind the scenes to make programmers life easier. Reduced code complexity lessens the chances of bugs in it!
Nonetheless, there are instances when we programmers can write more elegant programs and APIs if we know the fundamentals of algorithms and data structures. …
A couple of days ago, I was watching my friend who just began studying computer science and programming writing a simple Python code.
He was instructed by his mentor to start writing failing test cases first and make them pass subsequently by implementing just that feature.
He continued doing this approach with great enthusiasm until eventually, he implemented all the required use cases with an astonishing 100% test coverage! For him, it was just as easy as wiring the question first and then answering it in the next step.
He never programmed or never knew any other approach to programming. …
New-fangled languages and technologies emerge, thrive and disappear often in the software development landscape. Yet a relatively lightweight single threaded simple scripting language evolved to revolutionize the way we develop software. If a programmer went hibernation from programming a decade ago for some stage reason come back now and see JavaScript, his most likely reaction would be: “What…!?!”
He would be amazed to see web developers using JavaScript engines to run their enterprise servers, desktop application developers building Whether predication application using Node.js, not to mention mobile app developers using jQuery Mobile or React Native.
He probably would go fainted to see Node Package Manager (NPM) and NPM registry! …
About