Why왜 do you want to-하고 싶어? learn배우다 programming프로그래밍 now?지금
엄마는Mom (you) 왜why 지금now 프로그래밍을programming 배우고learn 싶어?want to?
🎬 쉰일곱. 하나는 프로그래머가 됐다. 미나가 딸이 하는 일을 알고 싶어 컴퓨터 앞에 앉는다.
낱말·덩어리를 누르면 그 소리가 납니다. 영어 위 작은 줄은 실제로 들리는 소리(연음 포함)를 한글로, 한국어 위 줄은 소리를 로마자로 적은 것입니다. 아래 작은 글씨는 이 문장 안에서의 뜻입니다. ✍️ 로 덩어리를 손가락·마우스로 따라 씁니다.
compile(컴파일), error(오류), value(값), variable(변수), function(함수) — 한국 개발자도 대부분 영어 낱말을 그대로 쓴다. 이 낱말들이 러스트 문서의 뼈대다.
글·화면이 말한다: The error says the value was moved. 한국어는 '…라고 나와'.
Why왜 do you want to-하고 싶어? learn배우다 programming프로그래밍 now?지금
엄마는Mom (you) 왜why 지금now 프로그래밍을programming 배우고learn 싶어?want to?
Because왜냐하면 I나 want to-하고 싶다 understand이해하다 what무엇을 you네가 do하다 all day.하루 종일
네가you 하루a day 종일all through 뭘what 하는지(what you) do 알고know 싶어서.because (I) want to
Okay.좋아 Let's start시작하자 with Rust.러스트로 The official book공식 책 is free.무료다
좋아.okay 러스트로with Rust 시작하자.let's start 공식official 책이book 무료야.is free
💡 free 는 '자유로운' 과 '공짜' 둘 다. 여기서는 '무료'.
error:오류 borrow빌림 of-의 moved이동된 value값
오류:error: 이동된moved 값을a value 빌림borrowing
💡 컴파일러 메시지는 문장이 아니라 이름씨 덩어리: borrow of moved value = '이동된 값을 빌림'. 뒤에서 앞으로 읽는다.
What무엇 does that그것이 even대체 mean?뜻하다
이게this 대체on earth 무슨what 말이야?does (it) say?
💡 even 은 '심지어' 지만 물음에서는 '대체·도대체' 하는 답답함.
It says그것이 말하길 you네가 gave the value away,값을 넘겨주었다 and then그러고 나서 tried to-하려고 했다 use쓰다 it그것을 again.다시
값을the value 넘겨줘handing over 놓고having done (it) 다시again 쓰려고trying to use 했다는that (you) did 거야.it is
💡 give away = '줘 버리다'. 러스트에서 값을 move 하면 원래 주인은 더 못 쓴다 — 물건을 남에게 준 것과 같다.
So그러니까 the compiler컴파일러 is-이다 just그냥 strict.엄격한 It's trying to-하려고 하고 있다 help돕다 me.나를
그러니까so 컴파일러가the compiler 깐깐한strict / fussy 거구나.(that's what) it is 날me 도와주려는trying to help 거네.it is
Exactly.바로 그거야 Always항상 read읽다 the error message오류 메시지 carefully.꼼꼼히 It그것 usually보통 tells you너에게 알려 주다 how to fix it.고치는 법
맞아.exactly 오류error 메시지는message 꼭be sure to 꼼꼼히carefully 읽어.read 보통usually 고치는fixing 법까지even the way 알려tell 줘.(for you)
Your네 mom엄마 said말했다 she그녀가 fixed고쳤다 her그녀의 first첫 bug버그(오류) today.오늘
엄마가your mom 오늘today 첫first 버그를bug 고쳤대.says (she) fixed
이 문장들은 낱말 뜻을 이어 붙이면 뜻이 틀어집니다. 소리째 문장 그대로 외우세요.
글 · 0개
아직 글이 없어요.