number string boolean undefined null Symbol Objects Objects can store collection of data types, called properties. Each property has a key and value key is of string data types and value can be of any data type.
If a value is a functon, its called as a method
Equality in Objects == or === only tests if both operands are same objects.
Scala’s unified type system Any is the super type Defines methods like - equals, hashCode, toString AnyVal represents value types. Double Float Long Int Short Byte Char Unit - Only one instance can be there - () Boolean AnyRef represent refernce types like List Nothing is subclass for all value types. Null is subclass for all reference types. Should not be used in Scala code.
Significant points of Scala Developed by Martin Odersky in 2004. Is MultiParadigm - a blend of Functional and Object Oriented Paradigms Is statically typed Heavily uses Java libraries Encourages use of immutable data structures Basics Expressions are computable statements. For example 1+1
Values are names for results for expressions. Example val x = 1 + 1
These are immutable Variables are mutable names for expression results.
Animations Animations have always amazed me. Beautiful still images are brought to life, objects are set in motion, etc, all mainly depending how the animators imagined and implemented it, probably using a animation tool.
While my wife was making illustrations (portfolio), I decided to try my hands on some animations using Adobe After Effects. You can check it out here
Video Editing While this was fun, I also wanted to work on my Video Editing skills.
Recently I had to do a bit of reading on building Indexes in Postgres. Intrestingly I found some striking features about indexing types in Postgres
Extensions Postgres has a collection of extensions/modules. These are basically set of functions. One such module is pg_trgm. Quoting from the documentation- “pg_trgm provides functions and operators for determining the similarity of ASCII alphanumeric text based on trigram matching, as well as index operator classes that support fast searching for similar strings” Documentation