Walnut356 to Programming HorrorEnglish · 1 year agoWhen your language doesn't allow arbitrary expressions in format stringsimagemessage-square6fedilinkarrow-up118arrow-down10
arrow-up118arrow-down1imageWhen your language doesn't allow arbitrary expressions in format stringsWalnut356 to Programming HorrorEnglish · 1 year agomessage-square6fedilink
minus-squareladlinkfedilinkEnglisharrow-up3·1 year 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