PROGRAMMING    

  minte9
MEMORYApp



Something 2 remember
Every day

Python Collections Dictionaries

D = dict()
D["one"] = "uno"
D.get("one") == "uno"

D = {"one": "uno", "2": "dos"}

for v in D.values():
    print(v)

Java Basics Exceptions

Using throws, forces developer to try/catch
A method can throw multiple exceptions

MyClass
  myMethod() throws Exception {}
try
catch (Exception e)

Php Variables Exists

Downsides of the way PHP handles variables
Use !empty(), not isset

if(isset($a) && $a != "")
if(!empty($a)) // better

JS Fundamentals Hello World

Code can be inserted into HTML
Also, into an external file

<script>
    alert("Hello World");
</script>
<script src="hello.js"></script>