CSC207H1 Lecture Notes - Regular Expression, Observer Pattern, Language Construct
Document Summary
Learning a new language: how java handles name look-up, abstract classes and interfaces, exceptions, etc, but bigger differences vs python, e. g; Everything has a type (variables & methods, not just objects) Completely object-oriented (no functions, all code in a class) And an overall philosophy oriented towards safety: and a new language construct: reflection, you also did more of the learning yourself than before, you"ll see more languages with new constructs & approaches: Regular expressions: these have many practical applications: Parsing input in a java program (or another language). Many unix commands, such as grep, use regular expressions. Regular expressions and related concepts are important in language design and compilers. Csc488:compilers and interpreters: at the same time, there is rigorous and beautiful theory behind regular expressions. You can learn about it in csc448:formal languages and automata: we briefly touched on the concept of expressive power (bnf vs regular expressions).