Zig의 사랑스러운 문법
------------------------------
- Zig는 Rust와 비슷한 *중괄호 기반 문법* 을 기반으로 하지만, 더 단순한 언어 의미와 세련된 문법 선택으로 개선함
- *정수 리터럴* 은 모든 타입이
comptime_int로 시작해 할당 시 명시적으로 변환되며, *문자열 리터럴* 은 \\ 기반의 간결한 원시 문자열 표기법을 사용함
-
.x = 1 형태의 *레코드 리…
------------------------------
https://news.hada.io/topic?id=22653&utm_source=googlechat&utm_medium=bot&utm_campaign=1834

0

If you have a fediverse account, you can quote this note from your own instance. Search https://sns.lemondouble.com/notes/abppjfq4t4 on your instance and quote it. (Note that quoting is not supported in Mastodon.)