Hacker News new | past | comments | ask | show | jobs | submit login

Important to note is that this code is not the source code, but rather was generated by dotPeek, a C# decompiler, as mentioned in the repo's README: https://github.com/csnxs/Terraria/



Variable names and comments are lost, but the overall control flow structure of decompiled Java and C# code closely matches the original.


Even variable names are usually not lost.


Still - does that decompilation roll back any kind of array unrolling C# compiler may be doing (assuming it's doing it)? If not, it could explain those long chains of if/else seen in the decompilation. Maybe they're arrays of constants in the real code?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: