Imperative and structured - Javascript

This is a discussion on Imperative and structured - Javascript ; JavaScript supports all the structured programming syntax in C (e.g., if statements, while loops, switch statements, etc.). One partial exception is scoping: C-style block-level scoping is not supported (instead, JavaScript has function-level scoping). JavaScript 1.7, however, supports block-level scoping with ...

+ Reply to Thread
Results 1 to 2 of 2

Imperative and structured

  1. Default Imperative and structured

    JavaScript supports all the structured programming syntax in C (e.g., if statements, while loops, switch statements, etc.). One partial exception is scoping: C-style block-level scoping is not supported (instead, JavaScript has function-level scoping). JavaScript 1.7, however, supports block-level scoping with the let keyword. Like C, JavaScript makes a distinction between expressions and statements. One syntactic difference from C is automatic semicolon insertion, in which the semicolons that terminate statements can be omitted.

  2. Default Re: Imperative and structured

    Although for consistent and reusable design we follow Object Oriented paradigms; “structured approach” has still its worth in some imperative and critical applications. Support or contradict this statement with solid arguments.

+ Reply to Thread

Similar Threads

  1. Can i make a variable like those in imperative language ?
    By Application Development in forum PROLOG
    Replies: 5
    Last Post: 05-19-2005, 05:47 AM