body, html { width: 100%; height: 100%; } body{ padding-top:100px; } body, h1, h2, h3, h4, h5, h6 { font-family: "Lato","Helvetica Neue",Helvetica,Arial,sans-serif; font-weight: 700; } #content{ min-height: 600px; } #banner_image { padding-bottom: 50px; text-align: center; color: #f8f8f8; background: url(../img/intro-bg_1.jpg) no-repeat center center; background-size: cover; } #banner_content { position: relative; padding-top: 6%; padding-bottom: 6%; margin-top: 12%; margin-bottom: 12%; background-color: rgba(0, 0, 0, 0.7); max-width: 660px; } #item_list { padding-top: 50px; } /*This code ensures that when we navigate to a particular section of a page, the section does not get lost behind the header*/ #cameras:before, #watches:before, #shirts:before{ display: block; content: " "; margin-top: -85px; height: 85px; visibility: hidden; } #login-panel .panel-footer{ font-weight:normal; } footer { padding: 10px 0; background-color: #101010; color:#9d9d9d; bottom: 0; width: 100%; } .red{ color:red; } #settings-container{ margin-bottom:10px; } .navbar-brand{ font-size:20px; } @media(max-width:768px) { #banner_content { padding-bottom: 15%; } footer{ text-align:left; } } .remove_item_link{ color:#0000ff; }

How were Programming Language invented and Why ?

The hardware of a computer only understands 0 and 1: electricity or no electricity.
First problem: different hardware needs different 0’s an 1’s. Cue “computer architecture”, a structure that allows the processor to convert a simple instruction set (assembly or assembler) to the 0’s and 1’s that fit your hardware. For most computers this is x86, 32 or 64 bit.
Second problem: it’s pretty inconvenient to type whole programs in assembly language, since it supports only the most basic commands (add, multiply, loop). So programmers write in “higher programming languages”, which offer more complex structures and commands (classes, interfaces, …). Then the compiler converts all this to assembly matching the hardware. The high level program remains the same for all hardware!
Lastly there’s a big variation in high level programming languages. The differences here are because someone wants specific features for a certain niche. Java for example has its own mini-architecture “java virtual machine”, making it even easier to use on different hardware. PHP has smooth web-database interactions, C++ is made for OOP, … New languages arise when someone says “hmm I wish there was a language that combines x and y features”
Post a Comment

Amazing Facts about Programming

Amazing Facts about programming  The first programmer was a lady named Ada Lovelac . She was a writer and gifted mathematician...

Popular Tutorials