[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]

>self taught c lmao, what were you thinking retard bwahahaha

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: 23
Thread images: 3

File: women-group-laughing.jpg (36KB, 480x368px) Image search: [Google]
women-group-laughing.jpg
36KB, 480x368px
>self taught c
lmao, what were you thinking retard bwahahaha
>>
File: 1385848536135.jpg (26KB, 413x395px) Image search: [Google]
1385848536135.jpg
26KB, 413x395px
>lunix user
lmao
>>
>>60877273
what's so funny about knowing the most powerful language on the planet?
>>
> Most powerful language
C is second in power to ASM
>>
>>60877285
That you were self taught by reading old out of date textbooks and looking at pajeet examples on stack overflow and github.
>>
>>60877338
jokes on you I was self taught by watching a video series uploaded by a professor in 2009 and practicing what he taught.
>>
>>60877285
wasted your time with outdated, bad practices
unhirabable : you are worthless
self taught spaghetti code trash
>>
>>60877273
>just taught myself mips assembly in one day
simple program to take in credit hours and shit out your current year. Actually C is worse than assembly so I'll shut up.
>>
>>60877353
Read a book nigger, its really not that hard.
>>
>>60877632
>niggers
>reading books at all
>>
>>60877306

Being able to write C is like bragging about being an author because you know the alphabet.
>>
>>60877338
>>60877353
>i'm so spuhscial cauze muh degree!
The worst code I've seen has come from "educated" programmers, and some of them literally could not program at all.

In my experience there are "self taught" programmers who think watching one YouTube video means they can claim to know the language. Then there are self taught programmers who ripped through books because they fucking loved it. They tend to be as good, or better, than the best degree holders.
>>
Of course brainlets like you aren't going to understand the superior language of C.
Stack *stack_new(size_t capacity)
{
Stack *stack = malloc(sizeof(*stack));
stack->capacity = capacity;
stack->data = malloc(sizeof(void *) * stack->capacity);
stack->size = 0;
return stack;
}

void *stack_resize(Stack *stack, size_t capacity)
{
stack->capacity = capacity;
void **temp = realloc(stack->data, sizeof(void *) * stack->capacity);

if (!temp)
{
return NULL;
}
stack->data = temp;
}

void stack_delete(Stack *stack)
{
free(stack->data);
free(stack);
}

bool stack_empty(Stack *stack)
{
return !stack->size;
}

bool stack_full(Stack *stack)
{
return stack->size == stack->capacity;
}
>>
>>60879766
That's the worst way to write a stack I've seen.
>>
>>60877273
isn't pretty much every programmer self taught except bootcamp and SE codemonkeys?
>>
>>60879766
>stack is array
>stack_resize doesn't even return
>no push/pop functions
I hope this is bait
>>
>>60879823
>I hope this is bait
no, this is /g/
>>
>>60879823
>stack is an array
Yeah no shit, stacks are linear data structures. Would you prefer if your stack were implemented as a linked list, you brainlet?
>>
File: 1488899567722.jpg (40KB, 319x389px) Image search: [Google]
1488899567722.jpg
40KB, 319x389px
>>60877279
You do realize you are in the wrong thread, right, wintoddler?
>>
>>60877338
>implying K&R is outdated
>implying the Linux Kernel source code is outdated
>>
>>60881914
are you dumb? (watch out, this is a rhetorical question!)
>>
>>60882308
public class Stack<E> extends Vector<E>


I'll defer to the Java devs over the incorrect opinions of a waterhead on /g/ thanks.
>>
>>60882345
I am not a nigger like linus
Thread posts: 23
Thread images: 3


[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.