This is the only way;
if (condition) {
code
}
Not
if (condition)
{
code
}
Also because of my dyslexia I prefer variable & function names like this; ‘File_Acces’ I find it easier to read than ‘fileAcces’
I think it would be a much hotter take if you had the opposite opinion. I’ve only met a few of those.
I’m not a programmer (I tried learning programming and unity but got lazy so…) but when I learned about if-then statements, the second one seemed like the way it’s supposed to be; I mean it looks so clean and simple. Do actual programmers prefer the first method?
It depends for me. If the condition is some goofy ahh multiline syntax hell i like to use the second option.