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

/dpt/ - Daily Programming Thread

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: 320
Thread images: 43

File: 1490996136625.jpg (1MB, 2000x2481px) Image search: [Google]
1490996136625.jpg
1MB, 2000x2481px
What are you working on, /g/?

Previous Thread: >>60415320
>>
>>60421332
https://tour.golang.org
https://www.golang-book.com
>>
File: 13122862.jpg (31KB, 326x323px) Image search: [Google]
13122862.jpg
31KB, 326x323px
What are the ways you would "kill" portability?
>Platform dependent libraries
>Usage of specific compiler features
>Calling particular shells
>Creating objects with filenames that contain special characters
>Make unique syscalls to allocate memory in certain ways
Now I need some really smart ways.
>>
>>60421356
Trash, fuck off.
>>
File: dlang_chan.jpg (139KB, 470x545px) Image search: [Google]
dlang_chan.jpg
139KB, 470x545px
Threadly reminder that dlang-chan is not dead; she's going to have her GC tumor removed (eventually); and she's super duper cute and easy to prototype in! Say something nice about her, /dpt/!
>>
>>60421357

Just run everything in the kernel.
>>
>>60421387
>slandering a dead language with literally only ONE (1) known user

FUCK OFF
>>
File: 1486803294813.jpg (59KB, 449x451px) Image search: [Google]
1486803294813.jpg
59KB, 449x451px
>>60421357
Obfuscate some code which detects the platform and crashes the program or just introduces major bugs.
>>
>>60421357
Rely on the behaviour of malloc(0).
>>
>>60421697
Allocating a pointer to a memory block of size 0 guarantees a pointer that can be safely free'd, preventing you from having to do stupid shit like
free((!ptr) ? NULL : ptr);
>>
>>60421745
I know. You can still add other (probably pointless) NULL checks, that makes the code only fail on some implementations.
>>
>>60421745
if ptr is null, why can't you just pass that to free?
it's a dangling unallocated pointer you need to worry about
>>
>>60421803
His point is that you CAN pass the NULL pointer into free safely.
free(NULL) is explicitly defined to do nothing.
>>
>>60421563
What makes you think he uses it?
>>
>>60421877
But I do.
>>
File: meiling_dead.png (598KB, 906x739px) Image search: [Google]
meiling_dead.png
598KB, 906x739px
Now that the dust has settled can we all agree that Fortran is the best language for scientific computing?
>>
Looking for a book or resource to learn C#.

I already know Java fairly well, which should help; as well as a glut of other languages. Just want something structured for a non-novice so I'm not guessing, looking at the documentation every 5 minutes, and writing non-idiomatic code.
>>
I'm trying to roll my own copy constructor / assignment operator for a doubly-linked list in C++

