[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Pointer meme

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 46
Thread images: 7

File: image.jpg (116KB, 603x783px) Image search: [Google]
image.jpg
116KB, 603x783px
look through any project
90% of the pointer usage is unnecessary.
How do we stop this meme?
>>
>OO without pointers
dumb trap poster
>>
>>58221282
>REEE I don't understand pointer so you should stop using it
You must be a mactard
>>
>>58221282
>unnecessary
I mean, 90% of the int type is unnecessary. Rarely do any of the numbers you declare as int go anywhere near the two billion something limit.

90% of nearly fucking everything you do is unnecessary. You cannot convince me that you write 100% optimized code 100% of the time across all of your projects in multiple languages.

Pointers are cool, and easy to visualize / think about. Go cry somewhere else.
>>
>>58221630
>Thread ruined
Awesome
>>
I wanna fug felix
>>
You guys do realize that you are both furry and faggots right?
Are you too bored with normal girls?
>>
Give an example of common pointer usage that you see as unnecessary.
>>
>>58221676
I'm guessing op means using pointers to do things other than pass arguments by reference.
>>
File: 1478494579880.jpg (113KB, 850x1275px) Image search: [Google]
1478494579880.jpg
113KB, 850x1275px
>>58221696
Pointers are pretty necessary to a lot of data structures as well.
>>
>>58221696

Generally that's behavior that you want unless you have a specific reason to want to copy something.
>>
>>58221772

>a lot of data structures
You mean all of them?
>>
File: 1482464207497.png (111KB, 250x363px) Image search: [Google]
1482464207497.png
111KB, 250x363px
>>58221804
Arrays and some heaps don't.
>>
>>58221622
>eat your own semen
Is this serious? Or is it just someone trying to troll people into coming in their mouths?
>>
Dumb weeb.
>>
>>58221851
Daily reminder that you can access arrays like pointers
>>
>>58221622
>drink water from bpa plastic containers
kek
>>
File: rust.png (15KB, 200x200px) Image search: [Google]
rust.png
15KB, 200x200px
> How do we stop this meme?
It's obvious.
>>
>>58222555

Rust is filled with pointers. They just behave under slightly different semantics (references, boxes)
>>
>>58221658
>girls
>>
>>58222459
Its actually fine if you mix it with ice cream and good chocolate. Those are good stuff for wanting a trap body too.
>>
>>58224128
I know right? Vaginas are fucking repulsive
>>
File: bMQhyk.png (334KB, 540x499px) Image search: [Google]
bMQhyk.png
334KB, 540x499px
>>58221282
Most people don't realize C and C++ aren't the same? I have no idea why people do this.
>>
>>58221282
>tfw experienced javafag and dont even know what a pointer is
>>
>>58224888

Read this:
http://cslibrary.stanford.edu/102/PointersAndMemory.pdf
>>
>>58222459
>your own semen
There's no point eating your own, idiot.
>>
>>58221622
Halp
>>
>>58221282
Pointers > references
>>
>>58225545

References are just pointers with a restricted set of operations.
>>
>>58225871
>NULL
>>
>>58221282
kek, that image
>>
>>58221851
arrays are passed around like pointers.

arr[5] is syntactic sugar for *(arr+5)
>>
>>58225954
I can't even tell if it's fake now. /pol/ newfags were "raiding" encyclopedia dramatica because it made fun of Trump completely obvious to ED past and motto.
>>
File: u2ml.png (413KB, 960x720px) Image search: [Google]
u2ml.png
413KB, 960x720px
Felis is cute, CUTEEEEEEEEEEEEEEEEEEE
>>
>>58226617
>you won't ever be a cute catboy
Why live?
>>
>>58221282
>90% of the pointer usage is unnecessary.
So what? That's like using double when it would suffice to use a float. Pointers usage shouldn't be more difficult for you than this.
>>
>>58224888
What about
>NullPOINTERexception
>>
File: 1461245677453.jpg (44KB, 540x960px) Image search: [Google]
1461245677453.jpg
44KB, 540x960px
>>58224888

Nice trips but java needs to be eradicated, no way to really work with it without pointers.
>>
>>58227518
Well that's disgusting
>>
>>58228832
Are they the genuine article? With so many trannies out there I just don't know anymore.
>>
>>58226092
>arrays are passed around like pointers
They actually "decay" to pointers.
void foo(int bar[3]);

is syntactic sugar for
void foo(int * bar);

Where arrays are autocast to pointers.
>>
>>58226617
But is a boy >:(
>>
>>58226092
you have no idea how hard it is to explain this to people. I swear if people would properly understand this they wouldnt suck so much when it comes to recursion
>>
>>58230935

And you think boys can't be cute?
>>
>>58227409
Single-precision floating point is deprecated in modern software development.
>>
>>58234149
>what is opengl
Thread posts: 46
Thread images: 7


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.