Programming - Productivity - Tips - Tidbits - Jargon

 Some common jargon/interesting facts related to programming/concepts.

  • The term "machine learning" was coined by Arthur Samuel in 1959.
  • The term "Artificial Intelligence" (AI) was coined by John McCarthy in 1956
  • The term "cyberspace" was coined by William Gibson, a science fiction writer, in his 1982 short story titled "Burning Chrome".

Programming Paradigm is of two types
  1. Declarative: Focus is on what the program should accomplish. We describe the desired outcome or result, and the underlying system or framework determines the necessary steps to achieve that result. 
    • Example: SQL, HTML
  2. Imperative: Focus is on describing how a program should accomplish.  We describe by explicitly outlining the sequence of commands or instructions that change the program's state.
    • Example: C, Python(imperative)
How to comment a single line or multiple lines in Programming?
  • Keep a at the beginning of the line
  • Keep a // at the beginning of the line
  • Enclose all lines to be commented between /* <lines to be commented> */
Did you know? 
Short cut for Emojis on Windows is 🪟(Windows or Start) +  (period) 
Short cut for taking Screenshot in Windows is 🪟(Windows) + ⬆️ (Shift) + s
Short cut for taking Screenshot in Mac is Control + ⬆️ (Shift) + 4


Snake case: hello_world_hi > All lower case and separate each word with underscore
Pascal case: HelloWorldHi  > Capitalize each word and avoid underscore
Camel case: helloWorldHI   > Capitalize each word except 1st word and avoid underscore

No comments:

Post a Comment