archived
stringclasses
2 values
author
stringlengths
3
20
author_fullname
stringlengths
4
12
⌀
body
stringlengths
0
22.5k
comment_type
stringclasses
1 value
controversiality
stringclasses
2 values
created_utc
stringlengths
10
10
edited
stringlengths
4
12
gilded
stringclasses
7 values
id
stringlengths
1
7
link_id
stringlengths
7
10
locked
stringclasses
2 values
name
stringlengths
4
10
⌀
parent_id
stringlengths
5
10
permalink
stringlengths
41
91
⌀
retrieved_on
stringlengths
10
10
⌀
score
stringlengths
1
4
subreddit_id
stringclasses
1 value
subreddit_name_prefixed
stringclasses
1 value
subreddit_type
stringclasses
1 value
total_awards_received
stringclasses
19 values
False
manuscelerdei
t2_7s2au
I've definitely seen code deployed to customers where it's clear the author woke up every morning and asked himself "What C++ feature shall I find a use for today?" The language just begs programmers to create their own personal programming languages out of it. That's why it's a maintenance nightmare.
null
0
1546064526
False
0
ecsctqj
t3_aac4hg
null
null
t1_ecqu6o3
/r/programming/comments/aac4hg/modern_c_lamentations/ecsctqj/
1548214250
10
t5_2fwo
r/programming
public
null
False
ekbravo
t2_1c2iz549
But what agency granted your electrons 100% free-range certification? Probably some dark matter outfit, just sain’ you know...
null
0
1546064619
False
0
ecscwc8
t3_aaco1d
null
null
t1_ecryof7
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecscwc8/
1548214282
8
t5_2fwo
r/programming
public
null
False
tonefart
t2_ywdx0
You don't need any server side rendering framework anymore. Even barebones PHP with PDO mysql/etc connection for REST api or authentication is sufficient. All UI rendering work is relegated to clientside using either VUE.JS, Angular, React, etc. Server side frameworks like Laravel, CakePHP, CodeIgniter, etc are obsolet...
null
0
1546064672
False
0
ecscxt2
t3_a9psuk
null
null
t1_ecs5pz7
/r/programming/comments/a9psuk/javascript_form_data_validation_with_laravel_rules/ecscxt2/
1548214300
1
t5_2fwo
r/programming
public
null
False
caleblafeve
t2_1v3gigc6
Bro that's so dope. I'm glad I inspired you :) You should definitely get the board, it's such a nice thing to watch as I'm falling to sleep and I love it. I was always a fan of the game of life but I wanted a better way than just watching it on my phone or computer (not so convenient and gets boring), so i thought what...
null
0
1546065130
False
0
ecsdbkp
t3_aa72q0
null
null
t1_ecscq16
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecsdbkp/
1548214470
3
t5_2fwo
r/programming
public
null
False
Fyver42
t2_13g61von
>A monad is just a monoid in the category of endofunctors. ​ Source: [A Brief, Incomplete, and Mostly Wrong History of Programming Languages](http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html)
null
0
1546065370
False
0
ecsdic3
t3_aai5ap
null
null
t1_ecscrye
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsdic3/
1548214553
14
t5_2fwo
r/programming
public
null
False
Drisku11
t2_bg6v5
MISRA-C 2004 14.10 specifically has to do with chains of `else if`, and specifically calls out that it does not apply to single `if` statements. In any case, MISRA was not given to us by God, and some of their recommendations are actively harmful. For example, 15.3 mandating default cases in switches prevents static a...
null
0
1546065474
1546065664
0
ecsdl5q
t3_aa3qdm
null
null
t1_ecs6dqe
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecsdl5q/
1548214588
1
t5_2fwo
r/programming
public
null
False
interfail
t2_51fu1
If everyone wrote their template headers like that, we wouldn't even be arguing about them. Both less than a thousand lines, which are mostly comments, both doing important things in a clear way.
null
0
1546065588
False
0
ecsdo9l
t3_aac4hg
null
null
t1_ecs7a80
/r/programming/comments/aac4hg/modern_c_lamentations/ecsdo9l/
1548214627
9
t5_2fwo
r/programming
public
null
False
Yuushi
t2_3kbzx
To steal the C++ entry from [A brief, incomplete, and mostly wrong history of programming languages](http://james-iry.blogspot.com/2009/05/brief-incomplete-and-mostly-wrong.html): 1983 - Bjarne Stroustrup bolts everything he's ever heard of onto C to create C++. The resulting language is so complex that programs must ...
null
0
1546065677
False
0
ecsdqqm
t3_aac4hg
null
null
t1_ecqxcbd
/r/programming/comments/aac4hg/modern_c_lamentations/ecsdqqm/
1548214658
26
t5_2fwo
r/programming
public
null
False
ryeguy
t2_3g15v
Yes but the strongest argument of them all is familiarity, which is why people hate 1-based indexing.
null
0
1546065767
False
0
ecsdtax
t3_aabai1
null
null
t1_ecs09fy
/r/programming/comments/aabai1/fish_shell_30/ecsdtax/
1548214689
7
t5_2fwo
r/programming
public
null
False
lannisterstark
t2_fcuy2
I don't care what he chooses or doesn't choose to be. He's a cunt.
null
0
1546065864
False
0
ecsdw3j
t3_aaco1d
null
null
t1_ecrc7u0
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsdw3j/
1548214724
5
t5_2fwo
r/programming
public
null
False
mtreece
t2_cggij
https://m.youtube.com/watch?v=TKQzqwn-jIM I CAN ACCESS PRINTER
null
0
1546065875
False
0
ecsdwev
t3_aaco1d
null
null
t1_ecs794i
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsdwev/
1548214728
7
t5_2fwo
r/programming
public
null
False
Mr-Yellow
t2_ft5of
> sending keys out to a third party, What keys would be getting sent anywhere? They don't send the users private key to a central server, that would be *"introducing a systemic weakness"* and fail the *"safeguards"*. They'd have to **insert** the governments **public key**. > You were specifically talking about...
null
0
1546066095
1546066403
0
ecse2d5
t3_a66102
null
null
t1_ecsa5dv
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ecse2d5/
1548214831
1
t5_2fwo
r/programming
public
null
False
yawaramin
t2_77bue
If you didn't get the memo yet, monads are bad now, we use Kleisli now ... nothing to see here, move along...
null
0
1546066363
False
0
ecse9qc
t3_aai5ap
null
null
t3_aai5ap
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecse9qc/
1548214921
-9
t5_2fwo
r/programming
public
null
False
korkskrue
t2_7dbug
Yeah, the UIE interview is more practical compared to the SWE one
null
0
1546066371
False
0
ecse9xx
t3_aaco1d
null
null
t1_ecrs40r
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecse9xx/
1548214924
3
t5_2fwo
r/programming
public
null
False
MoTTs_
t2_9aafw
/u/gaearon Follow-up question about interviewing (from the perspective of the interviewer). What qualities do you think we should look for? The easy answer is to ask technical questions about the technology to be used, but if the technology to be used was Electron, for example, I'd wager that the Dan Abramov's of the w...
null
0
1546066384
1546071118
0
ecseab5
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecseab5/
1548214929
2
t5_2fwo
r/programming
public
null
False
korkskrue
t2_7dbug
General SWE interview
null
0
1546066387
False
0
ecseae1
t3_aaco1d
null
null
t1_ecs37zm
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecseae1/
1548214930
10
t5_2fwo
r/programming
public
null
False
kirbyfan64sos
t2_lzxoq
Kinda funny how mine is close to the opposite of this... I know assembly, shell scripting, and some other backend stuff, and I can do basic frontend stuff, but ask me to do TypeScript or Redux or low-level virtual DOM or anything related to Webpack and JS tooling and you've completely lost me.
null
0
1546066410
False
0
ecseb0y
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecseb0y/
1548214938
5
t5_2fwo
r/programming
public
null
False
rlbond86
t2_436ic
You can make an iterator that acts like a generator.
null
0
1546066506
False
0
ecsedfv
t3_aac4hg
null
null
t1_ecs1wpk
/r/programming/comments/aac4hg/modern_c_lamentations/ecsedfv/
1548214967
10
t5_2fwo
r/programming
public
null
False
sinedpick
t2_ksuu9
If a monad is constructed in the ~~forest~~ program but there is no one to explain what it is, is it still a monad?
null
0
1546066545
False
0
ecseejb
t3_aai5ap
null
null
t3_aai5ap
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecseejb/
1548214981
18
t5_2fwo
r/programming
public
null
False
grendelt
t2_2hn6g
The first 17 minutes are building up an example The actual explanation is around the [17:00 mark](https://www.youtube.com/watch?v=t1e8gqXLbsU&t=17m).
null
0
1546066546
False
0
ecseejo
t3_aai5ap
null
null
t3_aai5ap
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecseejo/
1548214981
21
t5_2fwo
r/programming
public
null
False
grendelt
t2_2hn6g
...and if I understood it correctly, ``try/catch`` and loosely typed languages all are due to the rediscovery of monads in the 90s?
null
1
1546066600
False
0
ecseg0u
t3_aai5ap
null
null
t1_ecseejo
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecseg0u/
1548214999
2
t5_2fwo
r/programming
public
null
False
Serpens-Caput
t2_7novc58
memes
null
0
1546066647
False
0
ecsehio
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecsehio/
1548215017
-2
t5_2fwo
r/programming
public
null
False
Serpens-Caput
t2_7novc58
not just blog posts, also reference books (look for a good one). Stroustrup's website is a good start.
null
0
1546066686
False
0
ecseiov
t3_aac4hg
null
null
t1_ecqu6o3
/r/programming/comments/aac4hg/modern_c_lamentations/ecseiov/
1548215032
1
t5_2fwo
r/programming
public
null
False
SanityInAnarchy
t2_5oygg
Interesting. In general, I prefer stuff to ship as libraries rather than part of the language, whenever possible -- it means more power, in theory. I mean: > However, I refuse to believe that “us mere mortals” without a PhD in C++ would be able to write the utilities that are needed for the code above to work: ......
null
0
1546066708
1546076372
0
ecsejdm
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecsejdm/
1548215040
11
t5_2fwo
r/programming
public
null
False
kshep92
t2_4g8t4
I'm glad this was published. Over the past couple years I've been biting my nails over the fact that I don't know shit about Kubernetes, yet it seems like everyone who wants to throw up a WordPress blog is deploying their own Kubernetes cluster to "ensure it scales well". ​ As more and more buzzwordy thing...
null
0
1546066760
False
0
ecsel0w
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsel0w/
1548215061
3
t5_2fwo
r/programming
public
null
False
stevenjd
t2_9q2nh
> We'd like to know why you were trying to obtain chlorine trifluoride, a substance that can burn through concrete. "I want to burn through concrete, duh!"
null
0
1546066769
False
0
ecselah
t3_aaco1d
null
null
t1_ecs9skf
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecselah/
1548215064
9
t5_2fwo
r/programming
public
null
False
Ettubrutusu
t2_1qi8jd60
This. * Hey, my keyboard stopped working what should I do? * Hey I bought this computer with only 32GB disk and now it's full and I don't have an office license but I really need office what should I do? * Hey my computer run slowly despite me having installed 40 browser toolbars to fix the issue. * Hey I need a web...
null
0
1546066820
False
0
ecsemrk
t3_aaco1d
null
null
t1_ecs3orn
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsemrk/
1548215082
3
t5_2fwo
r/programming
public
null
False
crs_0
t2_2vpk122j
> if you like watching it on your computer then you'll love watching it on your wall haha. Yeah definitely! That LED matrix looks amazing. The aging version that /u/lodc posted in the /r/arduino post also looks awesome as well, I'll have to try to figure out what he did to make it, haha
null
0
1546067066
False
0
ecseu4a
t3_aa72q0
null
null
t1_ecsdbkp
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecseu4a/
1548215174
3
t5_2fwo
r/programming
public
null
False
EAT_DA_POOPOO
t2_4423r
Monads are about null safety. The simplest way I can think to explain it would be an array [Edit: not saying it _is_ an array, I'm just trying to use an accessible example of encapsulating a value, which is probably would I should have led with]. You can perform all the same operations on an empty array as you would wi...
null
0
1546067085
1546072495
0
ecseuoi
t3_aai5ap
null
null
t3_aai5ap
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecseuoi/
1548215181
-25
t5_2fwo
r/programming
public
null
False
Drisku11
t2_bg6v5
The source is actually [Categories for the Working Mathematician](http://books.google.com/books?id=MXboNPdTv7QC&pg=PA138&lpg=PA138&dq=%22monoid+in+the+category+of+endofunctors%22+mac+lane&source=bl&ots=feQWTkH2Uw&sig=tv-1JwaMOygKGmFE2vM2FhJVS9o&hl=en&ei=5iWsTJCkBIPSsAPQwJ36Aw&sa=X&am...
null
0
1546067336
1546068407
0
ecsf270
t3_aai5ap
null
null
t1_ecsdic3
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsf270/
1548215273
37
t5_2fwo
r/programming
public
null
False
Dockirby
t2_6ozpc
Go to me is good for smaller self contained applications that are written by 1 to 3 people. It can make the application more maintainable in the future once the original writer is gone, but I feel it is a major drag when you start involving more people, and does not work well beyond a ~50k line program.
null
0
1546067497
False
0
ecsf6we
t3_aa3qdm
null
null
t1_ecqaoej
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecsf6we/
1548215331
1
t5_2fwo
r/programming
public
null
False
BlackMathNerd
t2_7vye2
Man collecting and understanding requirements is a big one. Idk how many projects where other devs got bogged down just developing shit without requirements. It took me a good while to learn that good requirements take time and effort and collaboration to work with. If I had been better at that some of the projects I...
null
0
1546067614
False
0
ecsfa9e
t3_aaco1d
null
null
t1_ecs111j
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsfa9e/
1548215402
4
t5_2fwo
r/programming
public
null
False
OneWingedShark
t2_bx7wh
>Interesting! Would you happen to know what company that was which gave the recommendation? No, I don't; it was some years ago, on a forum I rarely visit anymore and has undergone a chunk of user-churn. >Makes you wonder whether MS even bothered to looked into that suggestion at all. It does. I think they p...
null
0
1546067626
False
0
ecsfaln
t3_aac063
null
null
t1_ecs2lng
/r/programming/comments/aac063/when_good_engineers_write_bad_software/ecsfaln/
1548215406
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546067661
False
0
ecsfbjf
t3_aaco1d
null
null
t1_ecrfqsw
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsfbjf/
1548215417
-2
t5_2fwo
r/programming
public
null
False
jerry507
t2_7avw9
It’s a big mistake to assume smarter people worked on that code before. With few exceptions they were just random people. There’s a lot of assumptions built into your long reply, and in my experience it’s likely few of them can actually be justified with facts.
null
0
1546067829
False
0
ecsfgd1
t3_aac4hg
null
null
t1_ecs9a0x
/r/programming/comments/aac4hg/modern_c_lamentations/ecsfgd1/
1548215477
11
t5_2fwo
r/programming
public
null
False
featherfooted
t2_48838
/r/forwardsfromshevegen
null
0
1546067850
False
0
ecsfgy9
t3_aabai1
null
null
t1_ecr9w46
/r/programming/comments/aabai1/fish_shell_30/ecsfgy9/
1548215484
2
t5_2fwo
r/programming
public
null
False
oridb
t2_90rkq
A little duplication is *better* than aggressive elimination of duplication, since it prevents you from accidentally being tied to the needs of a downstream user. This is more pronounced at the scale of Google -- imagine writing a utility function, and then having all 50,000 of Google's chat apps come in and say "Hey, ...
null
0
1546067932
False
0
ecsfj51
t3_aa3qdm
null
null
t1_ecrxfld
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecsfj51/
1548215511
1
t5_2fwo
r/programming
public
null
False
forrestthewoods
t2_4h6ka
I took a quick tally Know - 4 Know a little - 3 Don't know; but want to - 2 Don't know; no interest - 15 I don't know and have no interest in learning 15 of the 24 technologies mentioned. Programming is a wide, wide field.
null
0
1546068089
False
0
ecsfnef
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsfnef/
1548215564
1
t5_2fwo
r/programming
public
null
False
dtechnology
t2_7gar4
Your explanation is incomprehensible for someone who is not already very familiar with things like polymorphism, lamdas and higher order functions. Which is precisely the problem that joke point out.
null
0
1546068333
False
0
ecsfuii
t3_aai5ap
null
null
t1_ecsf270
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsfuii/
1548215651
32
t5_2fwo
r/programming
public
null
False
jerry507
t2_7avw9
Is this iar by chance?
null
0
1546068359
False
0
ecsfv9v
t3_aac4hg
null
null
t1_ecrpylx
/r/programming/comments/aac4hg/modern_c_lamentations/ecsfv9v/
1548215660
1
t5_2fwo
r/programming
public
null
False
stevenjd
t2_9q2nh
> as all he does is tell people they are idiots, That's not [all](https://old.reddit.com/user/combinatorylogic) he does. > should never program, etc. People like him aren't valuable to any community Some people can't program, aren't interested or capable of learning, and are nothing but a drain on the communi...
null
1
1546068415
False
0
ecsfwvf
t3_aaco1d
null
null
t1_ecrq09n
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsfwvf/
1548215680
-1
t5_2fwo
r/programming
public
null
False
stevenjd
t2_9q2nh
Tone-policing is such an dick move. Can we remove you from online communities too? Oops, I guess that means I have to be removed as well... Seriously, if there's anything worse than people who are arseholes on the internet, it is self-rightously holier-than-thou arseholes who bitch about other people being arseholes a...
null
0
1546068633
False
0
ecsg357
t3_aaco1d
null
null
t1_ecrd8bz
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsg357/
1548215757
-8
t5_2fwo
r/programming
public
null
False
MurphLinear712
t2_1d1gtyw6
In my understanding of `tiny`, it’s also a library intended explicitly for experimentation. It’s not trying to provide the same kind of public, user facing library that something like `boost::filesystem` is.
null
0
1546068676
False
0
ecsg4be
t3_aac4hg
null
null
t1_ecrisqq
/r/programming/comments/aac4hg/modern_c_lamentations/ecsg4be/
1548215772
5
t5_2fwo
r/programming
public
null
False
dtechnology
t2_7gar4
No, try/catch and loosely typed languages are unreletated to monads. The rediscovery happened mostly in Haskell in the early '90s and it has since spread to other languages, first mostly functional ones but it's now leaking to more languages. For example, JavaScript promises are monads. They just call the chain opera...
null
0
1546068803
1546069320
0
ecsg7wz
t3_aai5ap
null
null
t1_ecseg0u
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsg7wz/
1548215817
33
t5_2fwo
r/programming
public
null
False
stevenjd
t2_9q2nh
> the guy that claimed fizzbuzz is a hazing ritual Seriously? Does this guy even know what hazing is? If having to prove your bona fides is now considered *hazing*, then we're doomed.
null
0
1546068831
False
0
ecsg8pa
t3_aaco1d
null
null
t1_ecrtx6m
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsg8pa/
1548215828
1
t5_2fwo
r/programming
public
null
False
fagnerbrack
t2_xeaqp
The last two sentences sum up the thought very well: >There’s plenty of things that I can do well. For example, **learning technologies when I need them**. I also don't know shit about algorithms. I've only learned Bin Packing and In-order/Out-order traversal because some projects I worked on required me to use th...
null
0
1546068840
False
0
ecsg8zo
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsg8zo/
1548215832
2
t5_2fwo
r/programming
public
null
False
Drisku11
t2_bg6v5
These days even Java has those things, but being familiar with generics or `map` doesn't mean the jargon makes sense. The point is the jargon just means "it's an interface that has this handful of functions, and their algebraic properties are nice, which means they don't have weird edge cases to consider (e.g. should I...
null
0
1546068855
False
0
ecsg9gz
t3_aai5ap
null
null
t1_ecsfuii
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsg9gz/
1548215837
17
t5_2fwo
r/programming
public
null
False
ThreeEyedInc
t2_91som
I am you, three!
null
0
1546068866
False
0
ecsg9s9
t3_aaco1d
null
null
t1_ecrz16f
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsg9s9/
1548215841
6
t5_2fwo
r/programming
public
null
False
fagnerbrack
t2_xeaqp
Pair Programming can have most of those benefits more efficiently. I mean orders of magnitude more efficiently. You reduce a lot of friction and context switching.
null
0
1546069012
False
0
ecsge9t
t3_aaagix
null
null
t3_aaagix
/r/programming/comments/aaagix/why_review_code/ecsge9t/
1548215896
-1
t5_2fwo
r/programming
public
null
False
Poltras
t2_3b5ft
On the other end of the coin, I don’t understand why anyone would ever want to resolve symlinks. If I want to create my own fake directory structure my tools should respect that.
null
0
1546069245
False
0
ecsglgt
t3_aabai1
null
null
t1_ecr7nri
/r/programming/comments/aabai1/fish_shell_30/ecsglgt/
1548216014
3
t5_2fwo
r/programming
public
null
False
yawaramin
t2_77bue
Shh, don’t say ‘generic’, Go doesn’t do generics.
null
0
1546069293
False
0
ecsgmxq
t3_aa3qdm
null
null
t1_ecq9wwz
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecsgmxq/
1548216032
2
t5_2fwo
r/programming
public
null
False
stevenjd
t2_9q2nh
Huh? This analogy doesn't make sense. Vellum and leather parchment might not be in much demand outside of a few niche areas, but there's a big difference between *good quality* vellum and *shit quality* vellum. Likewise, interviews are not often necessary except when there is a job to fill. If the average job lasts t...
null
0
1546069567
False
0
ecsgveu
t3_aaco1d
null
null
t1_ecrvjvd
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsgveu/
1548216137
0
t5_2fwo
r/programming
public
null
False
hirnbrot
t2_6cff9
>This was originally created by Ridiculous Fish. It actually wasn't! It was originally created by Axel Liljencrantz. _fish only forked it later, after Axel had stopped maintenance. The name is a complete coincidence!
null
0
1546069577
False
0
ecsgvpu
t3_aabai1
null
null
t1_ecrrasn
/r/programming/comments/aabai1/fish_shell_30/ecsgvpu/
1548216140
5
t5_2fwo
r/programming
public
null
False
yawaramin
t2_77bue
Dwight Schrute, no doubt?
null
0
1546069608
False
0
ecsgwou
t3_aa3qdm
null
null
t1_ecpodhk
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecsgwou/
1548216152
1
t5_2fwo
r/programming
public
null
False
hgjsusla
t2_a6egp
Type safety? An enum is not the same as an int?
null
0
1546069701
False
0
ecsgzf0
t3_aac4hg
null
null
t1_ecrv75u
/r/programming/comments/aac4hg/modern_c_lamentations/ecsgzf0/
1548216186
6
t5_2fwo
r/programming
public
null
False
Drisku11
t2_bg6v5
Not really. They're about wrapping and flattening generic types. e.g. if you have a `List[List[T]]` and you just want the `List[T]` with everything from the sublists. Or a `Future[Future[T]]` and you just want "the final answer after running all of the futures" as a `Future[T]`. Another favorite for testing your intuit...
null
0
1546069735
False
0
ecsh0hf
t3_aai5ap
null
null
t1_ecseuoi
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsh0hf/
1548216198
9
t5_2fwo
r/programming
public
null
False
anonprogtada
t2_3vs2n
I've often been credited with helping get a team across the line... but often feel imposter syndrome. My skill seems to be to understand others strengths/weaknesses on a project and compensate. I am good with some things but often get so rusty I'm scouring stack overflow for things I should know. One thing is clear th...
null
0
1546069870
False
0
ecsh4ym
t3_aaco1d
null
null
t1_ecr5rfc
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsh4ym/
1548216255
4
t5_2fwo
r/programming
public
null
False
LalafellRulez
t2_11i38u
Everything is fluid and on a case by case basis. By your logic we are in a infinite loop situation. Personally if someone is disrupting the peace of a community ,should be ostracized using the tools a community has. In the forums days was a site wide ban ,at Reddit is a subreddit ban and irl no one talking to you and t...
null
0
1546069967
False
0
ecsh85j
t3_aaco1d
null
null
t1_ecsg357
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsh85j/
1548216293
6
t5_2fwo
r/programming
public
null
False
Kinglink
t2_4fxzq
"Sorry we're looking for someone with a few more skills in applicable areas, and expect all of those from every one of our applicants. Yes all our employees can already do all of those, but we'd like to keep your application on file." Seriously, it's a great self evaluation but I look at this and realize that I'm sim...
null
0
1546069971
1546070170
0
ecsh8ac
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsh8ac/
1548216295
4
t5_2fwo
r/programming
public
null
False
Habib_Marwuana
t2_gtrgw
The consequences of lambdas are complicated. The fact that they can capture variables and prolong their lifetime means that just by passing a lambda around you can cause your memory to be deallocated at odd times in unexpected places. Perhaps your destructor is now called on a random thread and you have race conditions...
null
0
1546069997
False
0
ecsh94a
t3_aac4hg
null
null
t1_ecrdb2z
/r/programming/comments/aac4hg/modern_c_lamentations/ecsh94a/
1548216306
7
t5_2fwo
r/programming
public
null
False
doomhammerng
t2_ik53w87
How would you approach avoiding fluff when trying to inspire people unfamiliar with the topic? I wanted to write so that both people who use \`make\` and those who may have not heard of it could benefit. I'd welcome any suggestions on how should I tackle the topic in my future articles. ​ Thanks!
null
0
1546070406
False
0
ecshmwe
t3_9ypm05
null
null
t1_ea3hczo
/r/programming/comments/9ypm05/want_to_know_the_easiest_way_to_save_time_use_make/ecshmwe/
1548216476
1
t5_2fwo
r/programming
public
null
False
EAT_DA_POOPOO
t2_4423r
Certainly wrapping, that's what I was attempting to do in a super simple/familiar way (and apparently failing). Would that not be considered a form of null safety? Not sure about flattening though - they seem more generic, e.g. [Maybe](https://en.wikibooks.org/wiki/Haskell/Understanding_monads/Maybe)?
null
0
1546070452
1546070710
0
ecshogu
t3_aai5ap
null
null
t1_ecsh0hf
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecshogu/
1548216495
1
t5_2fwo
r/programming
public
null
False
Benmjt
t2_4qv69
Or make your own list.
null
0
1546070491
False
0
ecshprm
t3_aaco1d
null
null
t1_ecs4i82
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecshprm/
1548216511
5
t5_2fwo
r/programming
public
null
False
yawkat
t2_a7pa9
It's not job security if even you don't understand what you were doing
null
0
1546070527
False
0
ecshr26
t3_aac4hg
null
null
t1_ecrndqx
/r/programming/comments/aac4hg/modern_c_lamentations/ecshr26/
1548216527
5
t5_2fwo
r/programming
public
null
False
doomhammerng
t2_ik53w87
It's the worst for people **familiar** with the matter. For others, it brings context and hooks them up on reading. So I guess it depends on what audience do you want to target. ​ Can you share some of your articles? I'm curious to learn your style.
null
0
1546070543
False
0
ecshrn3
t3_9ypm05
null
null
t1_ea40b7j
/r/programming/comments/9ypm05/want_to_know_the_easiest_way_to_save_time_use_make/ecshrn3/
1548216534
1
t5_2fwo
r/programming
public
null
False
LalafellRulez
t2_11i38u
You can always prove them wrong with facts and sources. And if the one who makes a claim does not change their opinion you helped already by stopping misinformation propagating. But if you reply to an assertion but insulting them you just did nothing and most likely because you yourself don't know why someone asserts i...
null
0
1546070565
False
0
ecshsep
t3_aaco1d
null
null
t1_ecrtx6m
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecshsep/
1548216543
3
t5_2fwo
r/programming
public
null
False
doomhammerng
t2_ik53w87
Sorry, they got lost during the editing process. It's fixed now.
null
0
1546070621
False
0
ecshuet
t3_9ypm05
null
null
t1_ea383ak
/r/programming/comments/9ypm05/want_to_know_the_easiest_way_to_save_time_use_make/ecshuet/
1548216568
1
t5_2fwo
r/programming
public
null
False
brogam
t2_1hkhftox
be very happy my friend, we will soon have jailang and ziglang and we can forget this horrible nightmare that is c++
null
0
1546070644
False
0
ecshv7w
t3_aac4hg
null
null
t1_ecrwgep
/r/programming/comments/aac4hg/modern_c_lamentations/ecshv7w/
1548216607
2
t5_2fwo
r/programming
public
null
False
vplatt
t2_1uz5
This is a nice advocacy piece. That's especially true because they do not spend any time on putting down any other technology. I'm not an Elixir insider. I've been lurking it for some time though. Would someone in the community care to comment? This is a good time.
null
0
1546070691
False
0
ecshwts
t3_aaexva
null
null
t3_aaexva
/r/programming/comments/aaexva/elixir_a_minidocumentary_2018/ecshwts/
1548216627
2
t5_2fwo
r/programming
public
null
False
Figs
t2_2h67p
There are some weird edge cases as a result. I don't know how often you'd bump into them in practice if you write reasonably sane code, but here's an example. With g++ 4.8.4, this compiles: bool flag = true; int x = 6; auto f = flag? [](){printf("A");} : [](){printf("B");}; f(); while this does not: ...
null
0
1546070723
False
0
ecshxzg
t3_aac4hg
null
null
t1_ecs10nj
/r/programming/comments/aac4hg/modern_c_lamentations/ecshxzg/
1548216641
17
t5_2fwo
r/programming
public
null
False
doomhammerng
t2_ik53w87
Yup, XKCD is right. But I value team productivity so that's why I prefer to stick to one naming convention.
null
0
1546070729
False
0
ecshy7c
t3_9ypm05
null
null
t1_ea3d2u8
/r/programming/comments/9ypm05/want_to_know_the_easiest_way_to_save_time_use_make/ecshy7c/
1548216644
1
t5_2fwo
r/programming
public
null
False
feverzsj
t2_tdfgz
range isn't a good example for modern c++.
null
0
1546070845
False
0
ecsi24u
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecsi24u/
1548216694
3
t5_2fwo
r/programming
public
null
False
Conficker_
t2_gw3hv
Kleisli arrows are methods to compose functions which return monadic values, as such they depend on Monads.
null
0
1546070852
False
0
ecsi2ds
t3_aai5ap
null
null
t1_ecse9qc
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsi2ds/
1548216697
15
t5_2fwo
r/programming
public
null
False
Drisku11
t2_bg6v5
flatten for Maybe is defined as: flatten Just Just x = Just x flatten _ = Nothing Which is to say if either layer is empty, it's empty. Otherwise if both layers exist, it's the value wrapped in Just. This gives a function `Maybe Maybe a -> Maybe a`.
null
0
1546070912
False
0
ecsi4gn
t3_aai5ap
null
null
t1_ecshogu
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsi4gn/
1548216724
6
t5_2fwo
r/programming
public
null
False
Holy_City
t2_bj3zm
>It prevents type inference working between multiple lambdas with the same signature. Which is why `std::function` exists. But that's not strictly true, since lambdas with empty capture lists decompose to function pointers just fine. The real "gotcha" with lambdas and `std::function` is that if the capture list i...
null
0
1546070955
False
0
ecsi5xk
t3_aac4hg
null
null
t1_ecs7ddj
/r/programming/comments/aac4hg/modern_c_lamentations/ecsi5xk/
1548216743
8
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546071039
False
0
ecsi8qq
t3_aac4hg
null
null
t1_ecs1m2f
/r/programming/comments/aac4hg/modern_c_lamentations/ecsi8qq/
1548216777
2
t5_2fwo
r/programming
public
null
False
MasterKongQiu
t2_i3pmq
But are they vax free? Wouldn't want your electrons catching some autism from any vaccines.
null
0
1546071364
False
0
ecsij5s
t3_aaco1d
null
null
t1_ecryof7
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsij5s/
1548216905
3
t5_2fwo
r/programming
public
null
False
eskimoFry
t2_gxd2g
i mean, i don't understand much of it other than the fact that the paramerter must implement a Range type?
null
0
1546071388
False
0
ecsijx3
t3_aac4hg
null
null
t1_ecscad2
/r/programming/comments/aac4hg/modern_c_lamentations/ecsijx3/
1548216915
2
t5_2fwo
r/programming
public
null
False
ArunMu
t2_n7ikv
Nicely written article. As much as I love C++ I do not recommend it for new software developers interested in systems programming. It is trying to not be an "expert only" language, but sadly it is and with the current trend of things it will mostly be a "wizards only" language. That is really sad. What I want and ever...
null
0
1546071446
False
0
ecsilmp
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecsilmp/
1548216937
4
t5_2fwo
r/programming
public
null
False
MasterKongQiu
t2_i3pmq
Printers are easy to fix. You just throw them in the garbage and sign your relatives up for Shutterfly or similar.
null
0
1546071495
False
0
ecsin6x
t3_aaco1d
null
null
t1_ecs794i
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsin6x/
1548216956
14
t5_2fwo
r/programming
public
null
False
RAIDguy
t2_579ok
That C++20 stuff is just unreadable garbage. WTF have people done to the language?
null
0
1546071500
False
0
ecsincj
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecsincj/
1548216958
8
t5_2fwo
r/programming
public
null
False
EAT_DA_POOPOO
t2_4423r
But would you say that flattening is one of the basic ideas of what makes a monad or simply encapsulation of a value? I've always thought of them as primarily the function of the latter, but if the former is regarded as intrinsically part of the concept I would undoubtedly have to rethink my understanding.
null
0
1546071641
False
0
ecsirm4
t3_aai5ap
null
null
t1_ecsi4gn
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsirm4/
1548217010
0
t5_2fwo
r/programming
public
null
False
Holy_City
t2_bj3zm
IME the folks writing C++ have longer product cycles which means we need to cover targets unsupported by the newer compiler and stdlib versions, even on new projects. Shout out to Apple for barely supporting C++17, only having minimal stdlib coverage on MacOS >10.14, and crippling Xcode for C++ development.
null
0
1546071792
False
0
ecsiw8n
t3_aac4hg
null
null
t1_ecrt4ea
/r/programming/comments/aac4hg/modern_c_lamentations/ecsiw8n/
1548217067
7
t5_2fwo
r/programming
public
null
False
Boza_s6
t2_j1w9p
People downvoting you, but I'm with you. It is ridiculous to have such a big knowledge gap.
null
1
1546071882
False
0
ecsizeh
t3_aaco1d
null
null
t1_ecrhz60
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsizeh/
1548217106
-4
t5_2fwo
r/programming
public
null
False
wutcnbrowndo4u
t2_4izh8
I would've probably agreed back when my career consisted only of talented teams within places like Google, but since then I've internalized through experience that some opportunities require working with teammate or reportee engineers ranging from mediocre to terrible. While it's never quite pleasant to work with such ...
null
0
1546071973
False
0
ecsj2iw
t3_a8rptf
null
null
t1_ecgl3a6
/r/programming/comments/a8rptf/i_do_not_like_go/ecsj2iw/
1548217145
1
t5_2fwo
r/programming
public
null
False
FrozenAsss
t2_2u5lrwd3
Java Decent That's the worst bullshit i have heard in 2018
null
0
1546072127
False
0
ecsj7kd
t3_a8kwg9
null
null
t1_ecg8nsf
/r/programming/comments/a8kwg9/what_every_programmer_should_know_about_memory/ecsj7kd/
1548217235
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
[removed]
null
0
1546072132
False
0
ecsj7qj
t3_aach46
null
null
t3_aach46
/r/programming/comments/aach46/lazy_code_a_c_header_only_lib_what_if_you_could/ecsj7qj/
1548217238
-2
t5_2fwo
r/programming
public
null
False
FrozenAsss
t2_2u5lrwd3
Java Decent That's the worst bullshit i have heard in 2018
null
0
1546072141
False
0
ecsj81m
t3_a8kwg9
null
null
t1_ecg8nsf
/r/programming/comments/a8kwg9/what_every_programmer_should_know_about_memory/ecsj81m/
1548217242
1
t5_2fwo
r/programming
public
null
False
vivainio
t2_4a0np
No you are right
null
0
1546072252
False
0
ecsjbr5
t3_aa2peh
null
null
t1_ecorhn2
/r/programming/comments/aa2peh/why_go_sucks_and_you_should_use_node/ecsjbr5/
1548217288
1
t5_2fwo
r/programming
public
null
False
Valmar33
t2_zbck5
Perhaps, but Go is not a good choice of restrictive language ~ it's ***too*** restrictive, cripplingly so.
null
0
1546072420
False
0
ecsjh80
t3_a8rptf
null
null
t1_ecsj2iw
/r/programming/comments/a8rptf/i_do_not_like_go/ecsjh80/
1548217355
3
t5_2fwo
r/programming
public
null
False
[deleted]
None
1:37
null
0
1546072602
False
0
ecsjmxy
t3_aa91bp
null
null
t1_ecraxqh
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecsjmxy/
1548217427
1
t5_2fwo
r/programming
public
null
False
Figs
t2_2h67p
Indeed. One of the biggest issues with lambdas that I've run into is that you can't serialize them. There is no way to get at the captured variables. If it turns out later that you need to save the state contained in a closure to disk or shove it across the network, you're gonna have a bad time. Lambdas should general...
null
0
1546072820
False
0
ecsju6f
t3_aac4hg
null
null
t1_ecsh94a
/r/programming/comments/aac4hg/modern_c_lamentations/ecsju6f/
1548217517
6
t5_2fwo
r/programming
public
null
False
sime
t2_35em5
> Must readability be the one quality to which all others must bow? I would say yes because it is the cornerstone. Without readability you can't have robust code, unbreakable code, extensible code, etc either.
null
0
1546072854
False
0
ecsjvbn
t3_aac4hg
null
null
t1_ecrfd78
/r/programming/comments/aac4hg/modern_c_lamentations/ecsjvbn/
1548217531
5
t5_2fwo
r/programming
public
null
False
Drisku11
t2_bg6v5
Flattening is at the core of the concept. The function example `A->(A->B)` flattening to `A->B` illustrates that "encapsulation"/containment are not part of the concept. You can create a function that "contains" a single value in the sense that it always returns that value, but most functions don't "contain" a...
null
0
1546072865
False
0
ecsjvmd
t3_aai5ap
null
null
t1_ecsirm4
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsjvmd/
1548217534
5
t5_2fwo
r/programming
public
null
False
zvrba
t2_1vne
> We have to integrate & maintain scripting languages like Lua to get hot-loading / rapid iteration of code because our C++ codebase is too slow to compile. Ya. C# / .net core has become my default platform of choice. > std::vector is ~10-15x slower in debug builds I assume you're talking about MSVC. Yes,...
null
0
1546072883
False
0
ecsjw62
t3_aac4hg
null
null
t1_ecrwgep
/r/programming/comments/aac4hg/modern_c_lamentations/ecsjw62/
1548217541
12
t5_2fwo
r/programming
public
null
False
SaadAttieh
t2_2pd4av8
It’s listed as an external dependency in src/CMakeLists-ExternalProjects.txt.  This file lists the GitHub link where it can be found.  If you build the example usage by `mkdir build; cd build; cmake ..; make`.  This will automatically clone the optional repo.  Or if you like just use the single header build in single_h...
null
0
1546072931
False
0
ecsjxoj
t3_aach46
null
null
t1_ecrpl5x
/r/programming/comments/aach46/lazy_code_a_c_header_only_lib_what_if_you_could/ecsjxoj/
1548217559
1
t5_2fwo
r/programming
public
null
False
FrozenAsss
t2_2u5lrwd3
It find it very fascinating how you can use these simple lines of code to generate good looking graphics. Compared to e.g. modern game development where you press some boxes in Unity that no one knows the code behind.
null
0
1546072981
False
0
ecsjz8t
t3_aajb7r
null
null
t3_aajb7r
/r/programming/comments/aajb7r/how_doom_fire_was_done/ecsjz8t/
1548217580
175
t5_2fwo
r/programming
public
null
False
EAT_DA_POOPOO
t2_4423r
Gotcha, thanks for your explanation.
null
0
1546073011
False
0
ecsk074
t3_aai5ap
null
null
t1_ecsjvmd
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsk074/
1548217591
1
t5_2fwo
r/programming
public
null
False
mrkite77
t2_4iq0c
I have a similar javascript version here: http://seancode.com/demofx/
null
0
1546073095
False
0
ecsk2su
t3_aajb7r
null
null
t3_aajb7r
/r/programming/comments/aajb7r/how_doom_fire_was_done/ecsk2su/
1548217623
301
t5_2fwo
r/programming
public
null
False
davorzdralo
t2_62ihs
> Tone-policing is such an dick move This isn't about tone.
null
0
1546073181
False
0
ecsk5io
t3_aaco1d
null
null
t1_ecsg357
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsk5io/
1548217656
10
t5_2fwo
r/programming
public
null