Walnut356 to Programming HorrorEnglish · 2 years agoWhen your language doesn't allow arbitrary expressions in format stringsimagemessage-square6fedilinkarrow-up119arrow-down10
arrow-up119arrow-down1imageWhen your language doesn't allow arbitrary expressions in format stringsWalnut356 to Programming HorrorEnglish · 2 years agomessage-square6fedilink
minus-squareladlinkfedilinkEnglisharrow-up3·2 years agoWell, that’s all true from an end user perspective. But consider that format! is a macro and as such it should process its format string. Calling something from inside evaluation of a format string really does seem weird in that regard
Well, that’s all true from an end user perspective. But consider that
format!
is a macro and as such it should process its format string. Calling something from inside evaluation of a format string really does seem weird in that regard