xzqtlmn

u/xzqtlmn@lemmy.world
1 posts · 4 comments

Recent posts

Recent comments

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!!

on Using expectEqual · c/zig · 2 pts · 3y

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.

Many reasons! Here are a few:

  • 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.

ps: hmm... lemmy.world server kind of unstable