Blog Archive

Saturday, May 20, 2023

05-19-2023-2202 - boilerplate code

In computer programming, boilerplate code, or simply boilerplate, are sections of code that are repeated in multiple places with little to no variation. When using languages that are considered verbose, the programmer must write a lot of boilerplate code to accomplish only minor functionality.[1]

The need for boilerplate can be reduced through high-level mechanisms such as metaprogramming (which has the computer automatically write the needed boilerplate code or insert it at compile time), convention over configuration (which provides good default values, reducing the need to specify program details in every project) and model-driven engineering (which uses models and model-to-code generators, eliminating the need for manual boilerplate code). 

https://en.wikipedia.org/wiki/Boilerplate_code

Origin

The term arose from the newspaper business. Columns and other pieces that were distributed by print syndicates were sent to subscribing newspapers in the form of prepared printing plates. Because of their resemblance to the metal plates used in the making of boilers, they became known as "boiler plates", and their resulting text—"boilerplate text". As the stories that were distributed by boiler plates were usually "fillers" rather than "serious" news, the term became synonymous with unoriginal, repeated text.[2][3]

A related term is bookkeeping code, referring to code that is not part of the business logic but is interleaved with it in order to keep data structures updated or handle secondary aspects of the program. 

https://en.wikipedia.org/wiki/Boilerplate_code

 

When using languages that are considered verbose, the programmer must write a lot of boilerplate code to accomplish only minor functionality.[1]

The need for boilerplate can be reduced through high-level mechanisms such as metaprogramming (which has the computer automatically write the needed boilerplate code or insert it at compile time), convention over configuration (which provides good default values, reducing the need to specify program details in every project) and model-driven engineering (which uses models and model-to-code generators, eliminating the need for manual boilerplate code).

https://en.wikipedia.org/wiki/Boilerplate_code

https://en.wikipedia.org/wiki/Civil_engineering

https://en.wikipedia.org/wiki/Engineering_ethics

https://en.wikipedia.org/wiki/Ethical_code

https://en.wikipedia.org/wiki/Building_code

https://en.wikipedia.org/wiki/National_Construction_Code

https://en.wikipedia.org/wiki/International_Building_Code

https://en.wikipedia.org/wiki/National_Building_Code_of_Canada

https://en.wikipedia.org/wiki/ASME_Boiler_and_Pressure_Vessel_Code

https://en.wikipedia.org/wiki/Framing_(construction)

https://en.wikipedia.org/wiki/Polar_code_(coding_theory)

https://en.wikipedia.org/wiki/Low-density_parity-check_code

https://en.wikipedia.org/wiki/Haunted_Castle_(Six_Flags_Great_Adventure)

https://en.wikipedia.org/wiki/Plumbing

https://en.wikipedia.org/wiki/Hamming_code

https://en.wikipedia.org/wiki/Fare_basis_code

https://en.wikipedia.org/wiki/Area_codes_212,_646,_and_332

https://en.wikipedia.org/wiki/Gray_code

https://en.wikipedia.org/wiki/National_Electrical_Code

https://en.wikipedia.org/wiki/Life_Safety_Code

https://en.wikipedia.org/wiki/Code_enforcement

https://en.wikipedia.org/wiki/Code-switching

 

https://en.wikipedia.org/wiki/List_of_referred_Indian_Standard_Codes_for_civil_engineers

 

https://en.wikipedia.org/wiki/Morse_code

https://en.wikipedia.org/wiki/United_States_Army_Corps_of_Engineers

https://en.wikipedia.org/wiki/Space_Engineers

https://en.wikipedia.org/wiki/Combat_engineer

https://en.wikipedia.org/wiki/Code_name

https://en.wikipedia.org/wiki/Baudot_code

https://en.wikipedia.org/wiki/Gold_code

https://en.wikipedia.org/wiki/Pulse-code_modulation

 

https://en.wikipedia.org/wiki/Architectural_engineering

https://en.wikipedia.org/wiki/Universal_Product_Code

https://en.wikipedia.org/wiki/Obfuscation_(software)

https://en.wikipedia.org/wiki/Telephone_numbering_plan

https://en.wikipedia.org/wiki/Advent_of_Code

https://en.wikipedia.org/wiki/Entropy_coding

https://en.wikipedia.org/wiki/Professional_ethics

https://en.wikipedia.org/wiki/International_Article_Number

https://en.wikipedia.org/wiki/Code_review

