JavaScript

17 Jan 2024

JavaScript Experience

JavaScript: an object-oriented programming language.

JavaScript as an object-oriented programming language is very versatile. It can be used in ways that C++ can not be used. Such as being able to assign a true or false value to a character. This was shown in the ‘IsUnique’ module. The WODs are very useful to better understand how JavaScript works as a programming language. Even though it is stressful to code in a time limit. I think it is helpful to try and practice the WODs because it helps me think of the process of programming. I think JavaScript can be used more easily when starting from scratch, however it will be more difficult to comprehend already existing code. This is because there are many features that easily overlap, which increase the difficulty. For example in C++, to create a function that can only accept certain types of code of ‘int’, ‘char’, ‘signed’, etc. The function will only work properly when given a certain type of value. The ‘int’ will only accept numbers, while the ‘char’ will accept characters. In JavaScript, the labels for data type can be vague. This means you can create a function that can accept any type of input. Whether it be a character, string, or number. This makes it easier to create a function that needs less care about the input value which can be used in more ways.

ES6 JavaScript Update Experience

There is also the new ES6 content for JavaScript which makes it easier to understand. The ‘let’ data type basically makes a variable that can be declared once. Which is the same in a lot of other languages. The ‘let’ can be a string, character, integer, or like a floating point number. Overall I’m not really familiar with all changes to ES6 compared to previous iterations of JavaScript since I just started learning JavaScript. In order to better understand JavaScript, it will be important to constantly practice. The athletic software engineering module to practice is very useful to follow. Learning the basics of coding step by step for different parts can be used to understand how code can work. Which will improve coding experience that can be used at other times. Overall, JavaScript is a good programming language to build code. JavaScript can be versatile in how it handles variables, but needs to take in consideration of variables storing different data types.

Conclusion

In conclusion, JavaScript is a very versatile object oriented programming language. Learning JavaScript like any other programming language takes practice. Practicing constantly step by step from the basics to gain experience is important to learn coding.