Articles tagged with: Javascript

Word prediction using a trie data structure

Summary: Explores word prediction/autocomplete using a trie data structure. Includes a demo and the source code of the trie implementation.


Classes in Javascript - 2023 edition

Summary: A summary of classes in JavaScript as of 2023, with examples including constructors, inheritance, getters, setters, static properties, private methods, and instantiation.


Dependency Injection in Javascript and Testing

Summary: The use of dependency injection in JavaScript and its benefits for testing.


Always use linters and auto-formatters

Summary: Using linters and auto-formatters can ensure consistent and uniform code, improve code reviews, and eliminate trivial issues. Examples of linters and formatters for Python and JavaScript.


Trying Electron for packaging web apps

Summary: First steps in using Electron to package a simple web app for Windows.