right now my code looks something like this:
// where rhs is the right-hand argument list
if (rhs.head == nullptr)
{
head = tail = nullptr;
count = 0;
}
else
{
head = new Node(rhs.head->data);
Node* lprev = head;
Node* lcurrent = head;
Node* rcurrent = rhs.head->next;
while (rcurrent != nullptr)
{
lcurrent->next = new Node(rcurrent->data);
lcurrent = lcurrent->next;
rcurrent = rcurrent->next;
lcurrent->prev = lprev;
lprev = lprev->next;
}
count = rhs.count;


I'm getting null-pointer exceptions with this, but I'm not seeing exactly where I fucked up, or how I could fix it.
>>
>>60422447
Nevermind, I think I figured it out.

if (rhs.head == nullptr)
{
head = tail = nullptr;
count = 0;
}
else
{
head = new Node(rhs.head->data);
Node* lprev = head;
Node* lcurrent = head;
Node* rcurrent = rhs.head->next;
while (rcurrent != nullptr)
{
lcurrent->next = new Node(rcurrent->data);
lcurrent = lcurrent->next;
tail = lcurrent;
rcurrent = rcurrent->next;
lcurrent->prev = lprev;
lprev = lprev->next;
}
count = rhs.count;
}
>>
Is there an open source license which will repel GNU niggers from my software?
>>
>>60422566
FreeBSD
>>
>>60421332
I am doing my homework.
This time, I have a Textfile that I should read.
So far so good, java can read it.
Now I am tasked with displaying the greatest integer in a Textfile
and quite honestly?
I am stumped.

What I thought about is the following:

Open file
While the file has numbers, compare one number with another, if the first number has a greater value than b, then keep a and assign b another integer.
If b is greter than a, then let a be assigned the value of b and let b take the value of the next integer.
if there are no numbers available anymore, let the biggest number be assigned to the variable max.
So far so good, but the integers a and b are defined inside the while loop.
and they are always reset to zero.
What is the problem here?
>>
>>60422611
Open file
Store all numbers on in a array
Spit out the maximum number on the array
>>
>>60422579
I have seen some of them use BSD-licensed software.
>>
File: pixiv61671805_8.png (288KB, 1000x1000px) Image search: [Google]
pixiv61671805_8.png
288KB, 1000x1000px
How do I become a systems programmer? Also, what are common job titles for such an occupation?
>>
>>60422659
I don'T know how to work with arrays yet :(
>>
>>60422664
Rare. I thought all GNU niggers derided BSD as being a "cuck license", because you're not forced to give back any changes you make to a source code.
>>
>>60421332
I want to FUCK Kylie Kujo in the Discord.
>>
>>60422680
I was just wondering if there was a good license which their kind is repelled by even more than by BSD.
Should I go with FreeBSD or MIT?
>>
>>60422666
Why? You are finding the maximum anyway.

>>60422676
Post your code
>>
>>60422690
what the fuck are you even talking about
>>
>>60422690
He'll let you fuck as long as you know Haskell
>>
who the fuck is "kyle kujo"
>>
>>60422690
>>60422712
>>60422723
>>60422741
Fuck off back to your containment subreddit.
>>
>>60422753
>everyone who disagrees with me is reddit because i said so

good argument dude
great argument
>>
>>60422704
This is my pastebin.
https://pastebin.com/04HQVCPS
it is used in conjunction with this provided class i have made readable with a tool.
https://pastebin.com/MxMz7pqV
>>
somebody PLEASE invite me to the discord
>>
>>60422676
You don't need arrays to solve this.
>>
>>60422779
The discord is counterintuitive to programming, you don't wanna join senpai.
>>
I've got my renderer working with some matrices but the coordinates are in "clip space" I think? They go from -1 to 1, I'd like to be able to have them in pixel coordinates and then just use some matrix to convert them but have no idea how to even begin to do that.

My orthographic matrix does this just fine but as soon as I try the with perspective matrix is changes.
>>
It looks like shit, but C++17 is starting to approach Lisp in power. I'm using Lisp-style fexprs to build an embedded DSL that compiles into byte code. Byte code for what? A parsing machine for Parsing Expression Grammars. In only a few hundred lines of code.

Might try rewriting it with the Concepts Light implementation floating around after, see how it improves it.

template <class E, class = std::enable_if_t<is_expression_v<E>>>
inline auto operator!(E&& e) -> not_expression<make_expression_result_t<E>> {
return {make_expression(::std::forward<E>(e))};
}

template <class E, class = std::enable_if_t<is_expression_v<E>>>
inline auto operator*(E&& e) -> zero_or_more_expression<make_expression_result_t<E>> {
return {make_expression(::std::forward<E>(e))};
}

template <class E1, class E2, class = std::enable_if_t<is_expression_v<E1> && is_expression_v<E2>>>
inline auto operator|(E1&& e1, E2&& e2) -> choice_expression<make_expression_result_t<E1>, make_expression_result_t<E2>> {
return {make_expression(::std::forward<E1>(e1)), make_expression(::std::forward<E2>(e2))};
}

template <class E1, class E2, class = std::enable_if_t<is_expression_v<E1> && is_expression_v<E2> && !(is_terminal_v<E1> && is_terminal_v<E2>)>>
inline auto operator>(E1&& e1, E2&& e2) -> sequence_expression<make_expression_result_t<E1>, make_expression_result_t<E2>> {
return {make_expression(::std::forward<E1>(e1)), make_expression(::std::forward<E2>(e2))};
}

template <class E, class = std::enable_if_t<is_expression_v<E>>>
inline auto operator<(E&& e, semantic_action a) -> action_expression<make_expression_result_t<E>> {
return {make_expression(::std::forward<E>(e)), ::std::move(a)};
}

template <class E, class = std::enable_if_t<is_expression_v<E>>>
inline auto operator<(E&& e, syntax_action a) -> capture_expression<make_expression_result_t<E>> {
return {make_expression(::std::forward<E>(e)), ::std::move(a)};
}
>>
>>60422611
>make variable called "currentLargest" and set it's value to INT_MIN
>read one number from file
>if greater than currentLargest, set currentLargest = that number
>rinse and repeat for entire file
>print out currentLargest
>>
>>60422800
all the /dpt/-related IRC channels are dead, seems all the kool kidz are on discord these days
>>
>>60422773
I don't see your algorithm anywhere Hitler.

Anyway your pseudocode seems sound. You must have fucked up the implementation somewhere.
>>
>>60422779
Are you cute?
>>
>>60422837
no but my small peepee is p. cute
>>
>>60422835
.. I deleted it out of shame....
>>
>>60422832
https://discord.gg/4nerq
>>
>>60422766
>>60422779
>>60422800
>>60422832
>>60422837
see >>60422753
>>
>>60422800
He wants to join because someone is posting trap pics in the discord RIGHT NOW
>>
>>60422851
see >>60422766
>>
why is it that every general feels the need to have some gay millennial cancerous discord nowadays

why is it that only gay millennial cancer degenerates use discord

why aren't there any discords populated exclusively by regular, sane, healthy human beings

why can't people just use, like, irc, or xmpp, or something like that
>>
>>60422849
int_max = 0
while loop
a = read value
if a > int_max
int_max = a

it is that simple
>>
>>60422887
We have a high functional autism channel in our discord for posts like this, so come on in comrade.
>>
>>60422888
really, really shameful...
I think I am going to college and clear out my head.
Is there a method or way to stop thinking so narrow like I do?
>>
>>60422919
>everyone who calls me out on my gay anal moloch sex cancer degeneracy must be (le autism meme invented by a brit manlet cuck tripfag on /v/ in 2009), because i said so

fuck off back to your containment board
>>
>>60422930
Code while wearing knee high socks and start watching anime.
>>
>>60422932
You're literally proving his point desu, my little autismo
>>
File: 1401291668317.jpg (17KB, 441x408px) Image search: [Google]
1401291668317.jpg
17KB, 441x408px
>>60422932
>>
>>60422809
You should have written it in Haskell
>>
>>60422948
>LITERALLY everyone who disagrees with me is (le autism meme invented by a brit manlet cuck tripfag on /v/ in 2009), LITERALLY just because i said so, lol no proof tho
fuck off back to your containment board (/v/), you samefag gay anal kike.
>>
>>60422973
Leftist hates Israel and supports Palestinians.
>>
Do kids nowadays seriously use CIA-run chat services?
>>
>>60422997
left hates israel, but loves jews, and is brainwashed by jews, and jews love israel, so they make left give money to israel one way or another
>>
>>60423041
Everyone gives money to the jews, like it or not. So long as you pay taxes, you are giving money to the jews.
>>
>>60422809
Good god that shit is unreadable. They should have realized what they were trying to do and done a proper design instead of slowly hacking together the god-awful mess they have now.
>>
>>60422809
>template <class E>
>not template <typename E>

nigga...
>>
File: 1443500977688.png (835KB, 1200x1080px) Image search: [Google]
1443500977688.png
835KB, 1200x1080px
>>60422946
Scientifically proven
>>
>>60423050
>So long as you pay taxes
I don't.
>>
>>60423148
Then you are reliant on the Jew for money you NEET
>>
>>60423126
whoever wrote this propaganda image is a fuckin judeo-liberal KIKE who needs to die in the oven
>>
Is /dpt/ the most red pilled thread on /g/?
>>
>>60423166
I'm not though.
>>
>>60423070
>class
>typename
>he picks the one with more characters that need to be typed
>>
>>60423177
haha yeah dude multiculturalism and gay anal sex is so cool
>>
>>60423126
Now that I've finished my masters I'm extremely tempted to send this pic to my supervisor.
>>
File: 1480974326806.png (518KB, 974x974px) Image search: [Google]
1480974326806.png
518KB, 974x974px
>bought thigh-thighs off of amazon
>getting anxious as the delivery date neared
>had a boner when I went to go get package
>the delivery guy flinched a bit when out hands touched as he handed me it
>he could feel how sweaty my hands were
>after he turned away and got back his truck I stood outside the door until he left hoping he would see my erection through my shorts
And this is my 10th order order of thigh-highs too!
>>
>>60423191
>populated at least 90% by fags and mutants and millennials
>actively attempts to brainwash everyone else into converting to fagism, mutantry, and being a millennial
>uses COMPROMISED (((discord))) software
>writes almost exclusively in gay millennial cuckold languages like java, rust, and go

/dpt/ is the most blue-pilled thread on all of 4chan
>>
>>60423231
kill yourself kike
>>
>>60423250
what
>>
>>60423219
You should! Just make sure you get a job beforehand so you can still use him as a reference.
>>
>>60423292
They are the chosen one
>>
>>60423292
jews don't want to take over the world anymore

they've already done it

wake up and smell the matza ball, you fuckin sheep drone body
>>
>>60422967
>>60423062
Yeah, it looks like shit, but the resulting DSL is pretty clean compared to the underlying infrastructure. This fragment of a calculator grammar as an example is pretty close to what you would expect for an external PEG DSL to look like, and I've even got support for attributes.

long long variables[26];
long long e, l, n, r, s;
int i;

rule SPACE = *" \t"_ts;
rule EOL = "\n"_ts | "\r\n" | "\r" | ";";

rule NUMBER = +"[0-9]"_ts >= SPACE <= [](auto x) { return std::stoll(x); };
rule ID = "[a-z]"_ts >= SPACE <= [](auto x) -> int { return x[0] - 'a'; };

rule ASSIGN = "=" > SPACE;
rule PLUS = "+" > SPACE;
rule MINUS = "-" > SPACE;
rule TIMES = "*" > SPACE;
rule DIVIDE = "/" > SPACE;
rule OPEN = "(" > SPACE;
rule CLOSE = ")" > SPACE;

rule Value =
n%NUMBER < [&]() { return n; }
| i%ID > !ASSIGN < [&]() { return variables[i]; }
| OPEN > e%Expr > CLOSE < [&]() { return e; };

rule Product =
l%Value > *(
TIMES > r%Value < [&]() { l *= r; }
| DIVIDE > r%Value < [&]() { l /= r; }
) < [&]() { return l; };

rule Sum =
l%Product > *(
PLUS > r%Product < [&]() { l += r; }
| MINUS > r%Product < [&]() { l -= r; }
) < [&]() { return l; };

//...
>>
>>60423344
very nice

500 points

try rewriting the dsl grammar in the dsl
>>
>>60423350
>culture doesn't exist

i sure hope you don't actually believe this
>>
File: ran_life.png (50KB, 283x190px) Image search: [Google]
ran_life.png
50KB, 283x190px
>>60423261
He's quite well known and the place I'm going to do my PhD at had close ties with him.
I'll probably just send it to the grad students I know or something. That'll be a laugh haha
>hey anon you sent me this really gay pic, are you trying to say something
>n-no haha it's just funny right? haha
>>
libcurl's pretty fun. Just wish I didn't suck at C.

>>60423380
>i-it's just a prank bro haha (no homo)
Works every time.
>>
>>60423380
Being a faggot is a sin
>>
>>60423395
fuck off kike.

filtered.
>>
My programming teacher gave us "check if a number is odd or even without using modulo". That's pretty easy and I've already done it, but I have 3 different ways. Which one is going to fuck with his head more?
import java.util.Scanner;
public class Deber5
{
public static void main(String argv[])
{
System.out.format("Inserte un número: ");
double a = (double)new Scanner(System.in).nextInt();
if(a/2 != (double)(int)(a/2))
{
System.out.format("El número es impar\n");
}
else
{
System.out.format("El número es par\n");
}
}
}

import java.util.Scanner;
public class Deber5Alt
{
public static void main(String argv[])
{
System.out.format("Inserte un número: ");
int a = new Scanner(System.in).nextInt();
if((a/2)*2!=a)
{
System.out.format("El número es impar\n");
}
else
{
System.out.format("El número es par\n");
}
}
}

or
import java.util.Scanner;
public class Deber5Bool
{
public static void main(String argv[])
{
System.out.format("Inserte un número: ");
String a = Integer.toBinaryString(new Scanner(System.in).nextInt());
boolean b = (a.charAt(a.length()-1)=='1');
if(b)
{
System.out.format("El número es impar\n");
}
else
{
System.out.format("El número es par\n");
}
}
}

?
>>
>>60423380
>Send gay pic
>People assume you're gay
>Everyone wants to hire you now to fill diversity quotas
Unironically a good plan
>>
>>60423413
donate lots of money to the israeli army.
>>
>>60423422
you can just check if the least significant bit is set.
in c++ it'd be

bool isEven(int a){ return (a & 1) == 0; }
>>
>>60423432
I know, but I'm trying to specifically confuse him because he's not much of a programmer.
>>
>>60423432
Bitwise AND is the same on Java
>>
File: 1494915863144.jpg (152KB, 1200x899px) Image search: [Google]
1494915863144.jpg
152KB, 1200x899px
>>60423426
I'm also not white so imagine all the minority/diversity scholarships I'll be raking in. I could also tell them that I browse 4chan so that I could get the austism disability award.
>>
>>60423422
The one which spells out BUILD WALL
>>
>>60423471
>I'm also not white
Who would have thought.
>>
>>60423477
Good luck building a wall between the US and a country it doesn't have a border with you idiot
>>
>>60423502
Fuck off spic
>>
>>60423518
Fuck off geographic illiterate
>>
>>60423532
>It is a spic pretends he isn't mexican episode
>>
>>60423538
>Uruguay
>Mexican
Nice educational system man. I'm sure you'll do great with timezone related programs.
>>
>>60423553
Anon-kun, stop responding to shitposters. Nothing good ever comes out of it.
>>
>>60423553
>Uruguay
Even more of a subhuman shithole.
>>
>>60422566
CDDL
>>
>>60423552
We've always had anime OP images. On top of that, that image is more or less the first widespread anime meme on 4chan. On top of that this whole site was made because SomethingAwful couldn't take m00t's constant weebing. Go be an idiot somewhere else. I hear reddit's nice this time of year.

>>60423573
You don't even know where it's located you imbecile
>>
>>60423462
well yeah, i know that for some reason java made the bitshift operator a triple >>>, wasnt sure if they hadnt changed the bitwise AND to something like that since i rarely ever use java
>>
>>60422566
WTFPL
>>
>>60423595
I don't use it either, but more often than not it's always the same on most languages

source: My ass
>>
>>60423422
I don't remember Java all that well, but I'm pretty sure you don't have to convert an integer to a binary string before you can do a bitwise operation on it.
>>
>>60422566
Apache. Or MIT.
>>
>>60423579
>You don't even know where it's located you imbecile
Prove this.
>>
>>60423635
I already explained in >>60423440 that I'm trying to fuck with his mind because I know he's a far cry from an actual programmer.

>>60423645
Aren't both of those compatible with GPL?
>>
>>60423553
>U r gay
Lmao
>>
>>60423653
They're compatible in the "I can just make a copy of your code and re-license it" sense.
>>
>>60423653
>trying to fuck with him
I know you subhuman chimps love get your kicks out of that, much like pajeets, try to think 2 steps ahead for once in your life and try to befriend him instead of trying to make him look like an idiot in front of the class
>>
>>60423653
>Aren't both of those compatible with GPL?
I honestly don't care as long as GNU niggers are repelled by them.
>>
>>60423689
>in front of the class
That's not how homework works. And I doubt the rest of the class even knows what casting is so they wouldn't realize he's an idiot.
>>
>>60423706
I wish underage would go and stay go
>How can I ebin prank my teacher
>ITS JUST A PRANK BRO
>>
>>60421332
function loadSound(url:String):Sound
{
var req:URLRequest = new URLRequest(url);
var loader:URLLoader = new URLLoader(req);
loader.load(req);
if(loader.data is Sound) return loader.data;
return new Sound(req);
}
>>
File: 1484456208091.jpg (76KB, 288x402px) Image search: [Google]
1484456208091.jpg
76KB, 288x402px
>>60423866
>function
Not a function.
>>
>>60423900
How on earth is that not a function?
>>
File: 43436.jpg (12KB, 480x360px) Image search: [Google]
43436.jpg
12KB, 480x360px
>>60424045
It's a monad
>>
>>60424045
It's clearly a static method.
>>
>>60424078
Oh, I'm sorry, i wasn't aware that I was talking to someone riddled with autism!
>>
>>60424100
>Static method
>Actually offended by the use of a keyword
Are you alright anon?
>>
File: 1400102723625.jpg (44KB, 486x720px) Image search: [Google]
1400102723625.jpg
44KB, 486x720px
I'm trying to find out if there's a sane syntax that I'm missing for doing some bit operations. Basically all I want to do is this
take a uint16, assign it a value
take a uint8, assign it a value
have some type that's 24bits wide
put the uint8 in the front, put the uint16 in the back, send it over the network where it will be split back into 2 valued again. I want to send data over with the uint16 and have it be type tagged with the uint8.

I know I can manually set each bit 1 by 1 using bitwise operators but I feel like there's a simpler way where I can just copy the first half to some memory then just copy the other half with an offset. What am I looking for?

Also am I going to get fucked by endianess if I translate to network order on the server side and translate back to host order on the client side before doing the split back to 2 types on the client?
>>
>>60424190
just shift
>>
I forgot to say
>>60424190
>for doing some bit operations
in C and/or C++, I'd like to know how to do it in C but the API I'm working with requires C++ anyway so either works.
>>
>>60424045
It's doing I/O.
>>
>>60424206
Something like this?
x = (type1 << *offset*) & type2
If that's not it I'm sure I can figure it out, I need to setup a test to watch the memory, I'm bad with thinking of binary in my head.

Thanks.
>>
File: 1494178409386.png (610KB, 666x720px) Image search: [Google]
1494178409386.png
610KB, 666x720px
>>60422673
>How do I become a systems programmer?
You program systems.
>>
File: fragzeichen2.png (194KB, 562x389px) Image search: [Google]
fragzeichen2.png
194KB, 562x389px
>>60421332
Why isn't there a national licensing programme for languages, like there is for cars and firearms?

We know that cars can kill us, so we require a license.
We know that guns can kill us, so we require a license.
We know that C can kill us, but we let everybody write whatever they want in it. It doesn't make sense.
>>
>>60424190
>have some type that's 24bits wide
You don't need to do this. Networking is byte-oriented.
Just push that shit straight over.
>>
>>60424294
Oh god that's even simpler, working with messages messed up my thinking.
>>
>>60424293
You don't have a programming license?
>>
>>60424319
Note that for things greater than 1 byte, endianess becomes an issue. Basically all networking is big-endian; it would be a good idea to follow that.
>>
>>60424293
My idea is after a data breach, the developer must forfeit the source code to a federal auditing agency.

- If the developer refuses, he is fined for every day he doesn't submit the code.
- If the source code was written in C without a license, the developer is fined.
- If the source code did not adhere to the safety standards taught in the licensing course, the developer is fined.

It seems reasonable. We already accept similar standards in other industries.
>>
>>60424293
>>60424353
Have you dumb fucks never heard of MISRA or anything similar to that?
>>
>>60424285
That ice cream looks delicious.
>>
>>60424366
Sounds good. Now let's extend it to all programs.
>>
>>60424293
>We
Speak for yourself. Not everyone belongs to your kind.
>>
>>60424392
No. You're stupid.
>>
>>60424393
You don't know that a car can kill you?
Would you care to find out? It might be better for our species if that were arranged.
>>
>>60424438
You can't even read your sentences? Perhaps we should arrange something for you as well. You'll go first though.
>>
File: 1484881866119.jpg (34KB, 853x480px) Image search: [Google]
1484881866119.jpg
34KB, 853x480px
What math should I learn if I eventually want to program an actual anime?
>>
File: scrot_20170516-104759.png (47KB, 798x863px) Image search: [Google]
scrot_20170516-104759.png
47KB, 798x863px
>not indenting your code with max(2, ceil(10 - 2*indentlevel)) spaces
>>
>>60424588
ActionScript
function makeAnime(s:Sprite, plot:Vector.<String>):void
{
for each (var plotline:String in plot) anime.enactPlotline(plotline, s);
return;
}
>>
>>60424636
>code
I don't write c*de.
>>
>>60424641
How are you holding up, norway-kun? Sick of writing in this disgusting and dead language yet?
>>
Seriously, why is it so goddamn difficult for me?
        In.close();
int scount=0;
int a=In.readInt();
int b;
In.open("sequence03.txt");
while (In.available()!=0){
if (a==(b=In.readInt())){
scount++;
a=b; //<- this shit is causing a loop, but how can I get out of it?
}
else if(In.available()=0){
continue;
}

}
System.out.println(scount);
>>
>>60424788
Java was a mistake.
>>
>>60424788

why does a have to equal b?
>>
>>60424806
No, I am a mistake.
Tbh, I am just trying to find out if the next number that follows is the same, or not.
If it is, then raise the scount variable.
I just don't know what else I should do... I am too much into panic since the deadline has become soooo short.I couldn't fathom that I had so much to do in the week and now I have not enough time :(
>>
>>60424713
function respond():void
{
var me:Object = new Object();
me.willToLive(...args):Boolean { return false; }
kill(me);
return;

Take a guess
>>
>>60424814
So b can get the next number and I can see if the b witht he new value is identical to the new a.
>>
>>60424835
make another variable that holds A until you need to check it against B.
>>
>>60424823
Should have paid attention in class kid.
>>
>>60424835
if A is already equal to b (like you're checking), why do you need to allocate a to b? Just go to the next number.
>>
can anyone suggest some programming exercises to learn C with? I usually just write with python so anything that is better suited to C would be good.
>>
>>60424865
He fucked up.
He need an else that stores the new next number. It is clear that this code is written by a guy who didn't practice coding and is just throwing shit at the screen and hoping it works. Writing out a basic psuedocode would have solved his problems.
>>
PostgreSQL or SQL Server for a small project?
>>
>>60424930
SQLITE YOU FOOL
>>
>>60424947
This.
>>
>>60424930
Why on earth do you need a full relational database for a "small project"?
>>60424947 provides the only sane suggestion.
>>
>>60424883
Something that requires high performance and system calls. How about an audio synthesizer? Make something that will accept MIDI input and output audio generated from scratch to the DAC. You'll learn a lot about C, Posix threads, and sound that way.
>>
File: 1468828826238.jpg (69KB, 528x672px) Image search: [Google]
1468828826238.jpg
69KB, 528x672px
>>60424830
Dear lord.
>>
>>60424653
What do you write then?
https://en.oxforddictionaries.com/definition/code
>2 Computing
>mass noun Program instructions.
>‘assembly code’
>>
In C++ if you have a class with dynamically allocated memory and no user defined destructor but you delete an object of that class does the memory get freed or is that a leak?
>>
>>60425154
>sepples
Just stop
>>
>>60425154

The memory of that object is freed.
However, any raw pointers to other objects held by that object will not be freed.
>>
>>60425096
>What do you write then?
kode
>>
>>60422566
GNUggers BTFO
>>
>>60424947
>>60424977
I rephrase. PostgreSQL or SQL Server for a small relational object database?
>>
>>60425282
SQLite.
>object database
What does this even mean?
>>
Actual content of /dpt/ today is 0.

Is this how it ends?
>>
File: 1492909779234.png (821KB, 1000x750px) Image search: [Google]
1492909779234.png
821KB, 1000x750px
Does C actually exist?
>>
>>60424270
I know I'm late replying to myself but I meant OR not AND.

    uint8_t x = 3;
uint16_t y = 15;
uint32_t z = (x << 16) | y;

uint8_t a = z >> 16;
uint16_t b = z; //intentional cutoff

In my case the merged type will be of a type 24 bits wide though, not 32.
>>
>>60425282
>small database

SQLite my friend.
>>
>>60424996
// IT. FUCKING. WORKS.
function ifThisWorksImGonnaKillMyself(... a):Function {
var o:Object = new Object(); var f:Function = new Function(); o.f = f;
var p:Object = new Object(); p.o = o;
return p.o.f; } var p:Object = new Object(); var o:Object = new Object(); p.o.o = new Object();
p.o.o.f = ifThisWorksImGonnaKillMyself();
>>
>>60425429
This is the no-error version:
// IT. FUCKING. WORKS.
function ifThisWorksImGonnaKillMyself(... a):Function {
var o:Object = new Object(); var f:Function = function ():void { return; }; o.f = f;
var p:Object = new Object(); p.o = o;
return p.o.f;
}
var f = ifThisWorksImGonnaKillMyself();
trace(f);
f();
f();
>>
>>60425338
If C doesn't exist, then where do all the vulnerabilities and exploits come from? Checkmate, atheists.
>>
>>60425515
From any other language, sure.
>bugs are unique to C
>>
>>60421357

Why would you want that?
>>
>>60422659

That's a terrible solution
>>
>>60422809

What the fuck does that even
>>
>>60425576

A bug in any other language causes an error message, a crash at worst.
A bug in C means arbitrary code execution almost always.
>>
What's command initial project in python?
>>
>>60425648
(You)
>>
File: where do you think we are.png (1MB, 1920x1080px) Image search: [Google]
where do you think we are.png
1MB, 1920x1080px
>>60423552
>>
>>60423395
Thats stupid, they have a purpose and that is to be autistic so we can make a living.
>>
How could i start?
I mean from 0
What should I read?
>>
>>60425900
For starters, you need to learn quantum physics, classical physics, then transistor logic. Afterwards, you can move onto boolean logic and digital electronics, and can then move onto CPU state machine design. You can now learn about machine code and then assembly code. Finally you can learn C and other higher level programming languages.

You also need to cram all of computer science and mathematics in there somewhere.
>>
File: question mark face abstracted.png (8KB, 687x450px) Image search: [Google]
question mark face abstracted.png
8KB, 687x450px
>>60425649
>>
File: portalfags.png (80KB, 984x447px) Image search: [Google]
portalfags.png
80KB, 984x447px
>>60425946
Thanks anon
>>
>>60425946
>boolean logic
Trash.
>>
>>60426084
Boolean logic is pretty fundamental to digital electronics.
>>
>>60425900
code.org
>>
>>60425946
none of need is needed to learn programming.
>>
>>60425972
You'd just get through the portal at the speed in was coming towards you.
Well that's how I view it, similar to the way the stargate works
>>
>>60426169
What is the purpose of this post? Something being fundamental to something doesn't mean it's not complete trash.
>>
File: tmp_17045-1494705058074659992405.jpg (682KB, 600x3300px) Image search: [Google]
tmp_17045-1494705058074659992405.jpg
682KB, 600x3300px
>>60423552
>>
File: 1492744890331.jpg (150KB, 1276x648px) Image search: [Google]
1492744890331.jpg
150KB, 1276x648px
What are some genuinely cute programming languages?
>>
>>60426217
you fucking nigger stop existing already if you think boolean logic is complete trash
fucking waste of oxygen, how do you think your computer works?
How does your vibroanal_turbomasturbator_2000 manage to switch through 50 different modes for better prostate stimulation?
fucking nigger
>>
>>60425515
This
>>
>>60426239

ruby
>>
>>60426239
unironically C++14/17
>>
>>60426273
>>60426282
Anon... What
>>
>>60426245
My computer uses a boolean logic with the excluded middle removed (making it non-trash).
>>
>>60426282
Maybe if you're the kind of person who thinks elephantiasis is cute.

>>60426239
Lua
>>
>>60424788
>this shit is causing a loop, but how can I get out of it?

I'm pretty sure your while loop is causing the loop. Are you changing your "In.available()" value?
while (In.available()!=0){ 


also watch out for this one because it's assigning to 0 and not a boolean logic
In.available()=0 
>>
>>60426239
there is no such thing as a "cute" programming language
>>
>>60426239
cutesharp aka C#
>>
>>60426573
Provide a proof.
>>
File: CBpxF32WEAAFVUm.png (442KB, 600x900px) Image search: [Google]
CBpxF32WEAAFVUm.png
442KB, 600x900px
>>60426239
take your pic
>>
>>60426619
Why did you save such a small version?
>>
>>60426678
I just googled "programming language anime girls" after remembering this exists
>>
File: anal beads.png (1MB, 1200x1800px) Image search: [Google]
anal beads.png
1MB, 1200x1800px
>>60426700
Google better
>>
File: 1485715070859.png (429KB, 451x619px) Image search: [Google]
1485715070859.png
429KB, 451x619px
What is the real world application of fizzbuzz?
I remember when it was solved, media were all over it and everyone were excited.
>>
>>60426710
>>60426619
What does the characters say for C?
>>
>>60424788
>a loop
Should have used a better language.
>>
>>60426876
"stupid, harmful, outdated cunt"
>>
I know it's simplistic and baby's-first-code-level but it's the first thing I've been able to write from memory without documentation.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CoinFlip
{
class Program
{
static void Main(string[] args)
{
restart:
int Coin;
string userValue;
string coinDescription;
Random rng = new Random();

// Get user input
Console.Write("What is your guess? (H)eads or (T)ails? ");
userValue = Console.ReadLine();

// Get a random number string
Coin = rng.Next(0, 2);
if(Coin == 1)
{
coinDescription = "Heads";
}
else
{
coinDescription = "Tails";
}


if ((Coin == 0 && userValue == "T") || (Coin == 1 && userValue == "H"))
{
Console.WriteLine("The coin flip was {0}, you win!", coinDescription);
goto restart;
}
else if ((Coin == 0 && userValue != "T") || (Coin == 1 && userValue != "H"))
{
Console.WriteLine("The coin flip was {0}, you lose!", coinDescription);
goto restart;
}
else
{
if ((userValue != "T") || (userValue != "H"))
{
Console.Clear();
goto restart;
}
}
Console.ReadLine();
}
}
}

>>
>>60426876
Shit
>>
>>60426876
Smelly, dumb old hag
>>
>>60426876
The second and third line says "Zodiac sign : unknown, Blood type : unknown", the rest is obvious.
>>
>>60426919
>unknown
In C we call it "undefined"
>>
>>60426929
kek
>>
>>60426901
please dont use new line for { when you use it for
while,if,for etc
Use it only for methods and classes
>>
File: 1487552433350.gif (18KB, 340x340px) Image search: [Google]
1487552433350.gif
18KB, 340x340px
>>60426929
>>
>>60426901
This is shit C#.

You could literally do this in like 20 less lines and it would be easier to read.
>>
>>60426955
>This is shit C#
Obviously, any C# is shit C#
>>
>>60426943
What do you mean?
>>
>>60426982
wrong
>>
>>60426992
It being wrong is wrong.
>>
>>60426710
I'd wife javachan but my true love would be rubychan
>>
File: file.png (4KB, 326x160px) Image search: [Google]
file.png
4KB, 326x160px
Best resource to learn nginx?
>>
>>60427045
Not programming.
>>>/g/wdg/
>>
File: 1494694960092.jpg (45KB, 750x573px) Image search: [Google]
1494694960092.jpg
45KB, 750x573px
>>60426955
>>60426982
>>60426992
>>60427002
And here I thought /gee/ was a friendly place :^)
>>
>>60427045
Configuring software is not programming.
Take it elsewhere.
>>
>>60427054
>:^)
I don't like your kind.
>>>/v/
>>
>>60427074
>Implying I play video games

Your neck getting scratchy with all that jewpube hair on it?
>>
Pointer shit, hade to make a flow-chart for something retarded, and then write a program for it
void w_a_arr(int arg)
{
if (arg < 0 || arg > 100) return;
int b = 1; int c = 0; int *a = &arg;
int a_1 = ~(int)a & c; int a_2 = 1;
for(int i = 0; i < 7; i++) { a_2*=i; }
if((int)a == a_1) *a = 0;
int a_3 = (!a)?(c=1):(b=0); int a_4 = (int)a | (b+~c);
(a_4)?(int)a >>c:(int)a&0xF8; (int)a<<((int)pow(b,c)+(int)pow(c,b));
if(*a == 0) return;
printf("%d", *a); printf("%d", &a);
free((void*)a);
}

int main(int argc, char **argv)
{
w_a_arr(55);
return 0;
}

Output:
556422256
>>
>>60426987
if(something){
}

not
if(something)
{
}


use new line for methods and classes
class name
{
}

method()
{
}
>>
>>60427054
>>60427103
Everything in your posts reeks of reddit.
>>
>>60426943
>>60427283
Stop.

C# uses Allman brackets. You're giving bad advice.

https://docs.microsoft.com/en-us/dotnet/articles/csharp/programming-guide/inside-a-program/coding-conventions
>>
>>60427283
>methods and classes
You stink.
>>
>>60425627
I am going to make a "killer app"
>>
>>60427235
What the fuck is that autistic function even doing?
>>
>>60427388
Yes.
>>
>>60427388
How can a function be "Autistic"?
>>
>>60421357
>What are the ways you would "kill" portability?

Use autoconf.
>>
>>60427423
You could describe nearly anything as having features of an autistic human.

In this case, failure to communicate properly could be attributed as an autistic attribute of the function in question, giving someone the poetic license to call the function "autistic".
>>
>>60427423
He's honestly not wrong, i wrote it to be as autistic as possible
>>
>>60426943
>>60427283
>be a wagecuck
>these are sonarqube violations
shit advice, anon kun
>>
>>60427442
What is a function supposed to communicate?
>>60427447
Where did I imply that he was wrong though?
>>
>>60427423
By being obfuscated
>>
>>60427456
If it's written in a language you can't read is that still "obfuscated"?
>>
>>60427454
I'm not going to reply to you anymore, because it seems you're intentionally not grasping the issue at hand.
>>
So how do I use musl?
#include <stdio.h>

int main(){
puts("How?");
return 0;
}
>>
>>60426239
Lisp
>>
>>60427502
You really need to stop giving such a shit about which libc you're using.
Assuming you're sticking to the standard stuff, it's not going to change the way you program at all.
>>
>>60427496
That's what people usually say when they feel like they can't keep hiding their mistakes anymore. That's unfortunate, I was genuinely interested in how a function can be "Autistic".
>>
File: draw.gif (268KB, 500x500px) Image search: [Google]
draw.gif
268KB, 500x500px
I only use C and Scheme, but I want to broaden my palette to something that is secure (unlike C), fast (unlike Scheme), and easily parallelized (unlike C and Scheme (most implementations don't have native threads))

I have tried other languages but found them annoying. Clojure and Scala are out for JVM, Haskell is out for being too pure, and Rust probably has the worst syntax I've ever fucking seen.

I will try Ocaml next. If you know something else please tell me.
>>
>>60427502
CC=musl-gcc make
>>
>>60427526
Stop being retarded and just use Rust.
>>
>>60427526
C is as secure as the programmer makes it. If you want to write secure C, stop being so fucking shit.
>>
>>60427526
>Clojure and Scala are out for JVM, Haskell is out for being too pure, and Rust
All of them are trash really.
>Ocaml
That's arguably worse than at least half of the languages you listed.
>>
>>60427480
What does this do?
>>
Added input:
void w_a_arr(int arg)
{
if (arg < 0 || arg > 100) return;
int b = 1; int c = 0; int *a = &arg;
int a_1 = ~(int)a & c; int a_2 = 1;
for(int i = 0; i < 7; i++) { a_2*=i; }
if((int)a == a_1) *a = 0;
int a_3 = (!a)?(c=1):(b=0); int a_4 = (int)a | (b+~c);
(a_4)?(int)a >>c:(int)a&0xF8; (int)a<<((int)pow(b,c)+(int)pow(c,b));
if(*a == 0) return;
printf("%d", *a); printf("%d", &a);
free((void*)a);
}

int main(int argc, char **argv)
{
if(argc != 2) return -1;
w_a_arr(atoi(argv[1]));
return 0;
}
>>
>>60427526
Common Lisp + one of http://quickdocs.org/search?q=concurrency
>>
>>60427526
C++ is decent for making threads.
>>
File: 1494245067733.jpg (54KB, 240x430px) Image search: [Google]
1494245067733.jpg
54KB, 240x430px
>>60427553
>nano
>>
>>60427553
How would I know? I can't read C.
>>
>>60427563
C++ certainly is no better than C in terms of ease of multithreading.
>>
>>60427558
>CL
>fast
>>
>>60427553
You are responding seriously to someone who is successfully "trolling" you.

I believe this is normally called "bait" these days.
>>
>>60427582
~1-10x slower than C++.
>>
>>60427568
People that can't read C belong to >>>/g/wdg
>>
>>60427581
Then it is easy as fuck in all languages.
>>
>>60427610
Why is that? C is a mediocre language at best. I don't think that would make it a requirement.
>>
>>60427581
C++ has future/promise/shared_mutex/mutex_guard and shared_ptr is thread safe by default.
>>
>>60427547
writing in C is like mowing my lawn with tweezers
I'd prefer something more expressive

>>60427543
It doesn't even do TCO. It's out of whack with how I perceive the flow of code.

>>60427549
What makes it even worse?

>>60427558
I'd prefer not to use another Lisp. I'm trying to broaden my horizons and want something that will maybe look ok on a CV.
>>
>>60427637
A webdev/script kiddie simply can't fathom the greatness of C. I get where you are coming from.
>>
First time trying Java.
Rate my code.

public class Main extends Application {
TextArea textArea;
TextField textField;
Button button;
HBox hbox;
TextField textField2;
public void start(Stage primaryStage) throws IOException {


hbox = new HBox();
textField2 = new TextField();
textField2.setPromptText("max letters");
textField2.setPrefWidth(50);
textArea = new TextArea();
button = new Button("PULL");
textField = new TextField();
textField.setPrefWidth(250);
textField.setPromptText("Insert thread link");
BorderPane root = new BorderPane();
hbox.getChildren().addAll(textField,textField2, button);
hbox.setSpacing(20);
hbox.setPadding(new Insets(10,10,10,10));
root.setTop(hbox);
root.setCenter(textArea);

button.setOnAction(e -> {
try {
pullText();
} catch (IOException e1) {
e1.printStackTrace();
}
});

Scene scene = new Scene(root,700,500);
scene.getStylesheets().add(getClass().getResource("application.css").toExternalForm());
primaryStage.setScene(scene);
primaryStage.show();
primaryStage.setTitle("4chan thread extractor");

}

public static void main(String[] args) {
launch(args);
}

public void pullText() throws IOException{

if(textField2.getText().isEmpty() || textField.getText().isEmpty()){
Alert alert = new Alert(AlertType.ERROR);
alert.setTitle("YOU FUCKED UP");
alert.setHeaderText("Fill both text fields");
alert.setContentText("Faggot");
alert.showAndWait();
textField.clear();
textField2.clear();
return;
}

Document doc = Jsoup.connect(textField.getText()).get();
Elements links = doc.getElementsByClass("postMessage");
String[] s = new String[links.size()];


for(Element el: links){
if (el.text().replaceAll(">>\\d{8}", "").length() > Integer.parseInt(textField2.getText()))
continue;
else
textArea.appendText(el.text().replaceAll(">>\\d{8}", "") + " ");
}

}
}

>>
File: too_slow.png (40KB, 652x371px) Image search: [Google]
too_slow.png
40KB, 652x371px
>>60427608
That's quite slow, f a m.
>>
>>60427668
>Shitkell
>>
>>60427661
>web"dev"
Never touched that.
>script kiddie
What is a "Script" "Kiddie"?
>the greatness of C
Only relative to absolute shit languages. Which is obvious since "mediocre" is a lot better than "complete shit".
>>
>>60427692
>What is a "Script" "Kiddie"?
"People" that do not know C
>>
>>60427658
>I'd prefer not to use another Lisp.
Why didn't you say so in the first place, you fag? Try erlang.
>>
>>60427699
>do not know C
Why not use any other randomly chosen sequence of letters to represent this? "Script" "Kiddie" makes no sense in this context.
Also, where did I say that I "do not know C"?
>>
>>60427668
No one said you had to use it.
>>
>>60427740
>where did I say that I "do not know C"?
Do you claim otherwise?
>>
>>60427744
Why are you trying to evade my question?
>>
>>60427720
I still need to know why ocaml is shit
from what I read it is really fast and has at least some industry traction
>>
>>60427764
That's exactly what you did
>>
>>60427771
>industry traction
How would that make it shit or not shit?
>>
>>60427740
>>60427568
>>
>>60422120
http://bookzz.org/book/1169430/1fd2ae
>>
>>60427776
I answered every single one of your questions before I asked mine. Now it's your turn.
>>60427788
I said "I can't read C."
>>
>>60427788
That wasn't me.
>>
>>60427668
>Lowest of the lowest performance
>Comes from Shitkell and other (((Functional))) programming languages
That TCO sure helped
>>
>>60427771
>industry traction
Yeah, in finance. Also read https://softwareengineering.stackexchange.com/questions/274545/ocaml-criticism-is-it-still-valid
>>
>>60427815
>I answered every single one of your questions
I asked you no questions except for one occasion where you evaded the only question I asked you.

In fact I answered your questions:
>Who is a script kiddie?
People that do not know C
>Why is that ?
A webdev/script kiddie simply can't fathom the greatness of C. I get where you are coming from.
>How can a function be "Autistic"?
By being obfuscated
A webdev/script kiddie simply can't fathom the greatness of C. I get where you are coming from.

How about you stop grasping at the last straw so desperately and explain how you "know" C if you can't read it, dear child?
>>
>>60427815
>I said "I can't read C."
If you can't read C, you can't say "I know C". Therefore, you don't know C.
Otherwise please say how one can know a programming language if one can't read some programming language.
>>
>>60427892
Answer this : "where did I say that I "do not know C"?"
>People that do not know C
Answer this : "Why not use any other randomly chosen sequence of letters to represent this? "Script" "Kiddie" makes no sense in this context."
>By being obfuscated
Answer this : "If it's written in a language you can't read is that still "obfuscated"?"
>explain how you "know" C if you can't read it
You don't need to be able to read to speak and listen. This partially applies to programming languages as well.

>>60427905
>you can't say "I know C"
You can. I know how to comprehend spoken English and how to produce it myself, but I can't read it. It's almost the same with C.
>>
>>60427956
>You don't need to be able to read to speak and listen. This partially applies to programming languages as well.
No it doesn't you fucking idiot. Comparisons between natural languages and programming languages are weak at best.
Given your obvious bait, I don't even know why I replied to you.
>>
File: 1493878546361.gif (92KB, 190x190px) Image search: [Google]
1493878546361.gif
92KB, 190x190px
>>60425429
>>60425467
WHAT THE FUCK IS THIS ABOMINATION OF A LANGUAGE
>>
>>60428017
Poopsmith Pro
>>
>>60427956
>Answer this : "where did I say that I "do not know C"?"
I answered this already.
That's because you don't know how to read and write C.
>"Why not use any other randomly chosen sequence of letters to represent this? "Script" "Kiddie" makes no sense in this context."
That's because script kiddies are used to scripting "languages" only. If you have your own definitions of these terms than the standard, I am not interested in it.
>Answer this : "If it's written in a language you can't read is that still "obfuscated"?"
Yes. Learn what obfuscation is.
>You don't need to be able to read to speak and listen
You can't speak or listen C, you read and write it. What you listen and speak is not C, it does not apply to programming languages.

I suggest that you head to /wdg/ since you do not belong here.
>>
How do you fetch only a certain table from CURL? I wanna filter it using a class name
>>
>>60427974
>No it doesn't you fucking idiot.
It does. You don't really need to be able to read a language to claim that you know it at least on some level.
>Comparisons between natural languages and programming languages are weak at best.
Which is why I said "partially".
>Given your obvious bait, I don't even know why I replied to you.
Same here.

>>60428060
>That's because you don't know how to read and write C.
Where did I say anything about not knowing how to write C?
>scripting "languages"
Someone who never used them clearly can't be a "Script" "Kiddie" then. Which just shows how stupid your definition of "Script" "Kiddie" is (you said that it's anyone who doesn't know C).
>If you have your own definitions of these terms than the standard
Your definition is itself non-standard, it doesn't refer to either "Scripts" or "Kiddies" anywhere.
>You can't speak or listen C
You can do the equivalent of speaking C, which is known as "writing".
>wdg
Why would I be using a thread meant for web "dev" when I'm not interested in it?
>>
New thread:

>>60428175
>>60428175
>>60428175
>>
>>60428136
>Where did I say anything about not knowing how to write C?
Exactly where you claimed not to be able to read C. Now don't go and tell me you can write C without being able to read C that other people wrote
>Someone who never used them clearly can't be a "Script" "Kiddie" then.
Any "language" that is not C/C++/D or Rust is a scripting language. Example: H*kill, *Caml, C*q, *dris, P*thon etc
>Your definition is itself non-standard, it doesn't refer to either "Scripts" or "Kiddies" anywhere.
See above
>You can do the equivalent of speaking C, which is known as "writing".
Writing is not listening.

>Why would I be using a thread meant for web "dev" when I'm not interested in it?
I don't know, however you certainly do not belong to this thread, so go wherever else you feel like
>>
>>60428195
>Exactly where you claimed not to be able to read C
Do you genuinely have trouble reading?
>Now don't go and tell me you can write C without being able to read C that other people wrote
I don't see anything surprising about that.
>C/C++/D or Rust
>H*kill, *Caml, C*q, *dris, P*thon etc
Trash. All of them.
>Any "language" that is not C/C++/D or Rust is a scripting language.
This is blatantly retarded. If I create a dialect of C it will somehow be a scripting language according to you. I guess x86 ASM is also a scripting language.
>Writing is not listening.
Writing a programming language is the equivalent of speaking/writing a natural language.

>I don't know
I can tell.
>so go wherever else you feel like
I think I'll stay here just to torment you and your kind.
>>
>>60428136
>You can do the equivalent of speaking C, which is known as "writing".
If you can only speak, but not listen (i.e. "read"), you can't know if you speak jibber or actual language.
>>
>>60428329
It doesn't matter whether or not I "know". The compiler knows and the programs it outputs also "know".
>>
>enrolled in CS at Uni
>everyone was autistic and they made us learn to program in Java
>dropped out after first semester, did well in maths/stats but just fucked all the programming off
>had a bad taste in my mouth about programming and University in general from those shit classes
>took a semester off
>came back fresh this year, started a new degree (Data Science)
>have been learning R and Python
>actually enjoy programming, can see how versatile and useful it is to know
>the endless amount of packages Python has available to it is amazing
>it all just makes sense now

Why THE FUCK does CS have to be so autistic?
Thread posts: 320
Thread images: 43


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