Recommended Max Number of Columns?

I was trying to find something in the Unreal Engine Coding Standards document, but I couldn’t find this. I want to know how long I should let a line of code get before taking it to a new line.

You can see my situation below:

Having seen some of the source code for UE4, I don’t think have a limit. I would suggest you just use whatever make sense to you.

I wasn’t worried about there being a formal upper limit, but I was wondering if there was a recommended max number of columns for the sake of readability. When I taught Java, we would teach the students to not have a single line of code go over 80 columns per Code Conventions from Oracle.

Does Unreal have any suggested limit like that?

Somehow missed your reply but, no.

Privacy & Terms