News for hackers. Stuff that matters.
Re:Kotlin Money by DaiPlusPlus on Tuesday October 08, 2024 @10:07AM (#41777534)
> no mainstream language has a first-class data type for representing money

Visual Basic 6 and VGA had a `Currency` type (replaced by `Decimal` in VB.NET): https://learn.microsoft.com/en-us/office/vba/language/refere...

T-SQL has `money` and `smallmoney` types: https://learn.microsoft.com/en-us/sql/t-sql/data-types/money...

...am I missing something?

Re:Kotlin Money by sam0x17 on Tuesday October 08, 2024 @10:19AM (#41777660)
> mainstream

;)

Re:Kotlin Money by DaiPlusPlus on Tuesday October 08, 2024 @10:53AM (#41778008)
What could be more mainstream than VB6?
Re:Kotlin Money by eriksencosta on Tuesday October 08, 2024 @03:26PM (#41780859)
Excel macros.
Re:Kotlin Money by DaiPlusPlus on Tuesday October 08, 2024 @01:18PM (#41779563)
> Visual Basic 6 and VGA

*VBA, sorry; typo. HN won't let me edit my posts argh.