News for hackers. Stuff that matters.
Re:Make JDK source code UTF-8 by gwbas1c on Tuesday February 28, 2023 @10:04PM (#34978266)
> I have seen codebases in English with the aforementioned é in a function name

Can that be blocked with something like .editorconfig?

Re:Make JDK source code UTF-8 by ywain on Tuesday February 28, 2023 @10:20PM (#34978361)
You'd need something that can actually parse the language to apply rules on language constructs like identifiers. I don't think EditorConfig supports this, but a linting tool would be able to.
Re:Make JDK source code UTF-8 by gwbas1c on Tuesday February 28, 2023 @11:30PM (#34978774)
The dotnet ecosystem's formatting rules are all specified in .editorconfig.