daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Jan 16th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env bash
  2. echo "===== C ====="
  3. gcc -o example example.c && ./example
  4. echo
  5.  
  6. echo "===== Java ====="
  7. javac Example.java && java Example
  8. echo
  9.  
  10. echo "===== JavaScript ====="
  11. node example.js
  12. echo
  13.  
  14. echo "===== Conclusion ====="
  15. echo "Mandatory semicolons don't fix JS, they just trade unexpected behaviours."
  16. echo "The correct solution is to put a semicolon before lines that will attach"
  17. echo "themselves unexpectedly to the previous line."
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top