Is that it? I've been trying to figuring it for quite a while and it seems so obvious after you said it. I do know that bolds and all caps being used for emphasis, never thought about that italics in the same light, or, I supposed, soft emphasis.
If we look at the signature expectEqual(expected: anytype, actual: @TypeOf(expected)) !void, notice that the second arg's type depends on the first arg's type.
To avoid using @as coercion, we can just swap the passing arguments. comptime_int can be inferred as i64, not the other way around. And that makes sense because literal values are unsized.
Understand technical materials better and faster. (Primary)
Not missing out English conversations in my country.
Defending myself in English arguments.
I wish my English were as good as my Mandarin. Have been practicing on Reddit for more than a year and have improved a lot since then! But still lack some basic language sense and find it challenging to express abstract concepts precisely and concisely.
To be more specific, fractional-reserve banking system creates this giant pyramid scheme, not capitalism per se.
Is that it? I've been trying to figuring it for quite a while and it seems so obvious after you said it. I do know that bolds and all caps being used for emphasis, never thought about that italics in the same light, or, I supposed, soft emphasis.
Thanks!!
If we look at the signature
expectEqual(expected: anytype, actual: @TypeOf(expected)) !void, notice that the second arg's type depends on the first arg's type.To avoid using
@ascoercion, we can just swap the passing arguments.comptime_intcan be inferred asi64, not the other way around. And that makes sense because literal values are unsized.Many reasons! Here are a few:
I wish my English were as good as my Mandarin. Have been practicing on Reddit for more than a year and have improved a lot since then! But still lack some basic language sense and find it challenging to express abstract concepts precisely and concisely.
ps: hmm... lemmy.world server kind of unstable