[ / / / / / / / / / / / / / ] [ dir / random / abcu / ebon / k / komica / miku / nofap / random / ytc ][Options][ watchlist ]

/tech/ - Technology

Freedom Isn't Free
You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

File (hide): 043ca429a0383d4⋯.png (587.38 KB, 656x688, 41:43, 1549392724365.png) (h) (u)

[–]

 No.1084634>>1084671 [Watch Thread][Show All Posts]

>company hires a Cnile unix zealot who fits every /g/ stereotype minus the thinkpad

>start seeing bizarre code constructs in our codebase like large flat dynamically allocated arrays being treated as multidimensional through manually calculated pointer offset multiplication

>he does this with 4-D arrays as well and I find myself shuddering in awe and fear that I'll be tasked with maintaining his rube goldberg monstrosities if he ever quits

Don't hire C programmers.

____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1084636>>1084641

>large flat dynamically allocated arrays being treated as multidimensional through manually calculated pointer offset multiplication

You dumb weeb have 10 seconds to tell me how that's a bad thing.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1084641>>1084671

>>1084636

you should be writing a language where it's a flat array to begin with and just does the calculation for you.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.

 No.1084671

>>1084634 (OP)

>he does this with 4-D arrays as well and I find myself shuddering in awe and fear that I'll be tasked with maintaining his rube goldberg monstrosities if he ever quits

>he is irreplaceable

Smarter than you, wagecuck.

>>1084641

I don't understand it.

>you should be writing a language where it's a flat array to begin with

A C-array is flat.

>and just does the calculation for you.

Yeah, he could have made functions for interacting with the array but that comes with a performance penalty.

Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.



[Return][Go to top][Catalog][Screencap][Nerve Center][Random][Update] ( Scroll to new posts) ( Auto) 5
3 replies | 0 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / random / abcu / ebon / k / komica / miku / nofap / random / ytc ][ watchlist ]