Spring: Accessing a Bean

There are multiple ways to access a bean in Spring: //Classic way: cast is needed TransferService ts1 = (TransferService)context.getBean(“transferService”); //Since Spring 3.0: no more cast, type is method…

Swift 2: Function

Use func to declare a function. Call a function by following its name with list of arguments in parantheses. Use -> to separate names and type from the…

Happy New Year 2016

Happy new year 2016! Today is the first blank page of a 365 page book.