Login | Register   
RSS Feed
Download our iPhone app
Browse DevX
Sign up for e-mail newsletters from DevX

By submitting your information, you agree that devx.com may send you DevX offers via email, phone and text message, as well as email offers about other products and services that DevX believes may be of interest to you. DevX will process your information in accordance with the Quinstreet Privacy Policy.


Scientist Tool Helps Rewrite Ruby Code

The new tool, developed by GitHub, is available on GitHub.




Application Security Testing: An Integral Part of DevOps

GitHub has released Scientist 1.0, a Ruby library that assists with code rewrites. It shows developers what will happen when rewritten code is executed, compared with how the original code ran. "It works by creating a lightweight abstraction called an experiment around the code that is to be replaced," GitHub engineer Jesse Toth said. "The original code -- the control -- is delegated to by the experiment abstraction, and its result is returned by the experiment. The rewritten code is added as a candidate to be tried by the experiment at execution time."

GitHub says that developers should follow a similar procedure when rewriting code in any programming language. "Even if Ruby isn't your language of choice, we'd still encourage you to apply Scientist's experiment pattern to your system," said Toth.

View article

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.
Thanks for your registration, follow us on our social networks to keep up-to-date