What modules are - Deepstash
Machine Learning With Google

Learn more about computerscience with this collection

Understanding machine learning models

Improving data analysis and decision-making

How Google uses logic in machine learning

Machine Learning With Google

Discover 95 similar ideas in

It takes just

14 mins to read

What modules are

What modules are

Good authors divide their books into chapters and sections; good programmers divide their programs into modules.

Like a book chapter, modules are just clusters of words (or code, as the case may be).

11

100 reads

MORE IDEAS ON THIS

CommonJS and AMD

  • CommonJS is a volunteer working group that designs and implements JavaScript APIs for declaring modules. A CommonJS module is essentially a reusable piece of JavaScript that exports specific objects, making them available for other modules to require in their programs.
  • Unlike CommonJ...

10

32 reads

Module pattern

The Module pattern is used to mimic the concept of classes so that we can store both public and private methods and variables inside a single object — similar to how classes are used in other programming languages like Java or Python. 

That allows us to create a public-faci...

11

35 reads

UMD

For projects that require you to support both AMD and CommonJS features, there’s yet another format: Universal Module Definition (UMD).

UMD essentially creates a way to use either of the two, while also supporting the global variable definition. As a result, UMD modules are capable ...

10

36 reads

Why use modules?

There are a lot of benefits to using modules in favor of a sprawling, interdependent codebase. 

  • Maintainability: By definition, a module is self-contained. 
  • Namespacing: In JavaScript, variables outside the scope of a top-level function are glo...

11

52 reads

CURATED FROM

CURATED BY

heathesoli

Engineer in control and instrumentation

Related collections

More like this

Writing a book: Getting started

  1. Decide what the book is about. Write the argument of your book in a sentence, then turn that into a paragraph, then into a one-page outline. Then write a table of contents to help guide your writing. Break each chapter into a few sections.
  2. Set a daily word ...

Courses tend to be more balanced. A professor teaching a basic course will try to explain most of the major viewpoints. A popular book written by the same professor might be completely one-sided as they try to make the strongest case for their views. Polemical works can be useful but they can be ...

Your Introversion Is A Part Of You, But It’s Not You

Introverts don’t like to spend their precious energy on people they don’t get along with anyway and may have a certain social group where they are as active as extroverts.

This makes the case of no one really being a stereotypical introvert or extrovert, but just a...

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving & library

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Personalized recommendations

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates