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
possessed_flea
t2_3auhs
This is a ultra low hanging fruit, as someone who spent a few years writing ADA professionally I have to say that the verbosity of the language combined with its extra strict type system caught so many potential bugs at compile time that would normally just go unnoticed in other languages .
null
0
1544758085
False
0
ebqtiuv
t3_a5ylm8
null
null
t3_a5ylm8
/r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqtiuv/
1547581755
77
t5_2fwo
r/programming
public
null
False
dranek
t2_36vzu
I've see them use pointers to structs (aka handles). The structs don't need to be defined in C, just declared, so all the C++ness is hidden. Cannot be templates of course.
null
0
1546055772
False
0
ecs3ry4
t3_aac4hg
null
null
t1_ecs1m2f
/r/programming/comments/aac4hg/modern_c_lamentations/ecs3ry4/
1548210022
28
t5_2fwo
r/programming
public
null
False
evolveKyro
t2_3jeah
From what I have seen the only "skill" blockchain fanatics have is not being able to understand business needs, and trying to fit everything into some kind of "blockchain" because that makes them feel smart (but sound dumb as shit).
null
0
1544758202
False
0
ebqto1h
t3_a60qu2
null
null
t3_a60qu2
/r/programming/comments/a60qu2/a_deep_look_at_the_different_skill_requirements/ebqto1h/
1547581847
12
t5_2fwo
r/programming
public
null
False
XANi_
t2_7z5jp
Not exactly. You *had* to write JS if you wanted to run it in browser, you did not have any real choice, aside from maybe trying to make whole webpage in flash. So you got droves of designers-turned-programmers who wrote nothing significant (because all actual logic and "interesting" stuff ran in backend) aside from putting boxes in right places on the screen, because that was their job But then came V8/Node and suddenly you could run JS in backend also, and had HUGE base of people that knew JS but were not really familiar with how to write software that is not utter shit, and were not really familiar with any programming language that is not garbage. And as JS people were cheap to hire, the yesterday frontend developer became full-stack developer So they went on and reinvented everything that was already invented, badly, then some people that were tired of writing in garbage language started making transpliers and tried to make something that compiles to JS but is not utter shit (TypeScript and various other)
null
0
1546055904
False
0
ecs3wz9
t3_aac063
null
null
t1_ecrzijf
/r/programming/comments/aac063/when_good_engineers_write_bad_software/ecs3wz9/
1548210084
6
t5_2fwo
r/programming
public
null
False
Hq3473
t2_c0anu
I will take an Italian pizza sub for 9 dollars, please
null
0
1544758237
False
0
ebqtpkl
t3_a5sg9k
null
null
t1_ebqa1b6
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqtpkl/
1547581866
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546055953
False
0
ecs3yw0
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs3yw0/
1548210107
1
t5_2fwo
r/programming
public
null
False
Equal_Entrepreneur
t2_2n2dzjh0
I see riddles as NP-complete or hard too: It's easy if you make the riddle yourself (exactly $X of appetizers, where YOU specify X and let the other party figure it out? ez!) but if someone else has to solve it, it's gonna take a while for them.
null
0
1544758320
False
0
ebqtt9h
t3_a5sg9k
null
null
t1_ebqnxsl
/r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqtt9h/
1547581912
1
t5_2fwo
r/programming
public
null
False
shenglong
t2_2nn6w
> My comments were not about whether there is a bug. Your comment - as I stated from the beginning - is irrelevant. You're trying to explain to me that you can replace bad logic with *shorter* bad logic. Please try to gain more experience in software development before trying to engage in these discussions. Your posts about "comments" and "design documents" are pointless - we (as in people who do this for a living) already know what you are trying to say. It is irrelevant to the POINT. If you're simply trying to say that you don't understand the significance about "toy" code in the sense that they may be used to demonstrate a certain point. NOTHING CHANGES. Please try to gain more experience in software development before trying to engage in these discussions.
null
0
1546055961
False
0
ecs3z8y
t3_aa3qdm
null
null
t1_ecs3b6a
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecs3z8y/
1548210112
1
t5_2fwo
r/programming
public
null
False
airflow_matt
t2_meh1h
Well, you claimed function pointers can't be inlined, they clearly can, if compiler has enough context. And has not been written by Microsoft. Apparently MSVC can't inline trivial C function pointer even within single compilation unit. That said, I agree that with templates you are guaranteed to have zero cost abstractions, while with function pointers you are at the mercy of compiler being able to figure out what the value of function pointer is going to be at runtime.
null
0
1546056023
False
0
ecs41oh
t3_aac4hg
null
null
t1_ecs0qy0
/r/programming/comments/aac4hg/modern_c_lamentations/ecs41oh/
1548210143
4
t5_2fwo
r/programming
public
null
False
SPQR_BN
t2_oypgq
May I introduce you to the user-defined function `fish_right_prompt`? Boring but functional [example](https://github.com/deoxys314/dotfiles/blob/b9c2bb9cca2d024a3af23df2a01f9629c54a3afd/config.fish#L92)
null
0
1546056245
False
0
ecs4ac3
t3_aabai1
null
null
t1_ecr9zcc
/r/programming/comments/aabai1/fish_shell_30/ecs4ac3/
1548210250
9
t5_2fwo
r/programming
public
null
False
CompetitiveRiver5
t2_2l9b9j20
I got reintroduced to types (I used, C, Java, C++ in University but didn't in work) with Flow in javascript and hated it at first. Then I had an issue where a value being sent from the server was all of a sudden nullable whereas previously it was not. Just adding a "?" to the type of the value made it a maybe type, running the Flow compiler told me every spot I needed to add a null check. ​ I had complete peace of mind that my code would work.
null
0
1546056284
False
0
ecs4bvx
t3_aaco1d
null
null
t1_ecrsgqk
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs4bvx/
1548210269
4
t5_2fwo
r/programming
public
null
False
SilkTouchm
t2_8gy2p
How do you become a programmer without knowing how to troubleshoot?
null
0
1546056331
False
0
ecs4ds6
t3_aaco1d
null
null
t1_ecs3orn
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs4ds6/
1548210292
8
t5_2fwo
r/programming
public
null
False
starlig-ht
t2_v9jpt
I didn't expect to know everything on your list. Maybe I should quit with the imposter syndrome already. Thanks, this made my day
null
0
1546056442
False
0
ecs4i82
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs4i82/
1548210347
5
t5_2fwo
r/programming
public
null
False
SPQR_BN
t2_oypgq
That was such a clever feature, and one of the first things that really clicked for me when I first tried fish. I like it so much I've implemented it in powershell and python a few times so I can run it on other systems. It's not difficult to do, but thinking it up was brilliant.
null
0
1546056448
False
0
ecs4ig8
t3_aabai1
null
null
t1_ecrcgje
/r/programming/comments/aabai1/fish_shell_30/ecs4ig8/
1548210350
4
t5_2fwo
r/programming
public
null
False
FoolishDeveloper
t2_7aacicn
There are plenty of people who know things that don't speak to others [like this](https://www.reddit.com/r/programming/comments/a8kwg9/what_every_programmer_should_know_about_memory/ecg5w24/) >Look at this brain-dead ignorant worthless webshit who have no fucking idea of how to ensure cache locality with the managed languages. ​
null
0
1546056475
False
0
ecs4jh1
t3_aaco1d
null
null
t1_ecravgu
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs4jh1/
1548210362
28
t5_2fwo
r/programming
public
null
False
Stavronius
t2_1vw3klna
Bold - I'm (pleasantly) surprised you weren't downvoted to oblivion.
null
0
1546056671
False
0
ecs4r0o
t3_9wcku8
null
null
t1_e9kp6ze
/r/programming/comments/9wcku8/why_agile_and_especially_scrum_are_terrible/ecs4r0o/
1548210456
1
t5_2fwo
r/programming
public
null
False
Drisku11
t2_bg6v5
My point is that I can just as well say you're replacing bad logic with longer bad logic. You made the assertion that the intent is somehow clearer by adding redundant conditions. I disagree. If anything, I've found more concise code is generally easier to spot bugs in. I also have experience in very high reliability embedded systems (we had code to recover from processor cache errors or to detect and turn off defective cores without failing, for example), so your comments there are a bit misguided.
null
0
1546056692
False
0
ecs4ru0
t3_aa3qdm
null
null
t1_ecs3z8y
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecs4ru0/
1548210467
1
t5_2fwo
r/programming
public
null
False
endless_sea_of_stars
t2_9jd4s
You fix a printer the same way you debug code. Try different things and Google the error messages.
null
0
1546056758
False
0
ecs4uev
t3_aaco1d
null
null
t1_ecs3orn
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs4uev/
1548210498
33
t5_2fwo
r/programming
public
null
False
AlexCoventry
t2_6yfwg
What do you mean by "know"? What does it mean, to have worked with python for several years, but not to know it? I think most people would say you can know python without knowing the import semantics off the top of your head.
null
0
1546056912
False
0
ecs50he
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs50he/
1548210573
1
t5_2fwo
r/programming
public
null
False
Treyzania
t2_8vzbi
bit of an old post, but still relevant: >It wouldn't be compatible with a GC'd environment. You can do object pooling with [soft refs](https://docs.oracle.com/javase/7/docs/api/java/lang/ref/SoftReference.html) to make this a little less of a problem. >Linear typechecking only works for linear resources - for concurrent and shared data you need different pointers Java's references are looser than Rust's so it wouldn't be difficult to statically fit Rust semantics into Java, unless I'm wildly mistaken. >with GCs you don't need to worry as much. What does this mean? When I write production applications in languages with GC I worry all the time about how long things are going to live and if I'm putting too much pressure on the GC to clean up object allocations for me without ballooning up the memory usage.
null
0
1546057089
False
0
ecs57at
t3_a9gej5
null
null
t1_ecjy95l
/r/programming/comments/a9gej5/avoiding_high_gc_overhead_with_large_heaps/ecs57at/
1548210685
1
t5_2fwo
r/programming
public
null
False
airflow_matt
t2_meh1h
>Cool. Unless passing a function via template parameter is slower in debug builds, that is not an argument against it. Debug build performance here just isn't relevant to the topic, unless it impedes it. Template parameters for function passing are generally cleaner, easier to read, and easier for the compiler to reason about, and if possible direct calls are always preferable to indirect calls. Slower than what? Passing single argument through template is hardly going to be significantly different, but that's not what is going on here. I have never seen non-templated code performing 150 times worse in debug mode than in release mode, but apparently that's perfectly possible if you abuse zero cost abstractions hard enough. It really worries me that C++ seems to be dead set on a path of utter disregard for development productivity and leaning heavily towards unpragmatic mental masturbation.
null
0
1546057130
False
0
ecs58ug
t3_aac4hg
null
null
t1_ecs0qy0
/r/programming/comments/aac4hg/modern_c_lamentations/ecs58ug/
1548210704
1
t5_2fwo
r/programming
public
null
False
Pand9
t2_as7xb
If someone can't learn lambdas, because then he couldn't get anything done - now this is extreme. Esp. that he's long overdue with c++ features. Maybe he should talk with his superior on allocating this time. Learning is part of your work day. Sometimes you do 0 of it, sometimes you need to allocate more. It's never a got choice to stick to archaic standards because of decreased productivity. It's not professional.
null
0
1546057272
False
0
ecs5ecb
t3_aac4hg
null
null
t1_ecro4gn
/r/programming/comments/aac4hg/modern_c_lamentations/ecs5ecb/
1548210771
10
t5_2fwo
r/programming
public
null
False
fuddlesworth
t2_djve0
This is what happens when you learn from a Nodejs boot camp.
null
0
1546057283
False
0
ecs5erq
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs5erq/
1548210777
-14
t5_2fwo
r/programming
public
null
False
fuddlesworth
t2_djve0
I never understood why interviewers put such a high importance on them when most programmers will never have to program their own graph, tree, sorting, etc algorithms. Even recursion is rarely seen.
null
0
1546057464
False
0
ecs5llh
t3_aaco1d
null
null
t1_ecrpclk
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs5llh/
1548210862
27
t5_2fwo
r/programming
public
null
False
fuddlesworth
t2_djve0
This is why a lot of employers are rejecting boot camp graduates.
null
0
1546057533
False
0
ecs5oc8
t3_aaco1d
null
null
t1_ecrn3qv
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs5oc8/
1548210896
-8
t5_2fwo
r/programming
public
null
False
Deltigre
t2_4aj7t
Yup. It's an anonymous class where captures are fields and `operator()` implements the function.
null
0
1546057538
False
0
ecs5okb
t3_aac4hg
null
null
t1_ecrx74v
/r/programming/comments/aac4hg/modern_c_lamentations/ecs5okb/
1548210898
1
t5_2fwo
r/programming
public
null
False
bloody-albatross
t2_cdjk3
What else would you use (when using PHP)?
null
0
1546057571
False
0
ecs5pz7
t3_a9psuk
null
null
t1_ecmocif
/r/programming/comments/a9psuk/javascript_form_data_validation_with_laravel_rules/ecs5pz7/
1548210916
1
t5_2fwo
r/programming
public
null
False
MadDoctor5813
t2_eifbq
I’m loving all the evidence of previous loophole abuse in the rules file. For example, they say you can submit 8.000000 entries (presumably someone tried some rounding voodoo earlier), and they mention octets instead of bytes, probably because someone came in defining bytes to be 16 bits or something.
null
0
1546057669
False
0
ecs5u0l
t3_aag673
null
null
t3_aag673
/r/programming/comments/aag673/ioccc_2019_begins_official_contest_rules/ecs5u0l/
1548210965
18
t5_2fwo
r/programming
public
null
False
airflow_matt
t2_meh1h
There are definitely reasons not to pass functions as template arguments. Maybe you don't want your entire codebase to be consisting of header files. Maybe you don't want to spend third of your life compiling code. Maybe you also want to be able to debug your code every now and then. Functioning autocomplete is not exactly a standard behavior in heavily templated code either. Refactoring? Good luck with that. There are other things to consider than just focusing on -O2 performance. Sure, if the function is an algorithm or possible hotspot, templatizing it makes perfect sense. But it should come with a healthy degree of restraint, in order not to cripple productivity. And that ship seems to have sailed long time ago. I really don't need my socket class to be a template.
null
0
1546057719
1546058753
0
ecs5w99
t3_aac4hg
null
null
t1_ecryj0a
/r/programming/comments/aac4hg/modern_c_lamentations/ecs5w99/
1548210993
7
t5_2fwo
r/programming
public
null
False
[deleted]
None
It's AWESOME that you don't "have" to know that stuff in order to solve problems with the language! Honestly though, PEP8 is good stuff and I highly recommend you give it a quick review.
null
0
1546057907
False
0
ecs64a6
t3_aaco1d
null
null
t1_ecrlfec
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs64a6/
1548211093
2
t5_2fwo
r/programming
public
null
False
airflow_matt
t2_meh1h
Also templates are used with [quite a restraint](https://google.github.io/styleguide/cppguide.html#Template_metaprogramming). For a reason.
null
0
1546057976
False
0
ecs676c
t3_aac4hg
null
null
t1_ecrogm1
/r/programming/comments/aac4hg/modern_c_lamentations/ecs676c/
1548211128
11
t5_2fwo
r/programming
public
null
False
robolab-io
t2_md5k8b0
What does this guy know then?
null
0
1546058064
False
0
ecs6any
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs6any/
1548211172
-10
t5_2fwo
r/programming
public
null
False
zoinks
t2_zsaf
Hmmm, this person is confident that they have mastered the skill of learning how to learn. Doesn't sound like it to me?
null
0
1546058095
False
0
ecs6bwq
t3_aab645
null
null
t3_aab645
/r/programming/comments/aab645/learning_to_learn_develop_skills_to_master/ecs6bwq/
1548211215
3
t5_2fwo
r/programming
public
null
False
TinderThrowItAwayNow
t2_y45po
You say that, but he claims everyone that disagrees with him should never be allowed to program, even when the argument is on an opinion.
null
0
1546058131
False
0
ecs6ddx
t3_aaco1d
null
null
t1_ecrtx6m
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs6ddx/
1548211234
6
t5_2fwo
r/programming
public
null
False
shenglong
t2_2nn6w
> My point is that I can just as well say you're replacing bad logic with longer bad logic. Your point is irrelevant (not to mention 1000% COMPLETELY WRONG!). I appreciate your enthusiasm, but everything else you've said, is unfortunately misguided. All you seem to think about is "redundant conditions", when the *main point*, which I elucidated and you commented on, is why the type of style is called "space shuttle". Which I then explained. If you do not believe that this is so, check rule 14.10 of the MISRA-C 2004 standard which exists to govern mission-critical code, especially with regard to embedded systems. This does not even concern *multi-threaded* mission-critical code, which IMO is something you're also not equipped to discuss. The day you understand this type of code is meant *for the user* and not *for developer ego*, come revisit this discussion. I have yet to meet an "embedded" software developer whose industry is "software development" - you are a service partner, not a strategic partner. I don't know why I am explaining these things to you. Actually, I do. As I said, I like your enthusiasm. But please - keep your programming 101 techniques out of **safety-critical** software.
null
0
1546058140
False
0
ecs6dqe
t3_aa3qdm
null
null
t1_ecs4ru0
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecs6dqe/
1548211238
1
t5_2fwo
r/programming
public
null
False
[deleted]
None
Thanks for writing this. As a super-generalist, and a manager, I struggle with the breadth of what I'm supposed to know all the time. The whole "DevOps" umbrella covers what used to be multiple job titles and backgrounds...it's tough to keep up, tough to hire, and tough to retain people, because of the crippling amount of imposter syndrome in the field. I think a HUGE step toward mending that is just being open about not knowing things. Kudos.
null
0
1546058284
False
0
ecs6jhj
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs6jhj/
1548211309
3
t5_2fwo
r/programming
public
null
False
Ameisen
t2_5qad2
I'm confused. Are you arguing that passing a function via template argument makes debug builds slower than using a raw function pointer...? That is the *only* way that this argument makes sense.
null
0
1546058380
False
0
ecs6ne2
t3_aac4hg
null
null
t1_ecs58ug
/r/programming/comments/aac4hg/modern_c_lamentations/ecs6ne2/
1548211356
2
t5_2fwo
r/programming
public
null
False
idobai
t2_fu8kq
> You can do object pooling with soft refs to make this a little less of a problem. You would still need a borrow checker and a lot of changes in the language to make sure that it actually works. > Java's references are looser than Rust's so it wouldn't be difficult to statically fit Rust semantics into Java, unless I'm wildly mistaken. Rust's affine types are checked at compile-time and they're "linear"(with only one alias). Most java code works with shared and concurrent resources so you'd need to change a lot of code to make it fit. Plus Rust's biggest feature is its borrow-checker - and it's anything but simple. > What does this mean? When I write production applications in languages with GC I worry all the time about how long things are going to live and if I'm putting too much pressure on the GC to clean up object allocations for me without ballooning up the memory usage. It means that using a GC is more productive because you don't need to constantly wrap stuff and satisfy complex contracts. Don't think that you can get rid of space-leaks by moving to rust(you can leak memory with shared resources too if they're circular and you forgot to use weak ptrs - or if there was a refactoring somewhere).
null
0
1546058435
False
0
ecs6pnq
t3_a9gej5
null
null
t1_ecs57at
/r/programming/comments/a9gej5/avoiding_high_gc_overhead_with_large_heaps/ecs6pnq/
1548211385
1
t5_2fwo
r/programming
public
null
False
Cros3n
t2_tg4p5
This is a great article thank you for sharing! Its heartening to hear that a lack of knowledge is areas isn't a deal breaker. I'm working on my degree and am terrified of the job hunt.
null
0
1546058531
False
0
ecs6tjf
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs6tjf/
1548211433
2
t5_2fwo
r/programming
public
null
False
shponglespore
t2_4dw4r
And templates. And inheritance. And no garbage collection, dynamic casting, goroutines, `defer` statements, or recoverable panics. And macros all over the place. So basically nothing like Go.
null
0
1546058801
False
0
ecs74fy
t3_aac4hg
null
null
t1_ecrzcxc
/r/programming/comments/aac4hg/modern_c_lamentations/ecs74fy/
1548211568
32
t5_2fwo
r/programming
public
null
False
CharlieandtheRed
t2_12st71
I've met so many devs who always chase the newest thing, for no reason other than it's new, yet here I am using many of the same languages and libraries I always have, making way past six figures a year. They're all moving on to their fifth jobs since we met, making sub $70k. Not saying new isn't good, but new for no reason bugs the heck out of me.
null
0
1546058898
False
0
ecs78be
t3_aaco1d
null
null
t1_ecrmdxw
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs78be/
1548211616
4
t5_2fwo
r/programming
public
null
False
Yuushi
t2_3kbzx
No, that's how you fix computers. Printers, on the other hand, are generally more like some kind of Lovecraftian hellspawn that you can occasionally cajole into doing what they are supposed to until they start telling you they are out of ink even though you just replaced the god damn ink YOU STUPID MACHINE. I don't like printers.
null
0
1546058918
False
0
ecs794i
t3_aaco1d
null
null
t1_ecs4uev
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs794i/
1548211626
71
t5_2fwo
r/programming
public
null
False
quicknir
t2_iczmz
It's relevant because you can't assume that the outer function is going to be inlined? Most functions don't get inlined, and as soon as it doesn't get inlined, it all falls apart: https://godbolt.org/z/UsPVHs. This is the same (in part) reasoning why std::sort is faster than qsort. The former takes a function object, the latter takes a function pointer. If qsort gets inlined in its entirety than the function pointer it receives can get inlined, but that doesn't usually happen. This is discussed in Effective STL (Item 46). Maybe what happened with std::function is that it was thought to not be a big deal to require copying since move-only types couldn't be captured in lambdas by value until 14, whereas function was standardized in 11. Or maybe not, maybe there are other good reasons.
null
0
1546058932
False
0
ecs79oy
t3_aac4hg
null
null
t1_ecs0gb8
/r/programming/comments/aac4hg/modern_c_lamentations/ecs79oy/
1548211632
3
t5_2fwo
r/programming
public
null
False
shponglespore
t2_4dw4r
If [this](https://chromium.googlesource.com/chromium/src.git/+/lkgr/base/bind.h) is what you consider restraint. Or [this](https://chromium.googlesource.com/chromium/src.git/+/lkgr/base/optional.h).
null
0
1546058945
False
0
ecs7a80
t3_aac4hg
null
null
t1_ecs676c
/r/programming/comments/aac4hg/modern_c_lamentations/ecs7a80/
1548211639
4
t5_2fwo
r/programming
public
null
False
shizzy0
t2_1ijce
I would give my minus operator for kebab-case to be more readily available. You want to minus? Stick some spaces before it otherwise it’s an identifier. /dream
null
0
1546058953
False
0
ecs7aji
t3_aaamfb
null
null
t1_ecqwe65
/r/programming/comments/aaamfb/how_you_ever_thought_about_which_casing/ecs7aji/
1548211643
3
t5_2fwo
r/programming
public
null
False
Deltigre
t2_4aj7t
It prevents type inference working between multiple lambdas with the same signature.
null
0
1546059024
False
0
ecs7ddj
t3_aac4hg
null
null
t1_ecs10nj
/r/programming/comments/aac4hg/modern_c_lamentations/ecs7ddj/
1548211678
3
t5_2fwo
r/programming
public
null
False
Loud_Giraffe
t2_dmb1q6q
Reminds me of one of the better (imo) principles to come out of extreme programming/agile: [YAGNI](https://en.wikipedia.org/wiki/You_aren%27t_gonna_need_it)
null
0
1546059287
False
0
ecs7nv7
t3_aac4hg
null
null
t1_ecqp2wu
/r/programming/comments/aac4hg/modern_c_lamentations/ecs7nv7/
1548211837
7
t5_2fwo
r/programming
public
null
False
mepian
t2_2nupgs1z
What is your opinion on CLOS? Did it deserve to be included in Common Lisp, or is it stupid too?
null
0
1546059374
False
0
ecs7r8r
t3_a9evav
null
null
t1_ecitxhj
/r/programming/comments/a9evav/using_oop_principles_beyond_objects/ecs7r8r/
1548211879
1
t5_2fwo
r/programming
public
null
False
shibasisp
t2_4z8wtrq
Interesting read!!
null
0
1546059500
False
0
ecs7w9w
t3_aadh7s
null
null
t3_aadh7s
/r/programming/comments/aadh7s/api_using_graphql_and_nodejs/ecs7w9w/
1548211940
1
t5_2fwo
r/programming
public
null
False
eronth
t2_5jxwe
Serious question, at what point do I confidently call myself a full-stack developer?
null
0
1546059506
False
0
ecs7wh3
t3_aaco1d
null
null
t1_ecrowlo
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs7wh3/
1548211943
6
t5_2fwo
r/programming
public
null
False
JuanGaKe
t2_11swxh
The "It's not my job, I just write \[language here\]" syndrome...
null
0
1546059555
False
0
ecs7ye6
t3_aaco1d
null
null
t1_ecs4ds6
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs7ye6/
1548211967
5
t5_2fwo
r/programming
public
null
False
wrensdad
t2_208cmu5t
I read this and played a little game of "what does he know?". I wound up at "jeez the dude must \*only\* know how to write client-side web apps". Then I looked at the author and realized "I guess I was right. In the same way that Wayne Gretzky only knows how to play hockey"
null
0
1546059576
False
0
ecs7z7q
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs7z7q/
1548211976
44
t5_2fwo
r/programming
public
null
False
airflow_matt
t2_meh1h
Yes. Very much so. Those headers are totaling less than 1500 lines, and both bind and optional are pretty much fundamental. Whereas json for modern c++ is 15000 lines and asio is 110000 lines in header files.
null
0
1546059786
1546060660
0
ecs87dy
t3_aac4hg
null
null
t1_ecs7a80
/r/programming/comments/aac4hg/modern_c_lamentations/ecs87dy/
1548212077
13
t5_2fwo
r/programming
public
null
False
landline_number
t2_2ffun79t
Not always true. Two guys retired from my company this year who have not learned a new fucking thing in 30 years. Maybe that era is over but man, it worked out for these guys.
null
0
1546059867
False
0
ecs8aks
t3_aac4hg
null
null
t1_ecrq0fc
/r/programming/comments/aac4hg/modern_c_lamentations/ecs8aks/
1548212117
18
t5_2fwo
r/programming
public
null
False
nilukush
t2_agkst
Thanks, this helps
null
0
1546060053
False
0
ecs8hp8
t3_aabai1
null
null
t3_aabai1
/r/programming/comments/aabai1/fish_shell_30/ecs8hp8/
1548212207
1
t5_2fwo
r/programming
public
null
False
fragglet
t2_4esog
Fun indeed.
null
0
1546060219
False
0
ecs8o4x
t3_aac4hg
null
null
t1_ecrogyu
/r/programming/comments/aac4hg/modern_c_lamentations/ecs8o4x/
1548212286
35
t5_2fwo
r/programming
public
null
False
UnreasonableSteve
t2_6j6re
Why was your dad yelling at your puppy that your puppy was a mirror, more loudly than your dad was barking at said puppy?
null
0
1546060228
False
0
ecs8ohl
t3_aa91bp
null
null
t1_ecrzpgi
/r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecs8ohl/
1548212290
1
t5_2fwo
r/programming
public
null
False
atheist_apostate
t2_88cnt
I thought using loops was cheating, so I programmed my own using samples. I then thought using samples was cheating, so I recorded real drums. I then thought that programming it was cheating, so I learned to play drums for real. I then thought using bought drums was cheating, so I learned to make my own. I then thought using premade skins was cheating, so I killed a goat and skinned it. I then thought that that was cheating too, so I grew my own goat from a baby goat. I also think that is cheating, but I’m not sure where to go from here. I haven’t made any music lately, what with the goat farming and all.
null
0
1546060403
False
0
ecs8uwy
t3_aaco1d
null
null
t1_ecrqoh3
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs8uwy/
1548212369
39
t5_2fwo
r/programming
public
null
False
airflow_matt
t2_meh1h
I agree about the inlining. My only beef, returning to the beginning of the thread, was that using std::function in case where you don't actually need to copy the lambda is significantly less performant than something like scopedlambda/function\_view which are way faster, in some cases even zero overhead. I agree that in c++ 11 std::function being copyable did make sense. But we have now c++ 17 and and it's still not possible to have std::function lambda capturing unique\_ptr.
null
0
1546060412
False
0
ecs8v8h
t3_aac4hg
null
null
t1_ecs79oy
/r/programming/comments/aac4hg/modern_c_lamentations/ecs8v8h/
1548212402
2
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546060515
False
0
ecs8yw9
t3_aabai1
null
null
t1_ecra4sk
/r/programming/comments/aabai1/fish_shell_30/ecs8yw9/
1548212447
1
t5_2fwo
r/programming
public
null
False
air_thing
t2_dy1i4
Nah yoou're thinking of an old fake interview with Stroustrup about how he made C++ as a joke.
null
0
1546060521
False
0
ecs8z3x
t3_aac4hg
null
null
t1_ecrpuul
/r/programming/comments/aac4hg/modern_c_lamentations/ecs8z3x/
1548212450
21
t5_2fwo
r/programming
public
null
False
ryeguy
t2_3g15v
why are you the way that you are?
null
0
1546060630
False
0
ecs92zq
t3_aabai1
null
null
t1_ecra4sk
/r/programming/comments/aabai1/fish_shell_30/ecs92zq/
1548212498
32
t5_2fwo
r/programming
public
null
False
Gustav__Mahler
t2_fj9vu
And they shouldn't because they certainly do different things.
null
0
1546060666
False
0
ecs946m
t3_aac4hg
null
null
t1_ecrpqgs
/r/programming/comments/aac4hg/modern_c_lamentations/ecs946m/
1548212512
1
t5_2fwo
r/programming
public
null
False
Lt_Riza_Hawkeye
t2_yf0lh
Only if you're not using some of your templates at all....
null
0
1546060736
False
0
ecs96mh
t3_aac4hg
null
null
t1_ecrp6iu
/r/programming/comments/aac4hg/modern_c_lamentations/ecs96mh/
1548212543
6
t5_2fwo
r/programming
public
null
False
shinazueli
t2_dprsa
I work with a 25 year old code base for an embedded product written in C++. It includes a custom Linux kernel, custom allocator, custom everything. There are absolute constraints related to hardware in some of the lower level code. There's literally code written that I compile and use every day that was written by someone who is no longer alive. Lots of it. When we say "cognitive load" we mean "it is hard enough to figure it out when it's *just* old C++". A lesson that I teach juniors literally every day is that people with ten times their experience have tried new things over and over and that this is the best they've come up with, and if they want to try to replace it then they're in an uphill battle from the get go. The smarter ones realize it without being told: there's a very good chance that someone else already tried the design you're looking at, somewhere in the codebase. Look for it, and see what problems they ran into, and learn from it. If you can't find the design you're looking for, that's a big warning sign. It means that it was intentionally eradicated, and you should think long and hard about trying to introduce it. There are very good reasons to learn from the past. I've seen some of the most amazing and elegant constructions hidden away in different parts of the code. You *should be* resistant to change! If you think realistically, some of the smartest people around built the code you're working with. They implemented it, refactored it, fixed bugs, tested it, the whole nine yards. Why on Earth would you think that on your first attempt you'd end up with a better result? If you honestly think you can do a better job than dozens of your peers with more experience than you, then you're either arrogant or ignorant. The best you can almost ever do is an incremental improvement on their work. Finally, why wouldn't you think that some rules are just necessary. When you're working with other people they need to be able to quickly grok your work, and that means you need to follow standard patterns and styles. Nobody wants to reimplement your code because you couldn't be arsed to follow a convention, and they can't understand it because it doesn't follow any pattern. I don't want to read 6k LOC of your work line by line to understand what you did. I want to quickly scan the names of the major classes and functions and skim along because everything in it is familiar to me by style and pattern. It also helps debugging because if you follow the same pattern as dozens of other places in the code base then *any* deviation from the norm is both easily spotted and probably a bug. Basically, don't reinvent the wheel. You are not ten times smarter than your elders. Read, understand, copy. (in that exact order). You'll be fine.
null
0
1546060835
False
0
ecs9a0x
t3_aac4hg
null
null
t1_ecrx4l7
/r/programming/comments/aac4hg/modern_c_lamentations/ecs9a0x/
1548212584
7
t5_2fwo
r/programming
public
null
False
shawwwn
t2_12nqdn6d
Hi /r/programming. I'm facing a bit of a dilemma. I started a site using the same codebase as Hacker News, https://www.laarc.io/ The idea is that it's a cross between Reddit and HN, optimized for thoughtful conversation. Music is welcome, for example (https://www.laarc.io/l/music). Personally, I've been gathering interesting and educational videos (https://www.laarc.io/l/videos). The trouble is, I'm running out of ideas for how to promote it. The audience is small, but it's there, and growing slowly each day. But I have to continue coming up with ideas to enable growth, or else it'll dry up soon enough. At this point, I wanted to ask you directly what to do. The "smelting your own copper" comment kind of struck a chord with me, because if you're trying to take on the somewhat absurd task of launching a new community site, growing an audience is difficult. I was thinking that maybe people might find the tech stack interesting, since I had to make a lot of modifications to HN's old codebase to modernize it and to add a tagging system. https://github.com/shawwn/arc3.2/tree/ln Would the best bet be to do a blog post on that, then post it here? Does anyone have other ideas? (Is there a more appropriate subreddit for this type of question? Apologies if it's out of place here.) Thanks! EDIT: Yeah, this seems out of place here. Sorry about that.
null
0
1546060874
1546063006
0
ecs9bf0
t3_aaco1d
null
null
t1_ecrowlo
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs9bf0/
1548212601
-30
t5_2fwo
r/programming
public
null
False
IllegalThings
t2_51f3a
This is a simplistic view that helps demonstrate what monads do, but without getting too far into category theory its worth noting that a promise isn't technically a monad. To demonstrate this, look at the two pieces of code promise .then(function(x) { return foo(x) }) .then(function(x) { return bar(x) }); // And promise .then(function(x) { return bar(foo(x)) }); If promises were monads then these two pieces of code would be identical. Its totally possible that foo() would return a promise and bar() would optionally accept a promise, but without knowing the implementation you can't be certain. That would make the code effectively work the same (I say effectively, but under the hood the code would take different paths). The problem is that javascript is dynamically typed, so it isn't really possible to have a true monad. That said, the principle of what monads are used for is to wrap a generic type (success/failure, true/false, value/null) and write functions that can operate on those types without knowing the concrete type being wrapped. Effectively promises do this in javascript.
null
0
1546061050
False
0
ecs9i07
t3_aaco1d
null
null
t1_ecs0svi
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs9i07/
1548212683
3
t5_2fwo
r/programming
public
null
False
eskimoFry
t2_gxd2g
/s ?
null
0
1546061077
False
0
ecs9j0y
t3_aac4hg
null
null
t1_ecrogyu
/r/programming/comments/aac4hg/modern_c_lamentations/ecs9j0y/
1548212696
-2
t5_2fwo
r/programming
public
null
False
Robot_Basilisk
t2_11n0m68q
Try building your own gas chamber to dope the silicon wafers and the FBI will be at your door. *We'd like to know why you were trying to obtain chlorine trifluoride, a substance that can burn through concrete.*
null
0
1546061331
False
0
ecs9skf
t3_aaco1d
null
null
t1_ecrqoh3
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs9skf/
1548212812
9
t5_2fwo
r/programming
public
null
False
airflow_matt
t2_meh1h
No, I'm not arguing that passing a function via template argument makes debug build slower. I'm saying that with raw function pointers you are very unlikely to end up piling layer upon layer of zero const abstractions that will, in the end, result in debug build being 150 times slower than release build.
null
0
1546061452
False
0
ecs9x3p
t3_aac4hg
null
null
t1_ecs6ne2
/r/programming/comments/aac4hg/modern_c_lamentations/ecs9x3p/
1548212870
2
t5_2fwo
r/programming
public
null
False
thedancingpanda
t2_aafwq
Generally, you can build a full web app by yourself and not make yourself throw up looking at it in 3 months.
null
0
1546061645
False
0
ecsa47p
t3_aaco1d
null
null
t1_ecs7wh3
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsa47p/
1548212957
22
t5_2fwo
r/programming
public
null
False
joesii
t2_iog5a
> If the source was open. No, if the users' clients are sending keys out to a third party, that should be detectable even if it's closed source; one just needs to look for IP communication with other parties than the recipient. You were specifically talking about the client sending keys to a third party. Users could potentially override this sort of thing. There's the master key option I mentioned earlier, but it's not reliable to count on the client sending an encryption key to a third party if the user doesn't want that to happen (because like I said that way would be detectable/blockable).
null
0
1546061677
False
0
ecsa5dv
t3_a66102
null
null
t1_ebvnofa
/r/programming/comments/a66102/we_cant_include_a_backdoor_in_signal_signal/ecsa5dv/
1548213002
0
t5_2fwo
r/programming
public
null
False
RainbowGoddamnDash
t2_66227
Are you the guy from How To Make Everything? [He makes a drum with the leather he tanned](https://www.youtube.com/watch?v=9Un1tMklMBM)
null
0
1546061897
False
0
ecsadbb
t3_aaco1d
null
null
t1_ecs8uwy
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsadbb/
1548213099
2
t5_2fwo
r/programming
public
null
False
JuanGaKe
t2_11swxh
The guy knows what he doesn't know, which I think is an important part of fundamental / foundation knowledge too ;P
null
0
1546061985
False
0
ecsagnp
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsagnp/
1548213141
9
t5_2fwo
r/programming
public
null
False
OddCoincidence
t2_jotgc
Does it support ctrl-r / reverse-i-search yet? That's literally the only thing keeping me from dumping zsh for it.
null
0
1546062146
False
0
ecsamjl
t3_aabai1
null
null
t3_aabai1
/r/programming/comments/aabai1/fish_shell_30/ecsamjl/
1548213213
1
t5_2fwo
r/programming
public
null
False
google_you
t2_nc9gy
1. It gives you opportunity to lecture others about OOP and inheritance based design patterns so that you can feel great about yourself. 1. It gives you opportunity to get annoyed by how imperatively your coworkers write code so that you can feel great about yourself. 1. It gives you opportunity to get easy approval from others cause your code is OOP and perfect so that you can feel great about yourself. With code review, you don't need no facebook, instagram, github, ... etc to prove yourself. You are worthy and you shine in code reviews.
null
0
1546062256
False
0
ecsaqfe
t3_aaagix
null
null
t3_aaagix
/r/programming/comments/aaagix/why_review_code/ecsaqfe/
1548213260
4
t5_2fwo
r/programming
public
null
False
glaba314
t2_g0h7l
Is it bad that I have 16 upvotes on him when I check with RES
null
0
1546062453
False
0
ecsaxcl
t3_aaco1d
null
null
t1_ecrkcks
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsaxcl/
1548213346
-1
t5_2fwo
r/programming
public
null
False
[deleted]
None
Fuck c++ in all its variations
null
0
1546062486
False
0
ecsayk2
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecsayk2/
1548213361
-3
t5_2fwo
r/programming
public
null
False
mck1117
t2_ck43v
This is exactly why constexpr is a thing now. People wanted to be able to do more complicated work to precompute stuff at compile time, so constexpr lets you write pretty much complete working programs that execute at time, then have the result baked in. Especially useful for things like if-constexpr, so you can have what looks like an if statement actually be conditional compilation based on some condition.
null
0
1546062860
False
0
ecsbc0a
t3_aac4hg
null
null
t1_ecrjkf4
/r/programming/comments/aac4hg/modern_c_lamentations/ecsbc0a/
1548213528
6
t5_2fwo
r/programming
public
null
False
G00dAndPl3nty
t2_wcwq6
I hate CS psuedocode.
null
0
1546062920
False
0
ecsbe2x
t3_aag4a5
null
null
t3_aag4a5
/r/programming/comments/aag4a5/variation_of_the_pigeonhole_principle/ecsbe2x/
1548213554
-5
t5_2fwo
r/programming
public
null
False
enp2s0
t2_1qbbncb8
No, it's what happens when you pick an area and get good at it rather than trying to learn everything and sucking at all of it.
null
0
1546062954
False
0
ecsbf8y
t3_aaco1d
null
null
t1_ecs5erq
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsbf8y/
1548213569
13
t5_2fwo
r/programming
public
null
False
flexmuzik
t2_b8wez
> and not make yourself throw up looking at it in 3 months. Well then it looks like I’m not a developer at all.
null
0
1546063025
False
0
ecsbhqj
t3_aaco1d
null
null
t1_ecsa47p
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsbhqj/
1548213628
30
t5_2fwo
r/programming
public
null
False
Vexal
t2_39kv0
I feel like my greatest strength as a C++ programmer is that I’m not smart enough to do clever stuff with C++.
null
0
1546063249
False
0
ecsbpna
t3_aac4hg
null
null
t1_ecr8mp6
/r/programming/comments/aac4hg/modern_c_lamentations/ecsbpna/
1548213726
9
t5_2fwo
r/programming
public
null
False
[deleted]
None
[deleted]
null
0
1546063331
False
0
ecsbsgj
t3_aag4a5
null
null
t1_ecsbe2x
/r/programming/comments/aag4a5/variation_of_the_pigeonhole_principle/ecsbsgj/
1548213760
4
t5_2fwo
r/programming
public
null
False
Forty-Bot
t2_d9hso
Depending on what you work with, recursion comes up *all the time*. Whenever you are working with a tree structure, recursion is usually the most idiomatic way to manipulate it. More functional languages also make recursion much more idiomatic. A lot of "calculation"-style programs can be expressed easily using recursion. Of course, if you mostly work with imperative languages, or write programs which primarily move data around, then I suppose recursion could be "rarely seen."
null
0
1546063344
False
0
ecsbsx8
t3_aaco1d
null
null
t1_ecs5llh
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsbsx8/
1548213765
26
t5_2fwo
r/programming
public
null
False
flip314
t2_385hz
A monad is just a monoid in the category of endofunctors.
null
0
1546063507
False
0
ecsbyf5
t3_aai5ap
null
null
t3_aai5ap
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecsbyf5/
1548213834
126
t5_2fwo
r/programming
public
null
False
[deleted]
None
> they're orthogonal More like 45 degrees.
null
0
1546063649
False
0
ecsc3cu
t3_aaco1d
null
null
t1_ecrg2je
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsc3cu/
1548213894
-1
t5_2fwo
r/programming
public
null
False
unbyte
t2_22lgoksb
This is a great idea. Maybe I should make a list like this too. That said some of these items are pretty easy to learn. I recommend the OP to give just 1 day to learn one thing. You would be surprised at your progress.
null
0
1546063740
False
0
ecsc66a
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsc66a/
1548213929
3
t5_2fwo
r/programming
public
null
False
StormTAG
t2_5c88z
1) Learn enough buzzwords to be able to discuss a thing without actually knowing it. 2) Be unrelentingly fatalistic about work while simultaneously being a nice guy 3) Get hired by a large corporation where you can hide in the cracks and not actually deliver anything of value. 3a) If anyone calls you on why you haven’t made anything valuable, complain incessantly about everything
null
0
1546063855
False
0
ecsc9o9
t3_aaco1d
null
null
t1_ecs4ds6
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsc9o9/
1548213972
12
t5_2fwo
r/programming
public
null
False
ggtsu_00
t2_72fwy
Except D isn't suitable for large code-bases. (i.e. 32k symbol limit).
null
0
1546063865
False
0
ecsc9zp
t3_aac4hg
null
null
t1_ecrpkkm
/r/programming/comments/aac4hg/modern_c_lamentations/ecsc9zp/
1548213976
-5
t5_2fwo
r/programming
public
null
False
flexmuzik
t2_b8wez
50/50 It doesn’t make much sense to me, but maybe it’s straight forward for people more up to date with std.
null
0
1546063877
False
0
ecscad2
t3_aac4hg
null
null
t1_ecs9j0y
/r/programming/comments/aac4hg/modern_c_lamentations/ecscad2/
1548213980
9
t5_2fwo
r/programming
public
null
False
kankyo
t2_77w4q
Congrats!
null
0
1546063890
False
0
ecscarg
t3_a9yxp6
null
null
t1_ecoeejg
/r/programming/comments/a9yxp6/gitbatch_manage_all_of_your_git_repositories_in/ecscarg/
1548213985
1
t5_2fwo
r/programming
public
null
False
PM_ME_YOUR_PROOFS
t2_jo06e
I feel like not knowing the basics of networking, the basics of using C, and being far more proficient with algorithms disqualifies you from being a software engineer. I can come up with plenty of explanations for everything else like "is a .Net dev who works in pretty standard backed stuff" to explain the rest but some of this should just be basic stuff.
null
0
1546063946
False
0
ecsccei
t3_aaco1d
null
null
t3_aaco1d
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsccei/
1548214006
-9
t5_2fwo
r/programming
public
null
False
Zambalak
t2_nm9s7
I use a lot of lambdas in production code, but still can't write one from scratch. Copy paste every time.
null
0
1546063960
False
0
ecscctx
t3_aac4hg
null
null
t1_ecrdb2z
/r/programming/comments/aac4hg/modern_c_lamentations/ecscctx/
1548214011
5
t5_2fwo
r/programming
public
null
False
VernorVinge93
t2_2amyhthy
Imposter syndrome intensifies
null
0
1546064100
False
0
ecsch10
t3_aaco1d
null
null
t1_ecsc9o9
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecsch10/
1548214064
2
t5_2fwo
r/programming
public
null
False
metronome
t2_3s7g3
To be fair, you were probably going to get hired regardless of the interview outcome, they just had to tick the boxes for their HR process. I’m sure you did well anyway, don’t mean to imply you didn’t, but there was definitely bias in the hiring.
null
0
1546064127
False
0
ecschu2
t3_aaco1d
null
null
t1_ecrryxi
/r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecschu2/
1548214074
5
t5_2fwo
r/programming
public
null
False
ggtsu_00
t2_72fwy
Go can force you to check the error since unreferenced return values will result in a compile error. ie. result, err := DoStuff() If you don't put an if statement around err, you get a compile error.
null
0
1546064198
False
0
ecsck2p
t3_aa3qdm
null
null
t1_ecqpb7y
/r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecsck2p/
1548214101
0
t5_2fwo
r/programming
public
null
False
realnoobymcnoob
t2_29kety6r
To me, it's terrifying the push back that Eric received for his blog post. It's almost as if readers don't understand that he was showing you how the sausage is made, but the end result is the (pretty concise) \`yield\_if\` gibberish that is improved with the use of coroutines. Eric, if you see this, don't let this stuff get you down. Keep up the good work. I use your code every day.
null
1
1546064218
False
0
ecsckom
t3_aac4hg
null
null
t3_aac4hg
/r/programming/comments/aac4hg/modern_c_lamentations/ecsckom/
1548214109
2
t5_2fwo
r/programming
public
null
False
crs_0
t2_2vpk122j
I don't have that screen (yet?), but you inspired me to [make my own version](https://github.com/crsaracco/game-of-life). Eventually I want to try buying that screen and then trying to port that code to an embedded platform.
null
0
1546064399
False
0
ecscq16
t3_aa72q0
null
null
t3_aa72q0
/r/programming/comments/aa72q0/conways_game_of_life_wallshelf_decoration/ecscq16/
1548214204
3
t5_2fwo
r/programming
public
null
False
CSharpFan
t2_mrk30
Helpful!
null
0
1546064465
False
0
ecscrye
t3_aai5ap
null
null
t1_ecsbyf5
/r/programming/comments/aai5ap/what_is_a_monad_computerphile/ecscrye/
1548214228
30
t5_2fwo
r/programming
public
null