4

def devRantPostAction(post : DevRantPost) = {
If ((post.contains("fuck") && ContradictsItself(post)) || ContainsBrilliantGif(post) || ReferencesPornSite(post))
PlusOne
else if (ContainsSqlInjection(post)
MinusOne
else
Ignore
}

Comments
Add Comment