@bunjavascript@nithinkjoy_tech I love bun test! Is proper test code coverage (lcov) on the roadmap? Currently a blocker for us to make the full switch from Node/Jest.
@rescriptlang Seems like the core library in Playground isn't working? v11.1.1, loaded libs: rescript/core
Output: Error: Core__Option is not defined
The code compiles. but doesn't run in output.
I've seen companies indirectly spend millions on building their own infra/platform that exists as commodity for a fraction of the cost, but likewise I've also seen naive implementations hosted on PaaS that have been severally punished as usage has surged and caught ppl off guard
It's funny to watch the extremely polarised debate on "$5 VPS vs pricy PaaS". from the sidelines. I am a user of both, and as always there is no "silver bullet" just different solutions for different problems.
In my experience, both have made economical and practical sense from a business PoV, but both can also equally screw you over if you're not paying attention.
The best thing with TypeScript 5.5 has to be that you can now finally do this:
const items = [1, "lol", "sup"];
items.filter(item => typeof item === "string").map(item=> (item.toUpperCase()))
Without getting a "Property 'toUpperCase' does not exist on type 'number'."
Quote of today: "A large proportion of the computers in this world manipulate money, so it's always puzzled me that money isn't actually a first class data type in any mainstream programming language." https://t.co/IWmU8Hx6cu
@dzakh_dev Like you said, depending on daylight. I use light theme during day and and dark theme in evening/night. I just let Mac OS do it automatically.
I appreciate the vision of Bun, and all the tooling it provides out of the box, but currently a lot of it unfortunately lacks depth. Bun test runner for instance has a --coverage option, but no support for lcov or branch coverage forces me to stick with Jest?
TypeScript wizards: Is there a way to make "Direction" type show what string values it's expecting in the tooltip rather than having to go and find thet type definition in code?
The reason I'm declaring directions as const is because I want to use the actual values in runtime.
@mattpocockuk noUncheckedIndexedAccess:true also improved things a lot for me, was kind of surprised it was not part of strict. What other things might I be missing out on?