https://en.wikipedia.org/wiki/Program_optimization

https://en.wikipedia.org/wiki/Site_reliability_engineering

https://en.wikipedia.org/wiki/Internet_leak#Source_code_leaks

https://en.wikipedia.org/wiki/Structural_engineer

https://en.wikipedia.org/wiki/United_States_military_occupation_code

https://en.wikipedia.org/wiki/P-code_machine

https://en.wikipedia.org/wiki/Mechanical_engineering

https://en.wikipedia.org/wiki/ASCII

https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards

https://en.wikipedia.org/wiki/Binary-coded_decimal

https://en.wikipedia.org/wiki/National_Electrical_Safety_Code

https://en.wikipedia.org/wiki/Genetic_code

https://en.wikipedia.org/wiki/Seismic_code

https://en.wikipedia.org/wiki/Electronic_color_code

https://en.wikipedia.org/wiki/Computer_Engineer_Barbie

https://en.wikipedia.org/wiki/Mining_engineering

https://en.wikipedia.org/wiki/Operation_Aphrodite

https://en.wikipedia.org/wiki/List_of_airline_codes

https://en.wikipedia.org/wiki/Engineering_law

https://en.wikipedia.org/wiki/Green_Cross_Code

https://en.wikipedia.org/wiki/Tire_code

https://en.wikipedia.org/wiki/Financial_engineering

https://en.wikipedia.org/wiki/List_of_welding_codes

https://en.wikipedia.org/wiki/Code_Blue_(album)

https://en.wikipedia.org/wiki/Telecommunications_engineering

https://en.wikipedia.org/wiki/International_Plumbing_Code

https://en.wikipedia.org/wiki/Code_of_practice

https://en.wikipedia.org/wiki/American_Engineers%27_Council_for_Professional_Development

https://en.wikipedia.org/wiki/Expanded_genetic_code

https://en.wikipedia.org/wiki/Toll-free_telephone_number

https://en.wikipedia.org/wiki/Engineer_Research_and_Development_Center

https://en.wikipedia.org/wiki/Vehicle_identification_number

https://en.wikipedia.org/wiki/Industrial_engineering

https://en.wikipedia.org/wiki/Lucknow_Charbagh_railway_station

https://en.wikipedia.org/wiki/Custom_firmware

https://en.wikipedia.org/wiki/Cryptanalysis_of_the_Enigma#M4_(German_Navy_4-rotor_Enigma)

https://en.wikipedia.org/wiki/Electro-technical_officer

https://en.wikipedia.org/wiki/Geotechnical_engineering

https://en.wikipedia.org/wiki/Classic_Mac_OS

https://en.wikipedia.org/wiki/Tradition

https://en.wikipedia.org/wiki/Rewrite_(programming)

https://en.wikipedia.org/wiki/Heroism

https://en.wikipedia.org/wiki/Work_etiquette#Dress_code

https://en.wikipedia.org/wiki/Wireless_telegraphy

https://en.wikipedia.org/wiki/Belagavi_railway_station

https://en.wikipedia.org/wiki/Enigma_machine

https://en.wikipedia.org/wiki/Second_Level_Address_Translation

https://en.wikipedia.org/wiki/Gillham_code

https://en.wikipedia.org/wiki/Microcode

https://en.wikipedia.org/wiki/Operations_order 

https://en.wikipedia.org/wiki/Test_automation

https://en.wikipedia.org/wiki/Tetracycline

https://en.wikipedia.org/wiki/Code_cave

https://en.wikipedia.org/wiki/Telephone_number#Special_feature_codes

https://en.wikipedia.org/wiki/Original_North_American_area_codes

https://en.wikipedia.org/wiki/Station_Square_collapse

https://en.wikipedia.org/wiki/Magic_(cryptography)

https://en.wikipedia.org/wiki/Backspace

https://en.wikipedia.org/wiki/Overengineering

https://en.wikipedia.org/wiki/Steel_grades#Color_coding

https://en.wikipedia.org/wiki/List_of_fictional_scientists_and_engineers

https://en.wikipedia.org/wiki/Codewars

https://en.wikipedia.org/wiki/Digital_object_identifier

https://en.wikipedia.org/wiki/JSONP#Untrusted_third-party_code

https://en.wikipedia.org/wiki/Unicode

https://en.wikipedia.org/wiki/Continuous_Tone-Coded_Squelch_System



 

No comments:

Post a Comment