Rushi Javiya has Published 170 Articles

How to get class properties and values using Typescript Reflection?

Rushi Javiya

Rushi Javiya

Updated on 01-Aug-2023 16:07:14

2K+ Views

TypeScript is a superset of JavaScript that provides static typing capabilities, allowing developers to write more reliable and efficient code. One of the most powerful features of TypeScript is its support for reflection. Reflection enables TypeScript developers to inspect and manipulate the properties of classes at runtime, making it easier ... Read More

TypeScript - Type erasure and error behaviour?

Rushi Javiya

Rushi Javiya

Updated on 01-Aug-2023 16:06:14

113 Views

TypeScript is a popular programming language that offers features such as type checking and type annotations to help developers write more robust and maintainable code. However, when TypeScript code is compiled into JavaScript, the type information is lost in a process called type erasure. This can lead to errors at ... Read More

How is TypeScript an optionally statically typed language?

Rushi Javiya

Rushi Javiya

Updated on 01-Aug-2023 15:47:12

196 Views

TypeScript is an open-source programming language developed and maintained by Microsoft. It is a superset of JavaScript, which means that all valid JavaScript code is also valid TypeScript code. TypeScript adds optional static typing, classes, interfaces, and other features to JavaScript to improve code quality, maintainability, and scalability. In this ... Read More

How to create your own TypeScript type definition files (.d.ts)?

Rushi Javiya

Rushi Javiya

Updated on 01-Aug-2023 15:37:17

2K+ Views

TypeScript, a superset of JavaScript, offers static typing capabilities that enhance code quality and catch errors during compilation. To fully leverage TypeScript's static typing features, it's crucial to have type definition files (.d.ts) for external JavaScript libraries and modules used in projects. These type definition files describe the types and ... Read More

How internal is different from external modules?

Rushi Javiya

Rushi Javiya

Updated on 01-Aug-2023 15:35:36

147 Views

TypeScript, an extension of JavaScript, introduces modules as a means to structure and organize code effectively. Modules play a vital role in developing scalable and maintainable applications by enabling code encapsulation and reusability. TypeScript supports two types of modules: internal (namespaces) and external (ES modules). In this article, we will ... Read More

How to compile .ts automatically with real-time changes in .ts file?

Rushi Javiya

Rushi Javiya

Updated on 01-Aug-2023 11:04:37

508 Views

TypeScript is a popular programming language widely used for developing large-scale applications. It is a superset of JavaScript and adds optional static typing, interfaces, and generics to the language. When working with TypeScript, it is crucial to have a smooth development workflow that includes automatically compiling .ts files with real-time ... Read More

Java Competitive Programming Setup in VS Code with Fast I/O and Snippets

Rushi Javiya

Rushi Javiya

Updated on 24-Jul-2023 13:05:56

345 Views

Introduction In this tutorial, we will walk you through the process of setting up a Java development environment in Visual Studio Code (VS Code) and introduce you to some useful tools and techniques for competitive programming, including fast input/output (I/O) techniques and useful code snippets. Setting up Java Development Environment ... Read More

Java I/O Operation - Wrapper Class Vs Primitive Class Variables

Rushi Javiya

Rushi Javiya

Updated on 24-Jul-2023 12:51:08

178 Views

Java Input/Output (I/O) operations play a crucial role in handling various types of data, allowing us to read from and write to different sources such as files, network connections, and standard input/output streams. When dealing with input and output in Java, we encounter situations where we need to handle both ... Read More

Java Generics to Code Efficiently in Competitive Programming

Rushi Javiya

Rushi Javiya

Updated on 24-Jul-2023 12:46:11

62 Views

Java generics provide a mechanism for writing reusable and type-safe code. They allow classes, methods, and interfaces to operate on different data types while providing compile-time type checking. One of the primary advantages of using generics in competitive programming is the ability to create generic data structures. These data structures, ... Read More

Java Extension Methods

Rushi Javiya

Rushi Javiya

Updated on 24-Jul-2023 12:44:32

2K+ Views

In this tutorial, we will explore Java Extension Methods, a powerful feature introduced in Java 8. Extension methods allow developers to add new functionality to existing classes without modifying their source code. This feature is especially useful when working with library classes or third-party APIs, as it enables us to ... Read More

Advertisements