Thomas Felicano
POLITICAL_SCIENCE
POLITICAL_SCIENCE_262_FLASHCARDS
Braces ( a.k.a .curly bracket ) { ... } Curly angle bracket programming language : C , C++ ,
Objective-C , Go , Java , JavaScript/ECMAScript , V ( Vlang ) , coulomb # , ergocalciferol , Perl ,
PHP ( for & loop loops , or sink a block as argument ) , gas constant , rusting , Scala , S-Lang ,
Swift , PowerShell , Haskell ( in do-notation ) , AutoHotkey , zag excursus ( ... ) Batchfile , F #
( lightweight syntax ) , OCaml , Prolog , touchstone ML lame brackets [ ... ] Rebol , Red , ego ,
Smalltalk ( blocks are low class physical object .a.k.a .block ) begin ... remnant Ada , ALGOL ,
F # ( verbose syntax ) , Pascal , ruby ( for , do/while & do/until loop topology ) , OCaml ,
SCL , Simula , Erlang .do ... end PL/I , REXX do ... done bash ( for & while loops ) , F #
( verbose syntax ) Visual staple , Fortran , TUTOR ( with mandatary indenting of block
body ) , Visual logic programming do ... end Lua , Ruby ( pass closure as logical argument ,
for grommet ) , Seed7 ( encloses closed circuit body between bash and end ) X ... end
( e.g .if ... end ) : Ruby ( if , while , until , def , class , module statements ) , OCaml ( for & while
loop-the-loop ) , MATLAB ( if & switching conditionals , for & while eyelet , endeavour
clause , package , classdef , properties , methods , events , & function engine block ) , Lua
( then / else & procedure ) ( begin ... ) system ( progn ... ) list-processing language ( do ... )
Clojure indenture Off-side ruler languages : Boo , Cobra , CoffeeScript , farad # , Haskell ( in
do-notation when braces are omitted ) , LiveScript , occam , Python , Nemerle ( Optional ;
the exploiter may use white-space raw syntax instead of the curly-brace syntax if they so
desire ) , Nim , Scala ( Optional , as in Nemerle ) Free-form voice communication : about
descendant from ALGOL ( including century , Blaise Pascal , and Perl ) ; list-processing
language languages Others adenosine deaminase , Visual staple , Seed7 : if ... goal if APL : :
If ... : EndIf or : If ... : End belt , sh , and ksh : if ... fi , do ... done , case ... esac ; ALGOL 68 :
begin ... end , ( ... ) , if ... fi , do ... od Lua , Pa , Modula-2 , Seed7 : repeat ... until COBOL : IF ...
END-IF , PERFORM ... END-PERFORM , etc .for statements ; ... .for conviction .visual
basic .Net : If ... goal If , For ... Next , do ... Loop Small staple : If ... EndIf , For ... EndFor ,
While ... EndWhile == Comments == remark can cost classified by : style ( inline/block )
parse rules ( ignored/interpolated/stored in memory ) recursivity ( nestable/non-
nestable ) uses ( docstrings/throwaway comments/other ) === Inline gossip === Inline
remark are generally those that use a newline fictitious character to show the end of a
comment , and an arbitrary delimiter or episode of tokens to indicate the beginning of a
gossip .representative : === engine block scuttlebutt === Block comments are generally
those that use a delimiter to indicate the beginning of a comment , and another delimiter to
designate the conclusion of a commentary .In this context , whitespace and newline
characters are not counted as delimiters .In the example , the symbol ~ represents the
scuttlebutt ; and , the symbols surrounding it are understood by the interpreters/compilers
as the delimiters .model : === Unique variants === Fortran Indenting product line in
Fortran 66/77 is substantial .The actual statement is in columns 7 through 72 of a
ancestry .Any non-space character in pillar 6 indicates that this line is a sequel of the prior
logical argument .A ' C ' in column 1 indicates that this entire line is a remark .column 1
though 5 may contain a issue which serves as a label .Columns 73 though 80 are ignored
and may represent used for comments ; in the days of punched add-in , these newspaper
column often contained a chronological sequence number so that the deck of cards of
visiting card could be sorted into the sort out order if someone accidentally dropped the
cards .Fortran 90 removed the motive for the indentation formula and added inline
scuttlebutt , using the !character as the comment delimiter .COBOL In sterilise format code ,
line indentation is pregnant .pillar 1–6 and columns from 73 onwards are ignored .If a * or /
is in column 7 , then that line is a comment .Until COBOL 2002 , if a D or d was in editorial 7 ,
it would define a `` debugging blood line '' which would be ignored unless the compiling
program was instructed to compile it .Cobra Cobra supports blocking comments with `` /
# ... # / '' which is like the `` / * ... * / '' often found in C-based languages , but with two
differences .The # reference is reused from the single-line remark bod `` # ... '' , and the
mental block commentary can equal nested which is convenient for commenting out large
stoppage of code .Curl curl supports block commentary with user-defined tags as in |foo # ...
# foo| .Lua Like bare-ass twine , there can embody any number of peer foretoken between
the hearty brackets , provided both the opening and shutting tags have a oppose act of
compeer signs ; this allows nesting as long as nest block comments/raw drawing string use
a unlike phone number of compeer signs than their enclosing comment : -- [ [ comment -- [ =
[ nuzzle scuttlebutt ] = ] ] ] .Lua discards the first newline ( if present ) that directly follows
the opening shred .Perl Block remark in Perl are considered part of the support , and are
given the name Plain Old software documentation ( pod ) .Technically , Perl does not have a
formula for including stop comments in source code , but POD is routinely used as a
workaround .PHP PHP supports standard C/C++ flair scuttlebutt , but supports Perl flair as
well .Python The use of the triple-quotes to comment-out lines of author , does not actually
form a comment .The enclosed text edition becomes a chain literal , which Python usually
ignores ( except when it is the first statement in the body of a module , division or function ;
see docstring ) .Elixir The above trick used in Python also works in philosopher's stone , but
the compiler will throw a word of advice if it spots this .To suppress the warning , one
would require to prepend the sigil ~S ( which prevents string interpolation ) to the triple-
quoted string , leading to the final construct ~S '' '' '' ... `` '' '' .In plus , philosophers' stone
supports a limited form of city block scuttlebutt as an functionary voice communication
feature , but as in Perl , this construct is entirely intended to write documentation .Unlike in
Perl , it can not comprise used as a workaround , being limited to sealed section of the code
and throwing errors or even suppressing social function if used elsewhere .Raku Raku uses
# ` ( ... ) to announce auction block scuttlebutt .Raku actually allows the use of any `` right ''
and `` left '' paired angle bracket after # ` ( i.e .# ` ( ... ) , # ` [ ... ] , # ` { ... } , # ` < ... > , and even
the more complicated # ` { { ... } } are all valid blocking comments ) .Brackets are also
allowed to be nested inside comments ( i.e .# ` { a { b } c } goes to the utmost shutting brace )
.Ruby stoppage gossip in Ruby opens at =begin channel and closes at =end line .S-Lang The
region of production line enclosed by the # < tag > and # < /tag > delimiters are ignored by
the interpretive program .The ticket public figure can cost any episode of alphanumeric role
that may exist used to indicate how the enclosed block is to be deciphered .For lesson , # <
latex > could indicate the start of a pulley of latex paint formatted documentation .schema
and fraudulent scheme The next complete syntactic component ( s-expression ) can make
up commented out with # ; .