University of Oregon

Week 7

Web-Coding-iconYou Might Be A Programmer If:

1. You immediately complain that this should be subscripted as zero.
2. By the time you’ve gotten here in this document, you’ve run a linter to check the HTML.
3. Point 2 annoys you, since this document is obviously plaintext without html.
4. The statement (0x2b || !0x2b) makes sense to you.

Note: Hexadecimal numbers use a leading zero followed by a lowercase or uppercase Latin letter “X” (0x or 0X).
(eg) 0xA // 10

5. You find 4 funny. [Think Shakespeare!]
6. You note with disgust that it always evaluates to true, since 0x2b != 0.
7. Point 6 disgusts you, because in other languages it would throw a runtime error.
8. Your DuckID password is the chemical formula for caffeine.


Required Reading


Optional Web Field Trips

Skip to toolbar