/dpt/ - Daily Programming Thread

What are you working on, Sup Forums?

Old thread:

Other urls found in this thread:

github.com/yegor256/eo
youtube.com/watch?v=YgHNtzxO0y8
gambas.sf.net/
youtube.com/watch?v=9Ei89MsnCd0
developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt
twitter.com/SFWRedditGifs

So is Nim worth learning, Sup Forums?

Generating art from lines. The results are pretty good.

First for C#, which is way better than Java.

>not classic /dpt/ picture
Dropped.

What's left of OOP after you take away all of that?

Poor excuse to post animu, now go jerk yourself off to your oriental cartoons, you kissless virgin.

What did he mean by this?

Nah, Rajesh, learn anime, last anime-less days are coming. /dpt/ will be anime for ever.

fucking lol i found the Elegant Objects manifesto thing the other day. funniest thing i've read in ages desu. it's like they took every bad idea from Java and removed all the good ones

How does your algorithm work

well OCaml's object system is pretty much that. it feels a lot nicer, although it's very rarely used anyways. Smalltalk is supposed to be pretty similar to that too I think but I really haven't ever tried using it.
if you want a real good laugh check out the language this man is designing for the book github.com/yegor256/eo

No? It has nothing interesting going on.

youtube.com/watch?v=YgHNtzxO0y8

for number of lines
for number of candidates
generate candidate[i];
parallel-fitness-test all candidates;
apply best candidate;


That's it, in a nutshell. Obviously the implementation is a bit more complicated, but the idea is dead simple.

Literally no job if you do.

Autism goes this far.

>sjwhub

1st for traps are programming culture

Well, he IS a shitskin Java programmer. What did you expect?

C++ ball-bouncing simulator with customizable physics using SFML

>build: failing
>EO (stands for Elegant Objects or ISO 639-1 code of Esperanto)
>It's the future of OOP.
>we don't need generics (not sure)
>it's a "pure object oriented language" yet lots of things aren't objects
>maximum of 15 characters per identifier

lol that's just throwing shit on the wall and hoping it sticks. Why not make an algorithm that isn't just playing the odds.

2/10, try harder next time

>lol that's just throwing shit on the wall and hoping it sticks.

I haven't had a single run where there's a regression in error values.

>First
You're right, but you're still a faggot.

My own shitty fourchan browser (C++/Qt)
Now even with thumbnail caching. Working on parsing post markup (got links working so far)
>tfw your browser can't display greentext

nice post code

haha oldie but goodie
isn't he a slav?
it gets worse
>things we don't tolerate
>mutability
>constants
>scalar types
>annotations
>operators
>DSL and syntactic sugar

>thigns we want to build in
>continuous integration
>logging
>TDD
>licensing

plus they want object metadata but no reflections?? how does that even make sense

Well at least they got "pure OOP" right in one sense.

No need to reveal your diagnosis, we already know that.

Don't make fun of autism again.

more like pure POO
>says minimum identifier length is 3 chars
>entire readme littered with 1-2 char identifiers

>>we don't need generics (not sure)
People still fail to understand why OOP need generics.

What kind of people master C++?

White ones.
> C++ masterrace

dae c++ even relevant today??

>slavs
>white

Whiter than Pajeets.

whites get shit done

they use java or sometimes python

That's not really a feat, user.

Any compiled languages better than C out there?

java

OCaml

>java

wonder how the java garbo collector stops from collecting itself

Object Pascal

> Java
> Compiled
GNU Java compiler does not count

I want to learn AI where do I start?

LOL fking hilarious dude!

...

It's not self-aware, so it doesn't know itself exists.

java

...

java

java

I don't like the COM.

This code looks fucking disgusting

what language

What esoteric programming language is that, user?

why does rust look so fucking ugly

...

who /bored/

Because le (dys)functional meme.

Go

GOTTA BE SAFE FRIENDO

What's with the cancerous font?

that code looks fucking beautiful

But as far as I know, it isn't better (both aesthetically and in performance)

are you, perhaps, blind?

best yuri

It depends on your definition of "better". If you only care about aesthetics and perfs then sure it can't replace C, but if you're talking multithreaded server software then it's light years ahead.

This, any language that attempts to start implementing even the slightest functional features eventually turns esoteric. Just look at JavaScript.

Functional paradigm is cancer.

Yes, Gambas.

gambas.sf.net/

>Gambas

>Functional paradigm is cancer.
It's cancer in imperative languages like Java. Functional languages are comfy af.

Well, he did say better than C. The bar wasn't set too high.

>OPERATORS

youtube.com/watch?v=9Ei89MsnCd0

java

What's actually wrong with javascript?

java

It was created by a bigot.

it's not java

['10', '10', '10'].map(parseInt)

Chapel

>[10, NaN, 2]
rofl. Wtf does that happen?

don't ask, some faggot will defend it

>developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/parseInt
parseInt('10', 0) -> 10
parseInt('10', 1) -> NaN
parseInt('10', 2) -> 2
Apparently JavaScript cannot into default parameters.

['10','10','10'].map(function(x) {return parseInt(x)})

It's an unholy combination of default parameters with abusing the name "map".

If you write for a bad compiled language, you have to know if features work in the compiler you use.
When you write software meant to be run in a browser, you rely on features the user may have in a browser.
Usually this means everything is written for IE, chrome and Firefox.
The worst part: they have the same functions, but Firefox call them mozFunc, chrome call them Func and IE calls them something more retarded.
It is a shitfest.
You have to constantly evolve your code to keep up with the 80 different libraries you "have" to use, the changes in the browsers and all that stuff.
Compiled languages are a bitch on the developer system and that is it.

Working on imageboard (like danbooru)
Thinking of rewriting it from scratch using RoR instead of Django

last month it was the average of two integers, not it's complaining about javascript's .map AGAIN
/dpt/ is so boring

i still want to know where akari bbs user is

>brainlet mad he can't understand FP code
>uses javascript strawman

Post some trivial C code so I can post a better rewritten version

1. Russians are not slavs. They are half-mongolian and more than 10% are muslim
2. Slavs create USA. Read about Puławski and Kościuszko. You can't create country only with nigger fucker politics.

shut up!

>Russians are not slavs.
>Slavs created USA.
Found a butthurt Pole.

LMAO functional programming - not even once!

samefag

What is some fun language to learn don't care about jobs