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 | decentralizedsadness | t2_14sefjlf | I believe webassembly is supported in all main browsers, however waiting for blazor 1.0 would be advisable. (https://caniuse.com/#feat=wasm) | null | 0 | 1544750302 | False | 0 | ebqkdb1 | t3_a5ssxk | null | null | t1_ebqcncz | /r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebqkdb1/ | 1547577480 | 3 | t5_2fwo | r/programming | public | null |
False | GoldenShackles | t2_4nif0 | Yeah, at least in the environment I work in, lambdas negatively impact debugging and our error reporting/collection and automated analysis mechanisms.
In addition we’ve been increasingly using lambdas for executing tasks on other threads (either thread pool, or a specific target thread) where lifetime management sometimes becomes interesting.
These types of issues can be overcome with some best practices, but let’s not pretend that a FNG should be randomly adding lambdas to 15-20 year old complex, multi-threaded C++ code without following good guidelines and reviewed by more experienced developers. | null | 0 | 1546052029 | False | 0 | ecrzly1 | t3_aac4hg | null | null | t1_ecrnwan | /r/programming/comments/aac4hg/modern_c_lamentations/ecrzly1/ | 1548208052 | 16 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544750544 | False | 0 | ebqknbs | t3_a5sg9k | null | null | t1_ebqirvw | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqknbs/ | 1547577635 | 1 | t5_2fwo | r/programming | public | null |
False | Yawzheek | t2_16t2un | Things I don't know as of 2018: most everything.
Things I'm working on knowing as of 2019: the rest of that stuff.
Chances that this will be the same thing at the end of 2019 until I stop breathing? 100%.
You never really stop learning. | null | 0 | 1546052076 | False | 0 | ecrznq1 | t3_aaco1d | null | null | t3_aaco1d | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecrznq1/ | 1548208073 | 2 | t5_2fwo | r/programming | public | null |
False | mrneo240 | t2_4v5pk | Hayden Kowalchuk, mrneo240, NeoDC are all fine. I can try and dig up some more sources for a couple of the more obscures, but at first glance that's all I could find.
| null | 0 | 1544750565 | False | 0 | ebqko59 | t3_a55xbm | null | null | t1_ebqcdkk | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebqko59/ | 1547577645 | 2 | t5_2fwo | r/programming | public | null |
False | Aiognim | t2_9tv5j | -This comment was made when I was asleep- | null | 0 | 1546052121 | 1546150207 | 0 | ecrzpgi | t3_aa91bp | null | null | t1_ecqqcua | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecrzpgi/ | 1548208095 | 1 | t5_2fwo | r/programming | public | null |
False | ThisIs_MyName | t2_f3gm5 | That was boring. Who is upvoting this crap? | null | 1 | 1544751138 | False | 0 | ebqlbwj | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqlbwj/ | 1547577943 | 3 | t5_2fwo | r/programming | public | null |
False | wikwikwik | t2_2rjyrp4o | Everything depends on the engineering manager in question. Some will be and some won't be. Isn't this obvious? | null | 0 | 1546052140 | False | 0 | ecrzq6r | t3_aaagix | null | null | t1_ecryek1 | /r/programming/comments/aaagix/why_review_code/ecrzq6r/ | 1548208104 | 2 | t5_2fwo | r/programming | public | null |
False | ThisIs_MyName | t2_f3gm5 | No, that's the kind of thinking that led to shell scripts. | null | 0 | 1544751203 | False | 0 | ebqleqr | t3_a5sg9k | null | null | t1_ebpk4sq | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqleqr/ | 1547577978 | 1 | t5_2fwo | r/programming | public | null |
False | michiganrag | t2_3g6c1 | Can’t you just use a for-loop or while-loop to do that exact thing? I haven’t used C++ in years, but that’s how we do it in Java. Stopping a piece of code when a certain number reaches 100 should be a trivial task, literally coding 101 for a feature baked into the language standard library... how is that complicated? the triangle tripling I have no idea though. | null | 0 | 1546052147 | False | 0 | ecrzqgl | t3_aac4hg | null | null | t1_ecqp2wu | /r/programming/comments/aac4hg/modern_c_lamentations/ecrzqgl/ | 1548208109 | 3 | t5_2fwo | r/programming | public | null |
False | CrippledEye | t2_asqlv7v | The one thing missing for me is the ability to integrate with WSL's python venv.
The only stable way to do that, apart from setting up XServer I believe, is to install the same stuff on both WSL and native environment which is not that ideal. I hope they do that some time, it's a killer feature for people like me who uses WSL frequently. There's a github request from two years ago I believe and it's still in progress for some reason (maybe the problem lies in WSL?) | null | 0 | 1544751387 | False | 0 | ebqlmpv | t3_a5mk9z | null | null | t1_ebo1lb3 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqlmpv/ | 1547578076 | 1 | t5_2fwo | r/programming | public | null |
False | nilukush | t2_agkst | I am using zsh. Why should I switch to fish | null | 0 | 1546052342 | False | 0 | ecrzy7l | t3_aabai1 | null | null | t3_aabai1 | /r/programming/comments/aabai1/fish_shell_30/ecrzy7l/ | 1548208233 | 2 | t5_2fwo | r/programming | public | null |
False | HeadAche2012 | t2_873xv | Why does Java change all the time and what happens to code bases that need older insecure JVM’s? | null | 0 | 1544751668 | False | 0 | ebqly87 | t3_a5umpk | null | null | t3_a5umpk | /r/programming/comments/a5umpk/10_new_features_in_java_11/ebqly87/ | 1547578242 | -2 | t5_2fwo | r/programming | public | null |
False | shenglong | t2_2nn6w | > The whole point is either you did not write what you intended to, or what you intended was wrong.
Really? How did you know it was wrong? *Because I told you so*, or *because you could infer it from the code*?
If you do not understand these basics, please stop trying to justify your reasoning. You are completely missing the point. As I told you from the start. Please gain some insight and experience before trying to argue against patently obvious statements. You are trying to exercise First Year programming techniques over examples that they do not teach you at higher level institutions simply because you have never encountered them before - these courses are aimed at you to get you interested in the theory, but firstly - they do not prepare you for the real world, and more importantly *they do not teach you how to handle these things*. There is a very good reason companies like NASA/JPL adopt these methodologies - and this probably happened way before you even learned about programming. What you learn about in text books and "toy programming" is not adequate for safety-critical systems. Your post-reasoning means absolutely nothing *after* an error has occurred. **It does not matter if something was documented in a way that you did not understand** <- Think about this statement very deeply. In safety-critical systems, the name means all - **safety**-critical. | null | 0 | 1546052365 | 1546054294 | 0 | ecrzz5j | t3_aa3qdm | null | null | t1_ecre3gh | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecrzz5j/ | 1548208244 | 1 | t5_2fwo | r/programming | public | null |
False | xelf | t2_3k2at | assorted fish plate (no shrimps) $19.99 add salad, extra $6.99 | null | 0 | 1544751670 | False | 0 | ebqlybj | t3_a5sg9k | null | null | t1_ebp70qo | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqlybj/ | 1547578242 | 50 | t5_2fwo | r/programming | public | null |
False | AbstractProxyFactory | t2_1776ny | What? There's nothing intrinsically "correct" about 0 indexing. It makes sense when thinking of an array as an offset from a base memory address, but when thinking about collections/items as discrete "things" in a container rather than a pointer to an offset, starting with the index at 1 makes much more sense. There are arguments both ways. | null | 0 | 1546052625 | False | 0 | ecs09fy | t3_aabai1 | null | null | t1_ecqsgm7 | /r/programming/comments/aabai1/fish_shell_30/ecs09fy/ | 1548208372 | 12 | t5_2fwo | r/programming | public | null |
False | Glader_BoomaNation | t2_2yw3t45 | How is what he said related to the redesign?? | null | 0 | 1544751762 | False | 0 | ebqm24t | t3_a5gx0c | null | null | t1_ebomit7 | /r/programming/comments/a5gx0c/how_reddit_ranking_algorithms_work_hacking_and/ebqm24t/ | 1547578290 | 1 | t5_2fwo | r/programming | public | null |
False | shenglong | t2_2nn6w | Thank you for your very valuable input to this discussion, FG_Regulus. | null | 0 | 1546052655 | False | 0 | ecs0amd | t3_aa3qdm | null | null | t1_ecrggvg | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecs0amd/ | 1548208386 | -1 | t5_2fwo | r/programming | public | null |
False | PikaTools | t2_xh4rw | Search better ¯\\\_(ツ)_/¯ | null | 0 | 1544751787 | False | 0 | ebqm368 | t3_a5mk9z | null | null | t1_ebosahv | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqm368/ | 1547578303 | 1 | t5_2fwo | r/programming | public | null |
False | airflow_matt | t2_meh1h | >If you are referring to the function\_ref itself, it will not be inlined unless the function accepting the function\_ref argument is inlined.
I don't quite understand how this is relevant. When the function is inlined, function\_view is a [zero cost abstraction](https://godbolt.org/z/mU4gOo) just like templatized function. And if this works while inlining during LTO (edit: seems unlikely, but perhaps eventually possible), then it is already much better than using templatized function as it doesn't need to be instantiated over and over again.
Still, even in case when it's not inlined, the overhead is [significantly](https://vittorioromeo.info/index/blog/passing_functions_to_functions.html#benchmark---generated-assembly) smaller than std::function.
>In my entire codebase I've captured non-copyable objects by value zero times.
That's hardly surprising, given that it's not possible to capture non-copyable objects by value. If you use std::function for short-lived lambdas and capture non copyable objects by references, good for you. Our object lifecycles are bit more complicated and being able to move non copyable objects between lambdas is essential. | null | 0 | 1546052800 | 1546054499 | 0 | ecs0gb8 | t3_aac4hg | null | null | t1_ecrv82b | /r/programming/comments/aac4hg/modern_c_lamentations/ecs0gb8/ | 1548208457 | 2 | t5_2fwo | r/programming | public | null |
False | JeSuisNerd | t2_68l04 | Oh man, I definitely recommend [ack](https://beyondgrep.com/) for your last use there, its primary focus is improving grep specifically for searching through code, though it also serves as a compatible grep replacement with line numbers and excellent highlighting.
$ ack 'screenhack' mystify/
mystify/screenhack.h
15:#include "screenhackI.h"
mystify/mystify.c
23:#include "screenhack.h" | null | 0 | 1544751809 | 1544752207 | 0 | ebqm44a | t3_a5sg9k | null | null | t1_ebpkiab | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqm44a/ | 1547578315 | 2 | t5_2fwo | r/programming | public | null |
False | sou-ght | t2_f1fu5 | I tried it a couple years ago and there was so much ansi color and cursor movement fanciness that it was unusable. I'd just hope for some config switches to turn off the fancy stuff. | null | 0 | 1546052805 | False | 0 | ecs0giz | t3_aabai1 | null | null | t1_ecrz49j | /r/programming/comments/aabai1/fish_shell_30/ecs0giz/ | 1548208460 | 2 | t5_2fwo | r/programming | public | null |
False | theoldboy | t2_5n3yf | I have no doubt that Ada is a safer language than C (not hard) but this seems like a poor example.
For a start, the given root cause of brackets not being enforced in C is prevented by numerous other languages too (including BASIC, which that Ada code looks a lot like).
> One popular shortcut missing from Ada is the ability to test the result of a function simultaneously with the assignment of that function's result to a variable. We see this here, with distinct (and yes, verbose) try and test blocks for each hash operation. Like nearly everything in Ada, this is deliberate. Separating assignment from evaluation like this aids readability, and prevents unintentional side-effects.
So what about this type of copy paste or merge error then?
Ret_Error := SSL_Hash_SHA1.Update (Hash_Ctx, Client_Random);
Ret_Error := SSL_Hash_SHA1.Update (Hash_Ctx, Signed_Params);
if Ret_Error /= OK then
goto Fail;
end if;
And if the answer is that the compiler would warn about an unused assignment, well any decent C compiler would too, just like it would give an unreachable code warning for the original error.
| null | 0 | 1544752113 | False | 0 | ebqmgs6 | t3_a5ylm8 | null | null | t3_a5ylm8 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqmgs6/ | 1547578472 | 13 | t5_2fwo | r/programming | public | null |
False | shenglong | t2_2nn6w | Yes, thank you for your LITERAL STATEMENT explaining about that you don't know how code doesn't work in the real world.
Now, when you wake up tomorrow and you want me to explain how UNIT TESTS don't catch the classes of bugs that MISSION CRITICAL code seeks to avoid, do send me a private message, and I shall enlighten you with a REAL WORLD EXAMPLE. | null | 0 | 1546052807 | False | 0 | ecs0gld | t3_aa3qdm | null | null | t1_ecrfv46 | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecs0gld/ | 1548208460 | -1 | t5_2fwo | r/programming | public | null |
False | papertowelroll17 | t2_ywfyrs | Meh, so pay this guy 2x what the other companies are asking and he'll think of all the things and get them done?
I'm certainly skeptical of contract software for various other reasons, but *do the simplest thing that can possibly work* is good design. You don't make software projects cheaper or better by being more thorough in the planning phase, you achieve that by not building shit that you don't need and doing your best to avoid making simple problems complicated. | null | 0 | 1544752264 | False | 0 | ebqmn8j | t3_a5y50c | null | null | t3_a5y50c | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebqmn8j/ | 1547578551 | 60 | t5_2fwo | r/programming | public | null |
False | runvnc | t2_57eit | What I think happened is people figured out how to write straightforward C++ and started ignoring those guys who were adding weird shit to C++. So they invented Rust. | null | 0 | 1546052831 | False | 0 | ecs0hk0 | t3_aac4hg | null | null | t1_ecrpuul | /r/programming/comments/aac4hg/modern_c_lamentations/ecs0hk0/ | 1548208472 | -4 | t5_2fwo | r/programming | public | null |
False | xor_Kernel_Kernel | t2_1be454o6 | Oh the language ada, i thought you meant the disassembly tool. | null | 0 | 1544752615 | False | 0 | ebqn21r | t3_a5ylm8 | null | null | t3_a5ylm8 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqn21r/ | 1547578736 | -6 | t5_2fwo | r/programming | public | null |
False | policjant | t2_1424qkjz | Lot of people don't like the new website. I think it's alright now, but it was horrible when it took over 9 seconds to load on a 100mbit/s connection. | null | 0 | 1546052868 | False | 0 | ecs0izc | t3_a9zyp3 | null | null | t1_ecqs9x6 | /r/programming/comments/a9zyp3/thoughts_on_rust_in_2019/ecs0izc/ | 1548208489 | 1 | t5_2fwo | r/programming | public | null |
False | Brillegeit | t2_5q0j1 | > dependency on his fork
On the... shrimp fork? | null | 0 | 1544752622 | False | 0 | ebqn2d4 | t3_a5sg9k | null | null | t1_ebpknav | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqn2d4/ | 1547578740 | 3 | t5_2fwo | r/programming | public | null |
False | IAmARobot | t2_36sv9 | Regarding the bit about include hell... I'm super shit at c/c++, but the thing I liked from python was being able to import *exactly* what you needed, "from libraryx import functiony" instead of importing an entire library, just the bits I needed. Or like those javascript libraries that have a website that lets you pick and choose what things you need before giving you a packed version to download and use. | null | 0 | 1546052882 | False | 0 | ecs0jir | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecs0jir/ | 1548208496 | 1 | t5_2fwo | r/programming | public | null |
False | vlaaivlaai | t2_1w31csv0 | I personally love that feature, makes typing feel so much more fluid, and not as "stuttering".
I guess it's super dependant on taste. | null | 0 | 1544752623 | False | 0 | ebqn2f1 | t3_a5mk9z | null | null | t1_ebp7dsq | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqn2f1/ | 1547578741 | 2 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546052973 | False | 0 | ecs0n67 | t3_aaagix | null | null | t1_ecrzq6r | /r/programming/comments/aaagix/why_review_code/ecs0n67/ | 1548208542 | 2 | t5_2fwo | r/programming | public | null |
False | singlelinelabyrinth | t2_2g41zjup | The XKCD version is the subset sum problem and the 'maximizing total mass' version is the knapsack problem; both are NP-complete. It's actually kind of shocking how many problems turn out to be np-complete; basically if you have <a set of things> that might or might not satisfy <some condition, possibly being a maximum> when put through <some function> it seems like half the time it turns out to be NP-complete. Add constraints to taste. | null | 0 | 1544753382 | False | 0 | ebqnxsl | t3_a5sg9k | null | null | t1_ebqgj4q | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqnxsl/ | 1547579159 | 16 | t5_2fwo | r/programming | public | null |
False | AbstractProxyFactory | t2_1776ny | I think they've solved most of the wonkiness but it has historically been a pain point for sure. | null | 0 | 1546052997 | False | 0 | ecs0o3n | t3_aabai1 | null | null | t1_ecrqxri | /r/programming/comments/aabai1/fish_shell_30/ecs0o3n/ | 1548208553 | 3 | t5_2fwo | r/programming | public | null |
False | CameronNemo | t2_91j1q | > cat
> gigabytes
I really want to know what implementation of cat you have. | null | 0 | 1544753480 | False | 0 | ebqo1zh | t3_a5sg9k | null | null | t1_ebpk4sq | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqo1zh/ | 1547579210 | 1 | t5_2fwo | r/programming | public | null |
False | Ameisen | t2_5qad2 | > Because most of the time during development you're running debug builds. If debug build is 150 times slower (like the example in article) then it becomes downright unusable. And debugging optimized code is not exactly a great experience.
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.
> I'm pretty sure that's [not true](https://godbolt.org/z/q-R8-s).
That's not a function pointer. You... pretty much just passed it a pointer to a struct that is wrapping a function, effectively... which the compiler will be able to reason about more effectively than a function pointer, as the prototype for the 'Lambda' type will contain the context necessary, and *no* other lambda will ever match that type exactly. You've effectively just added a pointless level of indirection to passing a function by template argument, but one that the compiler can trivially elide. Lambda expressions effectively become hidden/anonymous structures that wrap the function and any captured variables (thus why `std::function` works, and why you can also push lambdas onto command buffers). You've passed a pointer to said structure, which is a unique structure for that lambda. If you didn't pass a pointer, you'd have passed a reference instead implicitly. Doesn't make a huge difference.
In very trivial cases, the compiler can still inline, [as shown here](https://godbolt.org/z/kGOqCA). However, this is a fully encapsulated translation unit - it is not difficult for the compiler to reason about what is possible. What if you set up situations where the optimizer cannot trivially infer what the function pointer is at the time of calling? At the time of passing? Your initial version, and the simpler version that removes the pointer part, provides *full* context to the compiler about what's being passed to `Widget` - the semantics of the function are known via the unique data type, be it a lambda or an explicit, direct function pointer. They are not automatically known in the situation where you are passing a raw function pointer, as the function's semantics are not passed in that situation. The inliner may be able to figure it out, it may not be able to.
See my [examples here](https://godbolt.org/z/YeHevR). I've fully commented all three examples. Source #1 and #2 are two variants of function pointers. #3 is a template parameter function. Note the code difference. For extra fun, add `__attribute__((const))` and see the program break horribly. | null | 0 | 1546053068 | False | 0 | ecs0qy0 | t3_aac4hg | null | null | t1_ecrtug9 | /r/programming/comments/aac4hg/modern_c_lamentations/ecs0qy0/ | 1548208588 | 11 | t5_2fwo | r/programming | public | null |
False | rlbond86 | t2_436ic | A unit test also would have caught this. Or just a programmer who didn't try to be clever. | null | 0 | 1544753585 | False | 0 | ebqo6c9 | t3_a5ylm8 | null | null | t3_a5ylm8 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqo6c9/ | 1547579265 | -9 | t5_2fwo | r/programming | public | null |
False | salbris | t2_3qo9i | Hopefully it's accurate but my friend once described Javascript Promises as a Monad. Which with my own limited researched helped me wrap my head around them. Assuming what I've learned is correct it seems a Monad is a system in which you can wrap types/values inside something and express those types/values within the systems rules.
So for promises you can affective wrap anything (async code, a simple value, an object, etc) inside a promise which has it's own interface (resolve and reject, sometimes error). | null | 0 | 1546053116 | False | 0 | ecs0svi | t3_aaco1d | null | null | t1_ecrukgk | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs0svi/ | 1548208613 | 3 | t5_2fwo | r/programming | public | null |
False | CameronNemo | t2_91j1q | I think I've found love. | null | 0 | 1544753720 | False | 0 | ebqoc4t | t3_a5sg9k | null | null | t1_ebp32of | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqoc4t/ | 1547579336 | 1 | t5_2fwo | r/programming | public | null |
False | AbstractProxyFactory | t2_1776ny | If you're comfortable with zsh, not much, but fish provides all the same benefits out of zsh the box and has a much nicer configuration pattern. I believe the project is better written and maintained.
The big argument against it would be that it's not a POSIX shell, so you can't copy paste things and expect them to work. But (a). you shouldn't do that anyway, and (b). the `&&`/`||` changes solve like 99% of one liners you'd realistically want to copy paste anyway.
I still write tons of bash, but that's only when I'm doing something that needs to be versioned in git and portable. | null | 0 | 1546053171 | False | 0 | ecs0v02 | t3_aabai1 | null | null | t1_ecrzy7l | /r/programming/comments/aabai1/fish_shell_30/ecs0v02/ | 1548208639 | 7 | t5_2fwo | r/programming | public | null |
False | Eirenarch | t2_46hjd | Web assembly is supported but to achieve good results Blazor needs a bunch of upcoming wasm features like the object model and the GC integration. Without them Blazor is slower and needs to ship larger files to the browser. | null | 0 | 1544753838 | False | 0 | ebqoh06 | t3_a5ssxk | null | null | t1_ebqkdb1 | /r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebqoh06/ | 1547579422 | 3 | t5_2fwo | r/programming | public | null |
False | salbris | t2_3qo9i | I'm learning it now because another developer joined our team and his knowledge of it helped give us the boost we need to make it apart of our processes. I tried learning it maybe 4 years ago but back then almost no libraries actually had definition files available so it was a huge uphill battle to use it in anything serious. Nowadays it seems every major library has definitions now. | null | 0 | 1546053275 | False | 0 | ecs0z4x | t3_aaco1d | null | null | t1_ecrsgqk | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs0z4x/ | 1548208690 | 1 | t5_2fwo | r/programming | public | null |
False | decentralizedsadness | t2_14sefjlf | Ah yes that’s a good point. | null | 0 | 1544753949 | False | 0 | ebqoloz | t3_a5ssxk | null | null | t1_ebqoh06 | /r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebqoloz/ | 1547579480 | 2 | t5_2fwo | r/programming | public | null |
False | JNighthawk | t2_5w925 | > Like, AFAIR, 2 different lambdas with the same signature and return type don't have the same type.
When does that detail really ever matter? They'll bind to the same std::function just fine. | null | 0 | 1546053313 | False | 0 | ecs10nj | t3_aac4hg | null | null | t1_ecrpqgs | /r/programming/comments/aac4hg/modern_c_lamentations/ecs10nj/ | 1548208708 | 6 | t5_2fwo | r/programming | public | null |
False | catherinemcgee | t2_27hy62dm | This is so fucking cool. | null | 0 | 1544753979 | False | 0 | ebqomy8 | t3_a5u5dc | null | null | t3_a5u5dc | /r/programming/comments/a5u5dc/helping_blind_people_learn_to_code/ebqomy8/ | 1547579495 | 1 | t5_2fwo | r/programming | public | null |
False | salbris | t2_3qo9i | More importantly, it's understanding everything outside of "programming" that is still connected to it. Like collecting and understand requirements or debugging. | null | 0 | 1546053324 | False | 0 | ecs111j | t3_aaco1d | null | null | t1_ecrljiw | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs111j/ | 1548208713 | 6 | t5_2fwo | r/programming | public | null |
False | nathreed | t2_ccimz | Braces around all blocks, no matter the length, are definitely the way to go. It's one extra character to type assuming your editor/IDE closes them for you, and it saves effort if you want to go back and add more lines to the block later. Plus the brackets make it a lot easier for me to delineate blocks as I read the code. Why should we use brackets for some blocks and not others? It just makes more sense to me consistency wise to use brackets everywhere, and the extra code safety is just an added benefit. | null | 0 | 1544754126 | False | 0 | ebqotad | t3_a5ylm8 | null | null | t1_ebqcdwq | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqotad/ | 1547579573 | 26 | t5_2fwo | r/programming | public | null |
False | turbov21 | t2_32tmh | Muon to table. | null | 0 | 1546053379 | False | 0 | ecs135h | t3_aaco1d | null | null | t1_ecryof7 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs135h/ | 1548208739 | 35 | t5_2fwo | r/programming | public | null |
False | TrepidEd0601 | t2_3crcb9s | I actually did grow up in Japan, but I spent some time abroad when I was in elementary school, so I was lucky enough to pick up English :) | null | 0 | 1544754445 | False | 0 | ebqp6t9 | t3_a5s9a7 | null | null | t1_ebpa1af | /r/programming/comments/a5s9a7/planning_to_start_a_stream_for_people_who_want_to/ebqp6t9/ | 1547579740 | 1 | t5_2fwo | r/programming | public | null |
False | wikwikwik | t2_2rjyrp4o | Not using stereotypes and evaluating people as individuals may prove useful. | null | 0 | 1546053403 | False | 0 | ecs143u | t3_aaagix | null | null | t1_ecs0n67 | /r/programming/comments/aaagix/why_review_code/ecs143u/ | 1548208751 | 2 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | They are not arguing that Ada is the only language that doesn't fail this test, only that it is a language that doesn't fail this test. | null | 0 | 1544754611 | False | 0 | ebqpdrw | t3_a5ylm8 | null | null | t1_ebqmgs6 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqpdrw/ | 1547579827 | 12 | t5_2fwo | r/programming | public | null |
False | FG_Regulus | t2_aybf9 | You're welcome? | null | 0 | 1546053438 | False | 0 | ecs15j8 | t3_aa3qdm | null | null | t1_ecs0amd | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecs15j8/ | 1548208769 | 1 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | You presume too much. A unit test might have caught it, or they might have forgotten to test that particular branch. | null | 0 | 1544754805 | False | 0 | ebqpluo | t3_a5ylm8 | null | null | t1_ebqo6c9 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqpluo/ | 1547579926 | 9 | t5_2fwo | r/programming | public | null |
False | HiTimesHi | t2_1ymwz81 | Once he said he didn’t really know C I closed the tab. Imagine a developer who doesn’t know assembly or C writing an article about himself that starts about how even the greatest experienced developers don’t know everything. Yeah. Tell me more about how you’ve discovered even you don’t know everything on your self important blog. | null | 0 | 1546053449 | False | 0 | ecs1608 | t3_aaco1d | null | null | t3_aaco1d | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs1608/ | 1548208803 | -27 | t5_2fwo | r/programming | public | null |
False | grauenwolf | t2_570j | Not in my mind. Dead code detection would have easily caught this error. And goto shouldn't have been
That said, I think we would be better off with single line if statements instead of the two lines we have now. | null | 0 | 1544755074 | 1544755310 | 0 | ebqpx5e | t3_a5ylm8 | null | null | t1_ebqcdwq | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqpx5e/ | 1547580095 | -4 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546053552 | False | 0 | ecs1a2f | t3_aac4hg | null | null | t1_ecs0hk0 | /r/programming/comments/aac4hg/modern_c_lamentations/ecs1a2f/ | 1548208852 | -6 | t5_2fwo | r/programming | public | null |
False | Vexal | t2_39kv0 | you were technically correct. the second best kind of correct. | null | 0 | 1544755108 | False | 0 | ebqpyma | t3_a5mk9z | null | null | t1_ebqexl6 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqpyma/ | 1547580114 | 5 | t5_2fwo | r/programming | public | null |
False | Drisku11 | t2_bg6v5 | I'm telling you that I obviously can't infer from that code alone whether there's a bug, and that adding redundant else clauses does not change that. In real code, it just distracts me from thinking about the actual business logic by putting useless, annoying noise in the middle of the code, and makes it harder to see the overall flow at a glance because it wastes vertical space. | null | 0 | 1546053645 | False | 0 | ecs1dt8 | t3_aa3qdm | null | null | t1_ecrzz5j | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecs1dt8/ | 1548208900 | 1 | t5_2fwo | r/programming | public | null |
False | zqvt | t2_18uf4vq | the much more straight forward solution would be to simply fire up both existing servers and forward the results to the completion frontend, the same way backends work for company in emacs. | null | 0 | 1544755559 | False | 0 | ebqqhba | t3_a5mk9z | null | null | t1_eborv8k | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqqhba/ | 1547580344 | 1 | t5_2fwo | r/programming | public | null |
False | tasminima | t2_q2mvk9r | It is impossible to inline a function unless its body is available (or you do LTO), but that is a quite obvious and trivial remark... | null | 1 | 1546053768 | False | 0 | ecs1ihp | t3_aac4hg | null | null | t1_ecrz1fd | /r/programming/comments/aac4hg/modern_c_lamentations/ecs1ihp/ | 1548208958 | 0 | t5_2fwo | r/programming | public | null |
False | Roachmeister | t2_142yp4 | > since the third goto statement is unconditionally executed
It's the fifth goto statement | null | 0 | 1544755603 | False | 0 | ebqqj38 | t3_a5ylm8 | null | null | t3_a5ylm8 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqqj38/ | 1547580366 | 9 | t5_2fwo | r/programming | public | null |
False | _djsavvy_ | t2_13m2l5 | Solid read. Thanks for that link. | null | 0 | 1546053830 | False | 0 | ecs1kyl | t3_aac4hg | null | null | t1_ecrlcb9 | /r/programming/comments/aac4hg/modern_c_lamentations/ecs1kyl/ | 1548208989 | 4 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544755780 | False | 0 | ebqqq5q | t3_a5ylm8 | null | null | t3_a5ylm8 | /r/programming/comments/a5ylm8/should_have_used_ada_1_how_some_famous/ebqqq5q/ | 1547580453 | 7 | t5_2fwo | r/programming | public | null |
False | GamerLeFay | t2_13bgld | Right, but they mean that the C libraries are going to take and return standard C types, so you can either just resign to using C types throughout your code, or converting back and forth between them every time you use C code (which may be infeasible if a big part of your code is devoted to it). | null | 0 | 1546053858 | False | 0 | ecs1m2f | t3_aac4hg | null | null | t1_ecrvrqv | /r/programming/comments/aac4hg/modern_c_lamentations/ecs1m2f/ | 1548209002 | 15 | t5_2fwo | r/programming | public | null |
False | Vexal | t2_39kv0 | he’s probably a PM. | null | 0 | 1544755874 | False | 0 | ebqqtzx | t3_a5umpk | null | null | t1_ebpvvb9 | /r/programming/comments/a5umpk/10_new_features_in_java_11/ebqqtzx/ | 1547580500 | 10 | t5_2fwo | r/programming | public | null |
False | shenglong | t2_2nn6w | > I'm telling you that I obviously can't infer from that code alone whether there's a bug
Really? So why could you infer from the code that returns a boolean that there's no bug? Please share this deep insight with me.
> adding redundant else clauses does not change that.
Which redundant else clauses were added to that code? Wait... are you referring to the code that *you* added?
Sorry, I'm really confused right now? What are you trying to say?
| null | 0 | 1546053968 | 1546059553 | 0 | ecs1qit | t3_aa3qdm | null | null | t1_ecs1dt8 | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecs1qit/ | 1548209057 | 1 | t5_2fwo | r/programming | public | null |
False | remy_porter | t2_ah6md | Because web browsers are on every platform, so despite the fact that they offer a UI model utterly unsuited to building UIs, they're the default.
Oh, this article was about process? Yeah, I stand by what I said. | null | 0 | 1544755895 | False | 0 | ebqquu4 | t3_a5y50c | null | null | t3_a5y50c | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebqquu4/ | 1547580510 | 13 | t5_2fwo | r/programming | public | null |
False | tasminima | t2_q2mvk9r | > What if you set up situations where the optimizer cannot trivially infer what the function pointer is at the time of calling? At the time of passing?
So now you want to compare completely different situations?
Of course you are not going to inline random static code if said code can not be determined. | null | 0 | 1546053975 | False | 0 | ecs1qsr | t3_aac4hg | null | null | t1_ecs0qy0 | /r/programming/comments/aac4hg/modern_c_lamentations/ecs1qsr/ | 1548209060 | 0 | t5_2fwo | r/programming | public | null |
False | s73v3r | t2_3c7qc | It's good design until it isn't. These things almost always change, and building a system that isn't flexible to change is much simpler than one that is. | null | 0 | 1544755998 | False | 0 | ebqqz3k | t3_a5y50c | null | null | t1_ebqmn8j | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebqqz3k/ | 1547580564 | 34 | t5_2fwo | r/programming | public | null |
False | Creris | t2_owuu8 | because iterators in C++ are not lazy per se, what if I want to iterate over numbers from 1 to infinity, what are you going to iterate over? you certainly arent going to be iterating over vector of numbers | null | 1 | 1546054122 | False | 0 | ecs1wpk | t3_aac4hg | null | null | t1_ecraqyj | /r/programming/comments/aac4hg/modern_c_lamentations/ecs1wpk/ | 1548209133 | 0 | t5_2fwo | r/programming | public | null |
False | ander_bsd | t2_mrrn82w | awk can do grep. | null | 0 | 1544756049 | False | 0 | ebqr175 | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqr175/ | 1547580619 | 1 | t5_2fwo | r/programming | public | null |
False | AbstractProxyFactory | t2_1776ny | Java can be fast too, though. We use Java for some latency sensitive stuff, and it performs really well. Java still sucks for anything highly computational (at least until it gets value types), but for anything that is IO bound, it can be really, really fast. For highly concurrent, distributed architecture, it's waaay nicer to work in a higher level language.
Even though the JIT can do some incredible stuff, the tradeoff for using Java is that it requires a hilarious amount of memory. For some applications, like ours, that's fine, and we can give the JVM enough resources that GC latency is within an acceptable tolerance. For other applications, that would be a deal breaker, which is where C++ shines. | null | 0 | 1546054365 | False | 0 | ecs26p9 | t3_aac4hg | null | null | t1_ecrwf1w | /r/programming/comments/aac4hg/modern_c_lamentations/ecs26p9/ | 1548209258 | 10 | t5_2fwo | r/programming | public | null |
False | ander_bsd | t2_mrrn82w | Ruby and Python would be a multiline appoach. | null | 0 | 1544756223 | False | 0 | ebqr89y | t3_a5sg9k | null | null | t1_ebpshg6 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqr89y/ | 1547580706 | 1 | t5_2fwo | r/programming | public | null |
False | huhthatscool | t2_iac1v | I'm with you, fuckwit. I don't see much of a benefit in learning fish syntax, which would only work on my machine. Yes, bash kind of sucks in many regards, but it's also used everywhere and I'd rather lean in than to actively avoid it. | null | 0 | 1546054404 | False | 0 | ecs28c7 | t3_aabai1 | null | null | t1_ecrpn2c | /r/programming/comments/aabai1/fish_shell_30/ecs28c7/ | 1548209278 | 21 | t5_2fwo | r/programming | public | null |
False | magikid | t2_341kh | Good bot | null | 0 | 1544756310 | False | 0 | ebqrbwa | t3_a5sg9k | null | null | t1_ebqirvw | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqrbwa/ | 1547580750 | 5 | t5_2fwo | r/programming | public | null |
False | Ameisen | t2_5qad2 | I cannot tell if you are being intentionally difficult here or not. You also seem to have a pretty hostile attitude for no reason, particularly since I've spent quite a bit of time writing up situations for you, and explaining them thoroughly for you. It's pretty rude. I'm starting to think you aren't actually interested in learning anything, only in being right.
A situation where the caller of a function that is being passed or has been passed a function being inlinable *back to that function* is an unlikely situation; your code allows it trivially. However, as I showed, function pointers prevent *internal inlining*. Obviously, if the *entire* sequence is inlined, the compiler can trivially inline it, but that is not the common situation. Consider, say, `std::sort` or such where the function itself is relevant complex and unlikely to be inlined. If it is passed a function pointer, it will be unable to internally inline it, whereas it will internally inline (or at least convert to direct rather than indirect calls) something passed via template.
> Of course you are not going to inline random static code if said code can not be determined.
Which is the entire point here. A function pointer cannot be internally inlined, and it *also* cannot generally be converted into a direct call. A function pointer passed via template parameter can be converted into a direct call, and a lambda passed via template parameter can be both.
Function pointers, by their very nature, inhibit several important optimizations, and don't really gain you much. The only thing they potentially gain you is reducing the number of instantiations of a function, but if that's important, tell the compiler via `-Os` or such, and let it collapse the template instances into a branched or indirect version for you. | null | 0 | 1546054555 | False | 0 | ecs2ers | t3_aac4hg | null | null | t1_ecs1qsr | /r/programming/comments/aac4hg/modern_c_lamentations/ecs2ers/ | 1548209357 | 6 | t5_2fwo | r/programming | public | null |
False | B0tRank | t2_1z1g03sv | Thank you, magikid, for voting on morejpeg_auto.
This bot wants to find the best and worst bots on Reddit. [You can view results here](https://botrank.pastimes.eu/).
***
^(Even if I don't reply to your comment, I'm still listening for votes. Check the webpage to see if your vote registered!) | null | 0 | 1544756314 | False | 0 | ebqrc20 | t3_a5sg9k | null | null | t1_ebqrbwa | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqrc20/ | 1547580753 | 1 | t5_2fwo | r/programming | public | null |
False | micronian2 | t2_es6340s | Interesting! Would you happen to know what company that was which gave the recommendation? Makes you wonder whether MS even bothered to looked into that suggestion at all. It's not like there were no low cost Ada compilers back then (i.e. I read that Janus/Ada was available in the MS-DOS days and was not outrageously priced). | null | 0 | 1546054721 | False | 0 | ecs2lng | t3_aac063 | null | null | t1_ecrkki7 | /r/programming/comments/aac063/when_good_engineers_write_bad_software/ecs2lng/ | 1548209469 | 3 | t5_2fwo | r/programming | public | null |
False | ander_bsd | t2_mrrn82w | Read "The AWK Programming Language". It's free. In Unix, it can do in 4 lines compared to Python, where you would need about 20.
About the syntax, it was taken from C. Just indent that line. | null | 0 | 1544756467 | False | 0 | ebqrip6 | t3_a5sg9k | null | null | t1_ebpskib | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebqrip6/ | 1547580836 | 2 | t5_2fwo | r/programming | public | null |
False | verylittlefinger | t2_ta9ws | Most likely, no, maybe there are exceptions.
In my immediate vicinity though, up, down, and horizontally, most engineering managers I know do write code - not production code, but experiments, at-home hobbies, etc. For example, last time I wrote code that was in product was in 2011, but last year I wrote about 10 kloc in the above categories. | null | 0 | 1546054725 | False | 0 | ecs2lu6 | t3_aaagix | null | null | t1_ecryek1 | /r/programming/comments/aaagix/why_review_code/ecs2lu6/ | 1548209472 | 3 | t5_2fwo | r/programming | public | null |
False | twizmwazin | t2_92mr7 | Sure, but how does and HTML language server know how to handle php tags? It's not valid HTML, so a pure-HTML language server wouldn't know how to handle it properly. You could have the HTML LS know how to ignore php, but then what do you do about any other languages that "mix" with HTML, like the dozens of template languages? | null | 0 | 1544756532 | False | 0 | ebqrlj8 | t3_a5mk9z | null | null | t1_ebqqhba | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqrlj8/ | 1547580871 | 1 | t5_2fwo | r/programming | public | null |
False | InterestingWorld | t2_7r5ra | I'm stealing this | null | 0 | 1546054810 | False | 0 | ecs2pb9 | t3_aaco1d | null | null | t1_ecrowlo | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs2pb9/ | 1548209516 | 5 | t5_2fwo | r/programming | public | null |
False | birdbrainswagtrain | t2_car4b | I saw the title and was ready to go full keyboard warrior on this, but it was actually pretty good.
It's good to know about other weird games that are popular these days, like JIT compilers and platforms that run bytecode, but those are probably beyond the scope of this video. | null | 0 | 1544756940 | False | 0 | ebqs3ge | t3_a60dlr | null | null | t3_a60dlr | /r/programming/comments/a60dlr/the_difference_between_interpreted_languages_and/ebqs3ge/ | 1547581092 | 35 | t5_2fwo | r/programming | public | null |
False | maratango | t2_19gxgval | Ah, yeah, I think it was a massive step backwards too (it's ugly *and* less functional IMO.)
I thought "what went down" meant there was some big drama over it. | null | 0 | 1546054835 | False | 0 | ecs2qdo | t3_a9zyp3 | null | null | t1_ecqvtqm | /r/programming/comments/a9zyp3/thoughts_on_rust_in_2019/ecs2qdo/ | 1548209528 | 4 | t5_2fwo | r/programming | public | null |
False | stonecharioteer | t2_10s6xm | Good work! This made me chuckle. | null | 0 | 1544757110 | False | 0 | ebqsaue | t3_a5t3ld | null | null | t3_a5t3ld | /r/programming/comments/a5t3ld/linux_easy_keylogger_with_ebpf/ebqsaue/ | 1547581210 | 1 | t5_2fwo | r/programming | public | null |
False | AbstractProxyFactory | t2_1776ny | `Object` is still the base class, and has fields for things like which class it is, locks/monitors,... so it's `void*` from the perspective of the type system (i.e. casting from `Object` is a pattern), but you can still "do" things with an object that are useful. For example:
class Main {
private final Object lock = new Object()
public void foo() {
synchronized(lock) {
// do somethiing
}
}
} | null | 0 | 1546054944 | False | 0 | ecs2ur6 | t3_aac4hg | null | null | t1_ecrpdmy | /r/programming/comments/aac4hg/modern_c_lamentations/ecs2ur6/ | 1548209583 | 1 | t5_2fwo | r/programming | public | null |
False | zqvt | t2_18uf4vq | I'd say probably either implicitly by letting the editor make a guess based on the files open in the workspace, or explicitly by letting the user specify which servers they want to query completion from in their project specific configuration file for vscode.
I use vscode only very casually but something akin to the 'mode-hook' system should give the user a good deal of control over what completion they want. | null | 0 | 1544757160 | False | 0 | ebqsd06 | t3_a5mk9z | null | null | t1_ebqrlj8 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqsd06/ | 1547581237 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1546055051 | False | 0 | ecs2z40 | t3_aaco1d | null | null | t1_ecrsz87 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs2z40/ | 1548209637 | 1 | t5_2fwo | r/programming | public | null |
False | neoquietus | t2_4psrb | If you have non-repeatable tests with threading involved, you have threading bugs in either your code, your tests, or both. | null | 0 | 1544757424 | False | 0 | ebqspc4 | t3_a5iior | null | null | t1_ebnjd8r | /r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebqspc4/ | 1547581391 | 1 | t5_2fwo | r/programming | public | null |
False | xormancer | t2_ax7db | Which of those two does an iOS or Android developer go through? | null | 0 | 1546055273 | False | 0 | ecs37zm | t3_aaco1d | null | null | t1_ecrs40r | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs37zm/ | 1548209746 | 11 | t5_2fwo | r/programming | public | null |
False | ZeldaFanBoi1988 | t2_nna51 | VS is the best IDE ever created. Not even close | null | 0 | 1544757621 | False | 0 | ebqsyky | t3_a5mk9z | null | null | t1_ebpimtk | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebqsyky/ | 1547581505 | 1 | t5_2fwo | r/programming | public | null |
False | flyingjam | t2_8n6t9 | Neural networks is an unfortunate name, but it's too far to say it's just a buzzword. Deep neural networks may not actually resemble human neurology, but that's really counter to the point.
They're another tool in the toolbox, and they do work extremely well in certain domains like computer vision. For that, they're different than your blockchains or whatever. | null | 0 | 1546055311 | False | 0 | ecs39ia | t3_aafep8 | null | null | t1_ecrxwt2 | /r/programming/comments/aafep8/a_history_of_artificial_intelligence/ecs39ia/ | 1548209764 | 7 | t5_2fwo | r/programming | public | null |
False | aullik | t2_duui5 | I still don't understand why the F we need special blockchain devs. How much can you scam a company that they decide to use blockchain for everything it wasnt designed to do. | null | 0 | 1544757685 | False | 0 | ebqt1hu | t3_a60qu2 | null | null | t3_a60qu2 | /r/programming/comments/a60qu2/a_deep_look_at_the_different_skill_requirements/ebqt1hu/ | 1547581540 | 8 | t5_2fwo | r/programming | public | null |
False | Drisku11 | t2_bg6v5 | My comments were not about whether there is a bug. They referred to the style. I said the later functions you wrote looked fine by me and didn't need refactoring. That's a stylistic assessment. Obviously I can't say whether foo() and bar() have bugs in their behavior.
> Which redundant else clauses were added to that code? Wait... are you referring to the code that you added?
Yes, which was analogous to the original Smurf code. The point is the additional empty else clause is useless, tells you nothing about whether the behavior is correct, and doesn't even convey any specific intent any more than leaving off the else does. It's pointless ceremony. | null | 0 | 1546055352 | False | 0 | ecs3b6a | t3_aa3qdm | null | null | t1_ecs1qit | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecs3b6a/ | 1548209785 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | Front-end dev that can configure a firebase database | null | 0 | 1544757688 | False | 0 | ebqt1m6 | t3_a5z6i5 | null | null | t1_ebqifam | /r/programming/comments/a5z6i5/full_stack_software_developer_named/ebqt1m6/ | 1547581542 | 2 | t5_2fwo | r/programming | public | null |
False | shenglong | t2_2nn6w | I love and hate this comment.
Love it because it encompasses the essence of what an engineer would do (and by implication, the thought process used to reach the conclusion).
Hate it because it I've grown to hate the term "smells" in this context. There is only good engineering and bad engineering. It may smell like teen spirit, but at the end of the day if the only side-effect is a bad hangover and emo-angst, why even care? | null | 0 | 1546055403 | False | 0 | ecs3d67 | t3_aac4hg | null | null | t1_ecqp2wu | /r/programming/comments/aac4hg/modern_c_lamentations/ecs3d67/ | 1548209810 | 2 | t5_2fwo | r/programming | public | null |
False | jetman81 | t2_wkaqt | "Javascript free frontend"
"The client application is a single JavaScript file included with the framework, blazor.server.js"
This is one of those stupid usages of terminology, like "serverless" web apps, isn't it... | null | 0 | 1544757779 | False | 0 | ebqt5js | t3_a5ssxk | null | null | t3_a5ssxk | /r/programming/comments/a5ssxk/razor_components_for_a_javascriptfree_frontend_in/ebqt5js/ | 1547581591 | 1 | t5_2fwo | r/programming | public | null |
False | sou-ght | t2_f1fu5 | Well that's encouraging... Maybe I'll give it another try. | null | 0 | 1546055453 | False | 0 | ecs3f2t | t3_aabai1 | null | null | t1_ecs0o3n | /r/programming/comments/aabai1/fish_shell_30/ecs3f2t/ | 1548209834 | 0 | t5_2fwo | r/programming | public | null |
False | papertowelroll17 | t2_ywfyrs | I've yet to see code that was intentionally designed from the beginning for "flexibility" actually be flexible in a way that was useful. (And to be clear, I have personally made this mistake).
The easiest code to change is the code that is the shortest, simplest, easiest to comprehend, etc. Extra bells and whistles that don't deliver business value make change more difficult.
I think _actual_ flexible code is typically the result of factoring out common elements of working systems, not from engineer brainstorming sessions in the planning phase. | null | 0 | 1544757830 | False | 1 | ebqt7s7 | t3_a5y50c | null | null | t1_ebqqz3k | /r/programming/comments/a5y50c/why_bad_software_architecture_is_easy_to_monetize/ebqt7s7/ | 1547581618 | 143 | t5_2fwo | r/programming | public | null |
False | indiebryan | t2_123uxh | This just seems like an extension of my family.
"Hey Bryan, you work with computers, I need you to fix this printer."
I write JavaScript. | null | 0 | 1546055693 | False | 0 | ecs3orn | t3_aaco1d | null | null | t1_ecrg5b3 | /r/programming/comments/aaco1d/things_i_dont_know_as_of_2018/ecs3orn/ | 1548209952 | 38 | t5_2fwo | r/programming | public | null |
Subsets and Splits
Filtered Reddit Uplifting News
The query retrieves specific news articles by their link IDs, providing a basic overview of those particular entries without deeper analysis or insights.
Recent Programming Comments
Returns a limited set of programming records from 2020 to 2023, providing basic filtering with minimal analytical value.