Skip to content

A lightweight library that lets You write unreadable code

License

Notifications You must be signed in to change notification settings

KacperFKorban/lazycall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LazyCall

Tired of having to call right methods? Tired of having to know names of methods?

Do You often find Yourself looking at Your code and thinking that it is too nice and readable?

Are You worried that Your employer will fire you and someone else will maintain Your code?


Boy! Do I have a thing for You.

Now You can call accessor functions without using their names. Just use .magicGet extension method with required type as parameter.

import lazycall.*

case class XD(i: Int) {
  def a: Long = i.toLong
}

XD(1).magicGet[Long]

Disclaimer: The work lazy in name has nothing to do with the way methods are called. It only describes the state of mind of potential user.

About

A lightweight library that lets You write unreadable code

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages