Piranha Open Source Tool That Automatically Deletes Obsolete Code

- Advertisement -

Uber has a powerful engineering methodology for a better user interface, the world’s largest transport network service. Uber has used task flags to tailor the execution of the mobile device that provides specific functionality for different users.

Uber has launched a tool named Piranha, which deletes outdated and expired code from app files automatically. Piranha says that the ride-sharing service lets developers simplify the code removal process, which takes a lot of time when performed manually.

Companies such as Uber can locate user experience in various regions in which they operate using function flags. It helps Uber and other companies to gradually deploy users around the world and test various functionality variations.

Now, these role flags become a successful attribute or merely an unsuccessful attempt. In each case, the flag is no longer relevant and becomes a stalled function flag.

That is exactly where Piranha is required by developers. This open-source tool will automatically delete the function flags and their respective code that is no longer required.

Obsolete code such as obsolete character flags does not only induce coding disorder and bring confusion to it but interferes with certain flags or even contributes to bugs.

Piranha regularly receives an entry of the flag management system that produces a diff and sends it to the initial flag readers. The flag management system Then the author will determine whether the diff will be landed.

Piranha Open Source Tool For Removing Technical Debt From Code

Piranha functions currently with the Objective-C, Swift, and Java platforms. Now that open access is opened, the original code can be created and made usable for other programming languages.

Using SwiftSyntax to restructure Swift code to enforce PiranhaSwift and PiranhaObjC is used in Objective-C applications for the purposes of cleaning up code and in C++.

Uber claims Piranha was used to erase approximately 2 000 standstill flags and their accompanying keys. In applications that use comprehensive flags of functions and enforce different APIs to monitor their behavior, the company recommends using Piranha.

- Advertisement -

Recent Articles

Microsoft Edge Is Now The Second Most Popular Browser In The World

Internet Explorer was the subject of a number of laughs from a decade now, but to the credit of Microsoft, the browser improved over...

LG Phone Model LM-G900N With ‘Lito’ Processor Spotted On Geekbench

LG has expected to leave the 'G' smartphones series and announce its substitute series on 15 May. Nevertheless, a mystery LG phone model with...

iPhone SE 2020 Release Date, Price, And Specification Leaks

After more than one year of speculation, the much-awaited low-cost Apple iPhone is finally coming out. It has been expected that the 2020 iPhone...

iPhone 12 Pro Max, iPhone 12 Pro Tipped To Debut With A LiDAR Sensor

Apple is rumored that the pipelines with Light Detection and Ranging (LiDAR) sensors are iPhone 12 Pro and iPhone 12 Pro Max. This new...

iOS 14 Release Date, Rumors And Other Significant Prediction

It may only be for obvious reasons that WWDC 2020 is online this year, but Apple plans to announce its iOS 14 release date...

Related Stories

Stay on op - Ge the daily news in your inbox