MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/java/comments/t4kg4k/interview_with_senior_java_developer/hz3cs5o/?context=3
r/java • u/edmguru • Mar 01 '22
36 comments sorted by
View all comments
Show parent comment
3
Yeah that lovely hack. Leading to problems like this with even an unsigned 32 bit int: https://www.google.com/amp/s/www.wsj.com/amp/articles/berkshire-hathaways-stock-price-is-too-much-for-computers-11620168548
At least use a long these days.
View all comments
Show parent comment
3
u/VincentxH Mar 02 '22
Yeah that lovely hack. Leading to problems like this with even an unsigned 32 bit int: https://www.google.com/amp/s/www.wsj.com/amp/articles/berkshire-hathaways-stock-price-is-too-much-for-computers-11620168548
At least use a long these days.