Убедили. Читаем.
>fn main() {
> println!("Hello, world!");
>}
> If Hello, world! did print, congratulations! You’ve officially written a Rust program. That makes you a Rust programmer—welcome!
Ну для этого надо блобятину скачивать на компутер, нет уж спасибо, расскажите что за восклицательные знаки, новичку так сказать, который уже суперхелопрограмер как-никак.
>Second, println! calls a Rust macro. If it called a function instead, it would be entered as println (without the !). We’ll discuss Rust macros in more detail in Chapter 19. For now, you just need to know that using a ! means that you’re calling a macro instead of a normal function, and that macros don't always follow the same rules as functions.
Ну ладно, поехали
> 19. Advanced Features
>19.5 Declarative Macros with macro_rules! for General Metaprogramming
> The most widely used form of macros in Rust is declarative macros. These are also sometimes referred to as “macros by example,” “macro_rules! macros,” or just plain “macros.” At their core, declarative macros allow you to write something similar to a Rust match expression.
Ага, замечательно
> Macros also compare a value to patterns that are associated with particular code: in this situation, the value is the literal Rust source code passed to the macro; the patterns are compared with the structure of that source code;
И тд . Я вот что хочу этим сказать, точнее задать простой вопрос, вот честно ответьте мне или себе:
Если раст это язык для тех кто не осилил указатели то неужели вы думаете что осилите это все ? Да вас по вашей же книжке погонять - рассыпитесь с первых двух вопросов. По моему скромному мнению - кто не осили сишечку - раст не осилит уж точно