News for hackers. Stuff that matters.
Re:Rouille – Rust Programming, in French by brabel on Friday October 31, 2025 @01:25PM (#45774467)
> your example seems to be made entirely of regular Latin alphabets.

Portuguese is a direct descendant of Latin. But it has quite a bit of punctuation, OP just ignored that as the programming language, C, does not support it. In Common Lisp you can happily go:

    (when verificação (print “pessoa é maior de idade”))
You could even go all the way:

     (defmacro quando (cond corpo) ‘(when ,cond ,@corpo)
     (defun imprime (x) (print x))
     ; now we can do this
     (quando verificação (imprime “pessoa é maior de idade”))
Re:Rouille – Rust Programming, in French by goku12 on Friday October 31, 2025 @02:16PM (#45775002)
Ah! Yes! I was wondering about the diacritics/accents. How do you deal with those? Do you have to switch keyboard layouts like me, or are they trivial additions to the qwerty layout?
Re:Rouille – Rust Programming, in French by brabel on Friday October 31, 2025 @02:55PM (#45775410)
I have 3 different keyboard layouts installed. As I live in Sweden, my keyboard shows the Swedish layout, but I also use both English and Brazilian ABNT layouts and know them by heart.

I have a single key shortcut to switch between them.

Accents work as if I was using a native keyboard, so they're not too bad (unless you're on mobile, there it sucks), except the keys do not show the right symbols. If you don't know the mappings by heart, you can get your OS to show you the layout... maybe leave that on the side and look up when you forget something.