Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Bona139ylets make it even less efficient. Can't we put a tostring in there and compare to "true" or "false"
-
Lagostra2959yThis can actually also be written recursively:
public static boolean checkIfTrue(boolean varToCheck) {
return checkIfTrue(varToCheck);
} -
Anaeijon5149y@Bona
We could also encrypt the string in base 64 for obvious security reasons.
We should also add a timestamp and pk-signature.
After that we might be able to improve the speed by comparing the hash.
An essential helper function for any project.
undefined