How Extreme Programming Can Ease Changing Software Requirements
Managing a software development project can be pretty challenging at times. Choosing a reasonable development…
The world is moving at a very fast pace towards technological advancements. What was considered ground-breaking research a century ago is now part of secondary and high school curriculum. What you learnt about the universe and our solar system at secondary school level was only known to scientists and researchers back then. Information dissipation has grown at a stupendous rate, and Computer Sciences are no different than other fields of science such as Physics.
In this fast-paced era, where the world is moving towards automation, it is important for everyone to know the basics of computer sciences and be able to tell how computers work and communicate. It is only a matter of time before basic computer programming becomes part of school curriculum. Staying up to date and knowing how to program a computer is the need of the hour.
Most computer science degrees at college/university level being teaching programming with core programming languages such as C/C++ or Python. C is considered to be the mother of many popular modern languages today, and learning it enables students and enthusiasts to grasp concepts of programming easier, which they can apply to other languages as well.
However, it is also important for absolute beginners to be able to see the results of their creation in a meaningful and real-world manner. For some, writing C applications on a dull, black console screen can become boring real quick and take away the motivation for learning. That is why I believe that learning programming on tools that a lay person or beginner uses everyday is far more beneficial with respect to motivation levels and the learning curve involved.
Create a new text document anywhere on your system
Rename the file to “test.html”. Note that the extension must be .html, and you will need to change the default .txt extension.
Note: if you can’t see file extensions, open up Windows File Explorer >> View, and check the option that says “File name extensions”. File extensions are visible on Linux systems by default.
Right-click the file, and click Edit. Then write the following code into the file.
Now close the file, and open it inside a web browser. By default, all .html files should open up in a web browser.
You should see a blank screen, but that’s ok! Open Developer Tools in your browser. The most common shortcuts for bringing up these tools is to press F10 (Chrome), F12 (Internet Explorer) or Ctrl + Shift + K (Firefox). Click on the console tab.
Congratulations! You have now successfully written your first “Hello World” program. Let’s do something a little more sophisticated, and print “Hello World” 10 times. Just edit the file again, replace the previous code with the following code, and relaunch the web page you just created.
You should now see a count from 1 to 10, with the words “Hello World” written next to each number. This is called a loop, and is a very powerful tool for performing repeated tasks.
Experimentation is the key to programming. Try out different things in your web browser right now, and see where the quest leads you! Good luck!