Guest User

Untitled

a guest
Jan 16th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  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."
Add Comment
Please, Sign In to add comment