Search found 1522 matches

Re: [Adam] Thursday, February 15, 2018

Flatfingers wrote:
Thu Mar 01, 2018 12:41 am
I also intend to continue wrapping return values in parentheses:

I don't do this for single variables or values, but if I'm returning anything more complex I always wrap it in parentheses. It doesn't feel right to do

return i * 2;

and I have no idea why.

Re: [Adam] Thursday, February 15, 2018

AdamByrd wrote:
Thu Feb 22, 2018 9:59 pm
A pointer to what? Oh, a struct you say? So package up all the necessary data for a given type of operation, say, pathfinding and they write functions that operate on one or more data chunks? Hey look, you invented components!
And hey look, you can do it without an esoteric language!

Re: [Adam] Thursday, February 15, 2018

DoctorGester wrote:
Thu Feb 22, 2018 4:31 pm
Again, we are talking about a language which is targeted specifically towards experienced people who tend to write better code and make less mistakes so I'm kinda missing the point you guys are trying to prove there.
*make fewer mistakes

You must be a bad programmer.

Re: Images!

GitLab shows tabs as 8 spaces and has no settings for it. [...] And GitExtensions (which we don't have to use but kinda have to because it's way easier) shows them as 4, which generally doesn't look like it's supposed to if the default coding practice is 2 space indentations. Then these are what ne...

Re: Images!

Because most things don't display tabs as a set amount of spaces, or the amount of spaces you want it to. I don't know a single text editor/IDE that doesn't display tabs as a set amount of spaces, especially not when they're at the start of a line. I can only think of one that doesn't let you set t...

Go to advanced search