this is javascript
>>53710144
That colorscheme looks sexy
Looks pretty gross tbqh
>>53710192
github.com/babel/babel-sublime
it's like learning a totally new language
almost like going from C to java or something
This is Stannis.
This is an anime girl.
this is c99
>>53710287
>>53710308
editor + style?
>>53710144
This would be ha hell to maintain with all these dependencies...for a goddamn UI...this ain't java, son
>>53710308
>10000 line functions
this triggers me
>>53710308
opengl is obsolete, upgrade to vulkan faggot
This is real-world C.
>>53710449
>not testing if malloc fails
>>53710433
Ok. Let me just flip my Vulkan switch... there, all done. It's now working on Vulkan.
This is India.
This is C11.
>>53710522
>that long-ass comment
>>53710555
>being this amateur
>>53710522
DO NOT ROLL YOUR OWN CRYPTO.
Fucking hell, how many times do you people need to be told. DO NOT MAKE YOUR OWN CRYPTO. EVER.
>>53710522
const: the experience
>>53710568
this
This is Perl.
>>53710568
>AES
>own crypto
Nigga wut?
>>53710624
Implementing crypto yourself is prone to failure, such as timing attacks (go look up timing attacks on AES).
In his defense, it seems he's using libcrypt for some stuff. There doesn't seem to be an implementation of AES-SIV anywhere.
>>53710623
>>53710287
L O N D O N
O
N
D
O
N
>>53710373
vim. dotfiles at https://github.com/haasn/gentoo-conf
>>53710433
Still waiting on that driver support
>>53710464
it's wrapped in a macro, which is even worse
>>53710425
why?
This is elisp.
>>53710522
Literally no contrast. Can't see shit, captain.
>>53710144
Disgusting
>>53710308
Perfection.
>>53710449
>>53710522
Very nice.
>>53710623
Nuke it.
>>53711512
Perfection.
>>53711953(when (not matched)
(error "Unknown file type"))
It's beautiful.
>>53710308
>nicely formatted code
>documentation is perfect
>not too much documentation so that it's useless or distracts you
>enough documentation to actually understand shit and not have to read the mind of the developers
>code style is very expressive, no magic function or syntactic sugar, always know what the code is actually doing, even down to machine level
10/10 perfection
This is pythonimport stdlibmodulethatdoeswhatyouwant as s
s.gofuckyourself(random arguments who gives a fuck it's python just give it wahtever you want)
[/code
>>53710213
>going from C to java
So like learning a dialect of the same language?
>>53710144
Looks retarded af.
>>53711975
The beauty of expressiveness.
>>53712032
nice meme
>>53711999
c-contributions welcome https://github.com/mpv-player/mpv
This is F#
>>53710144
This is a dog.
>>53710144
What font is that?
>>53712095
Nice, I might look into contributing. You should create a TODO, either as a separate file or as part of the README.
>>53712187
no, it's not
>>53712123
Learn haskell, microsoft shill
>>53712123
>fun
No fun allowed
>>53710568
>>>/stackexchange/
>>53711953
editor & config? font?
>>53710494
SHREEEEEEEEEEEE
>>53712123
>functional programming language
>return
>>53712397
That's github's online code preview, senpai.
>>53711953
white background
>>53712599
the guy looks like he is from 90s, i want those glasses
>>53710555
wew lad, DPT general is that way
>>53712123
>>53712412
... why?
this is a meme
>>53712323
This anon has it
This is Sparta.
>>53712707
I'm dying here
This is haskell.
This is HTML programming
>>53713006
>Not supporting variadic operators
>>53710449
>#ifdef DEBUG all over the place
>not having a single debug() function that always exists, but simply returns if DEBUG is not defined.
It's like you've never heard of DRY.
https://p.teknik.io/eu0Kx
>>53710144
this font hurts me eyes
>>53713351
>intentionally confusing the compiler
>writing obfuscated code
I also pretty certain you will end up with bigger binaries.
>>53710308
>terminus at > 10p
for some reason this bothers me
>>53713391
150 dpi display
This is Python.
>>53713382
>oh no we might get a marginally bigger binary in exchange for not littering the fucking code with ifdef's all over
Sorry you hate maintainable codebases anon.
>>53710623
>that tab spacing
sage
>>53713382
How is that obfuscated?
How does this lead to bigger libraries?
This is literally how assert works, which is a standard macro in C99.
>>53710144
this is snek
sssssssss
>>53713441
You're talking to a guy that doesn't even check the status of malloc.
>>53713415
The ifdef directive is the perfect balance between verbosity and maintainability. Moreover, it allows to customise particular sections of the code instead of pile everything on a single directive. Example: you may want (this is very popular) to have different DEBUG directives and parameters for different parts of the application, say for server/client or player/stream, etc.
>>53713441
It's obfuscated because it's not immediately obvious that the function expects a directive to do the debugging. This will be rejected in any respectable software. The bigger binaries are a consequence of how the C compilers work. First, the preprocessor will expand all #include directives and then create an abstract syntax tree, which then gets passed to the linker before finally building the binaries. As a result, your DBG libraries will be pulled in, almost surely. Quite possibly other stuff as well. Poor practice.
>>53713546
>dbg libraries
Fucking what?
Again, this is how assert works, you fucking mongoloid.
>>53713259
>>53710144
this is also javascript
>>53713629
Not even him, but you are retarded
>>53713629
Yes, and what does assert require? assert.h and assert.c. So if you put your log_trace function in a separate file and then include it in every other file, that means the compiler will have to resolve the symbol every time. Whereas with a simple compiler directive like ifdef, the calls to printf will be discarded at the preprocessing stage.
>>53713694
>assert.c
What? Assert is contained in a single header, assert.h. And it's a macro, there are no symbols.
Even if you were using a function, compilers have such thing called optimization, and can remove noop functions.
I don't think you know how compilers work, or at least modern compilers.
>>53710308
literally perfect
;~;
I would post C++... hmm don't know how to show its strengths best.
>>53713732
It seems you have successfully moved the goalposts. Remember that we discussed debugging (i.e. not simple assert). It's also important to bear in mind that assert works run-time and not compile-time, which would require static asserting in the sense of what c++ allows. Of course you can do pretty much everything with macros, but that's as much of a solution as opening your beer with a hammer. More like a dangerous hack if anything. And then again, you managed to ignore all the other benefits of using ifdef directives instead of some obfuscated macros.
this is snek
>>53712348
I'm also learning that, but .NET/Mono compatibility is nice sometimes.
Plus Haskell is shooting itself in the foot with laziness and total purity.
>>53712412
It doesn't do the same thing as in C-like languages.
It still fits within the paradigm.
>>53712412
do you even monad?
The ugliness of any PL syntax is unfortunately caused by limitations of the typing device called "keyboard" which is simply an offshoot of typewriter designed for prose writers.
Currently the Unicode table has beautiful glyphs for almost any need but none of them is available on our keyboards because of backward compatibility and other shitty reasons.
It's 2016, and we need a "programmer's keyboard". Otherwise this abomination of a syntax to represent ever-growing sophistication of PL's will never cease.
>>53710555
>not properly documenting your code
Enjoy never programming anything useful in your life
>>53712267
looks like 'deja vu sans mono'
>>53710308
http://ftp2.halpanet.org/source/_dev/mpv.git/video/out/opengl/video.c
found source if anyone else was wondering. taken from mpv's git.
This is Piet.
this is Tessa Fowler
>>53710568
Why?
>>53714813
>3dpd
Kill yourself back to Redd1t, idiot.
>>53714892
If you have to ask, you probably shouldn't roll your own crypto.
I'm sure there's a rare few that could. I am not one of them.
>>53714556
You meant: https://github.com/mpv-player/mpv/blob/master/video/out/opengl/video.c
>>53715018
Ok, nasa guy, I will not roll my own crypto.
>>53715034
yah, somehow ended up with a mirror on first google result.
This is Donald Trump's daughter.
>>53716271
Adopted daughter is not daughter at all.
>>53716271
more like his wife's daughter
>>53710522
Fuck me that looks horrible. Also
>goto
>>53717130
>he fell for the "goto is bad" meme
>>53710144
the people who are working on the specification are trying to kill javascript on purpose. its way too implicit and looks like garbage now
>>53718334
The main thing I dislike about JS is the way it emulates OO. The new spec is just pushing this shit, it should embrace the fact that it isn't class-based and transparently utilise Prototypal Inheritance.
>>53715018
Looks like he is just encrypting some plaintext file?
Its not like he making something that will be used in a networked application.
>>53710144
>all these classes
>can't use namespaces
AAAAAAAAAAAAAAAAAAAAAAAHHHHHH
>>53716415
*girlfriend's son
>>53718538
>he fell for the namespaces meme
>>53713410
Fuck, that font looks beautiful. Name?
>>53718603
It's okay if you use it in a block
>>53718620
Literally any monospace font
>>53710144
Yeah i feel your pain, i'm working with react+redux 8 hours a day... the syntax isn't that horrible, and the es6 arrow functions kind of rock.
But the react + redux/flux/reflux/listgoesonforeverandever... i hate them all.
>>53713006
This is a twitter screencap containing a screencap of an editor containing Haskell.
>>53719044
I like this post containing a twitter screencap containing a screencap of an editor containing Haskell
>>53710144
This is Java
https://github.com/spring-projects/spring-framework/blob/master/spring-aop/src/main/java/org/springframework/aop/framework/AbstractSingletonProxyFactoryBean.java
This is nonfree javascript
>>53710144
how to get font rendering like that in Windows
this is AppWare
this is Prograph
this is erlang
This is Java
>>53714892
because much smarter people than you or I have already done it, and done it better.
>>53722376
disgusting
both the tab space length and the language
>>53722376
traverser.get().accept(new AbstractTileVisitor( ) {
public void visitLightTile(LightTile lt) { ... }
} )
Muh patterns
>>53710144