Author Archives: Vikas Hazrati

About Vikas Hazrati

Vikas is the CTO @ Knoldus which is a group of software industry veterans who have joined hands to add value to the art of software development. We do niche product and project development on Scala and Java. We consult and coach on effective software development and agile practices. With our focus on software craftsmanship you can be assured of a good quality at the right price. To know more, send a mail to info@knoldus.com or visit www.knoldus.com

ATDD, Generating random tests with ScalaCheck


Further, in our series on Acceptance Test Driven Development, we would look at generating random test values with the ScalaCheck framework. In our last post we looked at, how we make our test logic respect the DRY principle by defining … Continue reading

Posted in Agile, Architecture, Scala | Tagged , , , | Leave a comment

ATDD, ScalaTest, Cucumber and respecting DRY


In our last post we looked at how it was easy to use ScalaTest for doing acceptance testing. In a post prior to that, we had looked at doing the same with Cucumber. We had also concluded that though acceptance … Continue reading

Posted in Scala | Tagged , , , , , , | 1 Comment

ATDD, ScalaTest and Scala


In my last post on ATDD, we had seen how it was easy with Cucumber to write a feature file and share it with our stakeholders in order to validate our understanding of the functionality. The idea again is to … Continue reading

Posted in Scala | Tagged , , , | 2 Comments

ATDD, Cucumber and Scala


Acceptance Test Driven Development (ATDD) is a practice in which the whole team collaboratively discusses acceptance criteria, with examples, and then distills them into a set of concrete acceptance tests before development begins. If you notice the keywords here then … Continue reading

Posted in Scala | Tagged , , , , | 3 Comments

Knoldus’ ScalaJobz on First Paragraph of Typesafe’s Year End Blog


It was a New Year gift for all of us at Knoldus to be featured on the year end blog of Typesafe and that too in the first paragraph. The mention was for ScalaJobz, the community initiative which aggregates all … Continue reading

Posted in News, Scala | Leave a comment

OOPs concepts and Scala


Recently Knoldus delivered a training at a huge bank in Singapore and Mumbai, India to get them started with Scala. The team mostly coming from the imperative background was first updated on the best way to develop software in an … Continue reading

Posted in Agile, Scala | Tagged , , | Leave a comment

ScalaKnol: Understanding Traits as Stackable Modifications


Traits can be used to modify the methods of a class. The way such modifications are carried out is such that they can stack modifications with each other. Let us take an example. Say, there is a class called ImageProcessor … Continue reading

Posted in Scala | Tagged , , | Leave a comment

ScalaKnol: Understanding Uniform Access Principle


The ScalaKnol series attempts to share a nugget of Scala wisdom every few days or sometimes few times a day. Keep tuned. Today we would look at the Uniform Access Principle. The principle states that the client code or the … Continue reading

Posted in Scala | Tagged , , | 3 Comments

ScalaKnol: Understanding Loan Pattern


Loan Pattern as the name suggests would loan a resource to your function. So if you break out the sentence. It would Create a resource which you can use Loan the resources to the function which would use it This … Continue reading

Posted in Scala | Tagged , , , | Leave a comment

ScalaKnol: Why returning a value in finally is a bad idea


For those of us who are coming from an imperative background, we are used to using try catch rather losely. Ok, I am not trying to generalize here but a majority of us do so. When we come to the … Continue reading

Posted in Scala | Tagged , , , , , , | Leave a comment