Programming
Showing 781–792 of 3115 results
Declare and instantiate classes in TypeScript
Classes in TypeScript extend the ES6 functionality by adding TypeScript-specific features like type annotations for class members, access modifiers, and the ability to specify required or optional parameters. Another benefit of using TypeScript is that you can use it to develop with classes and then compile them down to JavaScript that works across all major browsers and platforms, as needed.
Declare variable types in TypeScript
JavaScript is a dynamically typed language. While this makes declaring variables easy, it can in some cases lead to unexpected results. The static type system in TypeScript enables you to describe the shape of an object, providing better documentation, and allowing TypeScript to validate that your code is working correctly. In TypeScript, declarations of namespaces, classes, properties, functions, variables, and other language entities associate types with those entities. The way that a type is formed and associated with a language entity depends on the kind of entity. This module introduces some of the available types and shows how to associate them with variables. Later modules examine how interfaces, functions, and classes use static typing.
Decode the Coding Interview in C#: Real-World Examples
Learn how to solve coding interview problems using C#, with practical examples and explanations.
Decode the Coding Interview in C++: Real-World Examples
Stop grinding through endless practice questions, and start breaking down real-world problems. Tackle your interview in C++ with confidence.
Decode the Coding Interview in Elixir: Real-World Examples
Stop grinding through endless practice questions, and start breaking down real-world problems. Tackle your interview in Elixir with confidence.
Decode the Coding Interview in Go: Real-World Examples
Prepare for coding interviews with practical examples and solutions using Go, focusing on common problem-solving techniques.
Decode the Coding Interview in JavaScript: Real-World Examples
Stop grinding through endless practice questions, and start breaking down real-world problems. Tackle your interview in JavaScript with confidence.
Decode the Coding Interview in Kotlin: Real-World Examples
Stop grinding through endless practice questions, and start breaking down real-world problems. Tackle your interview in Kotlin with confidence.
Decode the Coding Interview in Python: Real-World Examples
Stop grinding through endless practice questions, and start breaking down real-world problems. Tackle your interview in Python with confidence.
Decode the Coding Interview in Ruby: Real-World Examples
Stop grinding through endless practice questions, and start breaking down real-world problems. Tackle your interview in Ruby with confidence.
Decode the Coding Interview in Rust: Real-World Examples
Stop grinding through endless practice questions, and start breaking down real-world problems. Tackle your interview in Rust with confidence.
Decode the Coding Interview in Scala: Real-World Examples
Stop grinding through endless practice questions, and start breaking down real-world problems. Tackle your interview in Java with confidence.