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 | zeter | t2_5gpts | It's a bit of a chore to set up, but this method works on anything. It's written for ST3 but it works the same for VS Code, just change the setting file paths: [link](https://adamdehaven.com/blog/how-to-sync-sublime-text-packages-and-settings-across-multiple-computers-with-dropbox/) | null | 0 | 1544709234 | False | 0 | ebp3pdx | t3_a5mk9z | null | null | t1_ebox44u | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp3pdx/ | 1547552872 | 2 | t5_2fwo | r/programming | public | null |
False | Marthinwurer | t2_a1hwx | How does this actually work under the hood? Some template monstrosity? | null | 0 | 1546022439 | False | 0 | ecqvw0n | t3_aach46 | null | null | t3_aach46 | /r/programming/comments/aach46/lazy_code_a_c_header_only_lib_what_if_you_could/ecqvw0n/ | 1548189281 | 4 | t5_2fwo | r/programming | public | null |
False | nfrankel | t2_ayl6m | > I prefer honesty about capability
Me as well. I always ask when I don't know/understand something. That doesn't change the fact many don't. | null | 0 | 1544709242 | False | 0 | ebp3pnb | t3_a5kkr5 | null | null | t1_eboz772 | /r/programming/comments/a5kkr5/everything_you_should_know_about_certificates_and/ebp3pnb/ | 1547552875 | 5 | t5_2fwo | r/programming | public | null |
False | genericusername248 | t2_2q0e77l8 | Also Matlab and Fortran, and pretty much any language or environment aimed at computational science. | null | 0 | 1546022507 | False | 0 | ecqvzkt | t3_aabai1 | null | null | t1_ecqsw4d | /r/programming/comments/aabai1/fish_shell_30/ecqvzkt/ | 1548189325 | 19 | t5_2fwo | r/programming | public | null |
False | superhappyrobots | t2_5jw01 | VSCode starts up pretty fast for everyone I know. It loads up and is usable within a few seconds for me, and I don't even use an SSD.
Obviously I'm not opposed to optimisations, but it seems like this is very much a "your hardware sucks" issue as you've already identified. If it's taking you ~30 seconds to open it then I'm really not sure what optimisation could do for you in this case - there's not going to be a magic bullet. | null | 0 | 1544709252 | False | 0 | ebp3pz1 | t3_a5mk9z | null | null | t1_eboycpm | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp3pz1/ | 1547552880 | 6 | t5_2fwo | r/programming | public | null |
False | who_let_this_guy_in | t2_13yo3a2e | Do you have any specific questions? | null | 0 | 1546022541 | False | 0 | ecqw1eg | t3_aacubf | null | null | t3_aacubf | /r/programming/comments/aacubf/need_help_for_a_python_assignment/ecqw1eg/ | 1548189347 | 2 | t5_2fwo | r/programming | public | null |
False | Thaurin | t2_aqn79 | Just learn the power of the interactive rebase and you should be fine for most things.
| null | 0 | 1544709314 | False | 0 | ebp3s5w | t3_a5hkyo | null | null | t1_ebp21y1 | /r/programming/comments/a5hkyo/investigating_an_early2010s_gaming_drm_system_or/ebp3s5w/ | 1547552906 | 1 | t5_2fwo | r/programming | public | null |
False | DroneDashed | t2_jjtoi | TIL there is a programming language named julia. | null | 0 | 1546022550 | False | 0 | ecqw1w7 | t3_aabai1 | null | null | t1_ecqvo4y | /r/programming/comments/aabai1/fish_shell_30/ecqw1w7/ | 1548189353 | -4 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544709374 | False | 0 | ebp3u9y | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp3u9y/ | 1547552932 | 1 | t5_2fwo | r/programming | public | null |
False | 6petabytes | t2_bbwd7 | [What have you tried?](https://mattgemmell.com/what-have-you-tried/) | null | 0 | 1546022705 | False | 0 | ecqwa5e | t3_aacubf | null | null | t3_aacubf | /r/programming/comments/aacubf/need_help_for_a_python_assignment/ecqwa5e/ | 1548189455 | 3 | t5_2fwo | r/programming | public | null |
False | Iwan_Zotow | t2_xwkmk | you should try new porno extension | null | 0 | 1544709401 | False | 0 | ebp3v7w | t3_a5mk9z | null | null | t1_ebophcg | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp3v7w/ | 1547552945 | 0 | t5_2fwo | r/programming | public | null |
False | TheGag96 | t2_60esx | I'm just looking at this although I'm not in the proper mental state to write it now, I imagine a D version will be at least as simple as the C# version and perform about as well as (or better than?) the C++ version. | null | 0 | 1546022740 | False | 0 | ecqwc6q | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecqwc6q/ | 1548189481 | 11 | t5_2fwo | r/programming | public | null |
False | nakilon | t2_g2nns | *Unix sysadmins | null | 0 | 1544709405 | False | 0 | ebp3vc5 | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp3vc5/ | 1547552945 | 14 | t5_2fwo | r/programming | public | null |
False | Timbit42 | t2_1tnz | Lisp-case-is-not-a-pain-to-write. I-presume-because-the-shift-key-is-not-required. | null | 0 | 1546022774 | False | 0 | ecqwe65 | t3_aaamfb | null | null | t1_ecqbbl0 | /r/programming/comments/aaamfb/how_you_ever_thought_about_which_casing/ecqwe65/ | 1548189504 | 6 | t5_2fwo | r/programming | public | null |
False | jl2352 | t2_11g67p | When you start VSCode you can pass `--user-data-dir` and that allows you to set your settings to be stored anywhere you want. On Windows you can edit the shotcut to do this.
Be aware the user directory includes not just settings, but also caches and stuff like that. So I personally use a git repo where everything gets gitignored, and then I whitelist the settings files. That also means two different machines are not sharing their cache. | null | 0 | 1544709418 | False | 0 | ebp3vt4 | t3_a5mk9z | null | null | t1_eboob17 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp3vt4/ | 1547552951 | 6 | t5_2fwo | r/programming | public | null |
False | laStrangiato | t2_51o5x | It all goes back to the issue mentioned about data labelling. Right now we have large open source, labeled image libraries to work from. Getting the radar images and then labelling them is hugely expensive. | null | 0 | 1546022776 | False | 0 | ecqwe9i | t3_aa91bp | null | null | t1_ecqq98e | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqwe9i/ | 1548189507 | 6 | t5_2fwo | r/programming | public | null |
False | CheezyXenomorph | t2_hr82u | But it's a restaurant, so the menu will be a PDF containing a scan of their paper menu. | null | 0 | 1544709492 | False | 0 | ebp3ye8 | t3_a5sg9k | null | null | t1_ebp2r8k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp3ye8/ | 1547553012 | 67 | t5_2fwo | r/programming | public | null |
False | progfu | t2_4llk6 | But we're talking about monospaced fonts. Doesn't that simplify things a lot?
Also, these IDEs are old. NetBeans is 22 years old (it was actually developed at my university hehe). That's quite a lot of time to fix a few "details", such as things being ugly.
Which I guess is not a priority for Java developers. But reading the comments here and based on my interactions with other programmers, I'm pretty sure most of us want our tools to be pretty. I've had many people come to my computer and say something like "wow that's nice, what IDE is that?" and reply with "just terminal VIM" and their head explodes.
Then usually follows a barrage of questions, but it really comes down to simple things. I picked a color scheme I liked (base16-default-dark) and a non-default font that I liked (fantasque-sans-mono) and that's basically it.
There are people who rice their setup to the max and use fancy window managers with fancy graphics and stuff, but I haven't gotten to that point yet. My favorite window manager is just the default config of [dwm](https://dwm.suckless.org/) (with a few hotkey changes) + a borderless terminal like [st](https://st.suckless.org/), and yet people jawdrop when they see how "pretty" it is. But it's not pretty. It's just less shit than what they're used to, because most IDEs don't give a crap about anything other than adding 50 more buttons.
Even Emacs GUI with no config at all looks way better than most IDEs one can use these days. | null | 0 | 1546022981 | False | 0 | ecqwq1i | t3_aa05by | null | null | t1_ecpk4l7 | /r/programming/comments/aa05by/netbeans_100_released/ecqwq1i/ | 1548189682 | 1 | t5_2fwo | r/programming | public | null |
False | CheezyXenomorph | t2_hr82u | Thing is, sites use it because it works. The conversion rates of those annoying bouncy things is way higher than passively asking for it. | null | 0 | 1544709555 | False | 0 | ebp40m5 | t3_a5sg9k | null | null | t1_ebp3bgx | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp40m5/ | 1547553040 | 8 | t5_2fwo | r/programming | public | null |
False | ECloud3 | t2_dz1y4 | Interesting, I hadn't seen that decompiler before. Thanks for the tip! | null | 0 | 1546023044 | False | 0 | ecqwtmj | t3_aa3mws | null | null | t1_ecq1d89 | /r/programming/comments/aa3mws/extract_permissions_and_dependencies_from_an_apk/ecqwtmj/ | 1548189727 | 1 | t5_2fwo | r/programming | public | null |
False | stevegossman83 | t2_wifmj | That's very cool, Windows, but that's nothing. The Javascript programmer simply uses the shrimp-price module from npm:
const shrimpPrice = require('shrimp-price')
shrimpPrice() < 10
// => true | null | 0 | 1544709666 | False | 0 | ebp44ix | t3_a5sg9k | null | null | t1_ebp3da1 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp44ix/ | 1547553087 | 202 | t5_2fwo | r/programming | public | null |
False | munchbunny | t2_51tnj | That works better in theory than in practice.
Testing has the shortcoming that you (an individual dev) only write tests for the issues you can anticipate. However, you're writing code in a team context, and you will likely miss second order problems. Code reviews will only catch these problems if the guy who specifically knows about issues you missed is the one reviewing your change. That's often not true in really big software projects.
There's no good answer to *that* problem, so in particularly sensitive areas of code, a cultural default of "don't touch it and if you do ring the alarm bells so everyone knows and also have multiple egress plans in case it goes wrong anyway" is a pretty sensible approach. | null | 0 | 1546023186 | False | 0 | ecqx1ku | t3_aa3qdm | null | null | t1_ecp8gds | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqx1ku/ | 1548189824 | 2 | t5_2fwo | r/programming | public | null |
False | htuhola | t2_ipowh | You don't know how to write.
When it combines with a condescending tone, you get an impression of a person that's like a chihuahua humping your leg.
\> Test-Driven Development is one of those fundamentals highly misunderstood by developers. The majority of the posts out there only talk about it on the surface. There’s rarely something that goes deep into the subject. / I want to change that.
Yeah.. okay.
\> This post kicks off with the story of Jack, The Moneylender. Jack hires a developer and puts a deadline for the work to finish. However, because of TDD, the developer manages to have working software in a fraction of the time it would take to develop the whole specification.
Then the story proceeds to pour all the shallow TTD shit over you. TL;DR OP please delete this (I mean the medium post). | null | 0 | 1544709669 | False | 0 | ebp44na | t3_a5r84b | null | null | t3_a5r84b | /r/programming/comments/a5r84b/you_dont_know_tdd/ebp44na/ | 1547553089 | 3 | t5_2fwo | r/programming | public | null |
False | jonhanson | t2_gu13 | Looking forward to C++ compilers overtaking bitcoin mining in terms of electricity consumption.
g++ -o Hello.exe Hello.cpp
*(ominous humming noise as lights dim and the floor starts to shake)* | null | 0 | 1546023379 | False | 0 | ecqxcbd | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecqxcbd/ | 1548189958 | 270 | t5_2fwo | r/programming | public | null |
False | pterencephalon | t2_gnt9h | Samsung Chromebook Pro (using Crouton for VScode, which is working flawlessly). | null | 0 | 1544709702 | False | 0 | ebp45ry | t3_a5mk9z | null | null | t1_ebp2eyu | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp45ry/ | 1547553102 | 2 | t5_2fwo | r/programming | public | null |
False | munchbunny | t2_51tnj | If you write the business rules as documentation, you still have the problem of logic not matching documentation. Writing the business rules as tests is only better as long as people remember what the tests are testing... so you still have a code vs. comment/documentation problem.
I don't think this is a programming problem, it's an engineering process/culture problem. | null | 0 | 1546023390 | False | 0 | ecqxcww | t3_aa3qdm | null | null | t1_ecqrvjv | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqxcww/ | 1548189965 | 1 | t5_2fwo | r/programming | public | null |
False | celerym | t2_a9tbm | >It might work in the short term but long term all it does is hurts everyone.
That's precisely the current climate we find ourselves in.
You can't write good code without creating sound logical structures that are expressed by the code. There are no shortcuts for this. There are no patterns, no language or approach that guarantee brevity, clarity, reliability, correctness.
What I mean is that the average developer is indeed a long-term thinking person. They want both long-term job security and they understand that poorly written code leads to problems down the line. This is because they are lazy. Which is fine, but you can't have your cake and eat it too. If we were to find an approach that produces correctness with minimal effort, which is the goal , then at some level this implies a simplicity that makes coding accessible to too many people, therefore leading to a reduction in job security. Programming is still something that's romanticised. There is, rightfully, an air of mystery about it. A successful developer is essentially a magician in today's world. Executed codebases are golems. This may sound absurd, but programming is a spiritual endeavour, it is an art, it is an expression of one's humanity and one's power over creation. If you were to describe the current peak of civilisation, it would be computing. Society can't comprehend it, it knows it is benefiting from the magic, but it views developers with some mix of disdain, distrust and awe. Developers are dangerous and the status quo knows this. But I digress, once you take a moment to step back and see the big picture you will find that it is the quality of thought that matters, because every good developer isn't an engineer, they're an artist. And you can't systemise art. | null | 0 | 1544709758 | False | 0 | ebp47pp | t3_a5iior | null | null | t1_ebp1zfq | /r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebp47pp/ | 1547553127 | 1 | t5_2fwo | r/programming | public | null |
False | FuckaYouWhale | t2_4tq0x | CNN? Don't buy it, it's fake news. | null | 0 | 1546023393 | False | 0 | ecqxd38 | t3_aa91bp | null | null | t3_aa91bp | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqxd38/ | 1548189967 | -3 | t5_2fwo | r/programming | public | null |
False | MrDOS | t2_43dri | Because vocal detractors caused the repository to be disabled by GitHub. Her [last response to GitHub](https://linuxwit.ch/assets/github-email-4.txt) sums up the problems very nicely, I think; in particular, this part:
> - Does your current system harm targets of widespread harassment? For
> example, if a person of color or a trans person builds a legitimate
> software project that becomes incredibly popular, does the current
> system effectively allow their harassers to disable the repository
> with no immediate recourse? (Will they not be given an initial
> response for 19 hours either?) | null | 0 | 1544709823 | False | 0 | ebp4a21 | t3_a5qm02 | null | null | t1_ebozekj | /r/programming/comments/a5qm02/a_tale_of_132_es/ebp4a21/ | 1547553156 | 49 | t5_2fwo | r/programming | public | null |
False | ifatree | t2_35oh6 | i have extensively used lua, actually, when it's forced on me. that doesn't mean i'm going to choose it over better options when they're available.
> You both guys definitely haven't coded in Lua
how does it even make logical sense to go from me choosing not to interact with this scripting language to me 'definitely' not having ever used a feature like this? do you assume everyone is like yourself and only makes comments based on memes with no evidence? that's just you, buddy. | null | 1 | 1546023404 | False | 0 | ecqxdo8 | t3_aabai1 | null | null | t1_ecqsw4d | /r/programming/comments/aabai1/fish_shell_30/ecqxdo8/ | 1548189974 | -2 | t5_2fwo | r/programming | public | null |
False | oblio- | t2_9a80o | You're not alone.
Much more readable and I've never found the reasons against using cat that compelling. Efficiency - meh, we're talking about shell scripts. | null | 0 | 1544709961 | False | 0 | ebp4exx | t3_a5sg9k | null | null | t1_ebp36ei | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp4exx/ | 1547553216 | 63 | t5_2fwo | r/programming | public | null |
False | matthieum | t2_5ij2c | I've coded a bit of LUA.
Every time I switched from another language to LUA, or back, I was making off-by-one errors when computing indices due the difference between 0-based and 1-based indexing.
I am not even going to argue that one is better than the other, it's just that being inconsistent with 99% of other programming languages adds incidental complexity to using the language, and for what benefit? | null | 0 | 1546023435 | False | 0 | ecqxfbp | t3_aabai1 | null | null | t1_ecqsw4d | /r/programming/comments/aabai1/fish_shell_30/ecqxfbp/ | 1548189995 | 50 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544709994 | False | 0 | ebp4g2u | t3_a5mk9z | null | null | t1_ebp3pz1 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp4g2u/ | 1547553230 | 2 | t5_2fwo | r/programming | public | null |
False | Xzariner | t2_16twqw | Especially the networking part. A dozen of so various network controllers, each with overlapping functions and its own quirks
| null | 0 | 1546023473 | False | 0 | ecqxhf9 | t3_aa3qdm | null | null | t1_ecpj533 | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqxhf9/ | 1548190021 | 2 | t5_2fwo | r/programming | public | null |
False | George_Kush_Sr | t2_y32st | I dont care if i get downvoted or fired for it I love breaking things up with pipes
I want pipes on my fucking tombstone | null | 0 | 1544710087 | False | 0 | ebp4jea | t3_a5sg9k | null | null | t1_eboxlib | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp4jea/ | 1547553271 | 232 | t5_2fwo | r/programming | public | null |
False | shenglong | t2_2nn6w | I'm referring to their style of explicit coding, not the comments. Explicit coding helps answer statements such as: What if this condition arises, did you mean to exclude it, or was that an accident?
Explicity coding is *enforced* by certain languages and it's seen as a good thing. I'm not sure why people have such a problem with it here. | null | 0 | 1546023582 | False | 0 | ecqxn7t | t3_aa3qdm | null | null | t1_ecqxcww | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqxn7t/ | 1548190092 | 2 | t5_2fwo | r/programming | public | null |
False | htuhola | t2_ipowh | s/frustrated/desperate & frustrated/ no problem pal. | null | 0 | 1544710090 | False | 0 | ebp4jhy | t3_a5sg9k | null | null | t1_eboymco | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp4jhy/ | 1547553272 | 15 | t5_2fwo | r/programming | public | null |
False | SwedishBorgie | t2_d0zo8 | Agreed. I just installed this out of curiosity, screenshot of [the history viewer](https://i.imgur.com/yvBgrUF.png) and [the staging/commit area](https://i.imgur.com/WrWExMu.png).
Looks like a nice little Git client. Only thing I don't care for so far is that it doesn't support OAuth with GitHub, so 2FA isn't supported (see [here](https://i.imgur.com/tBnpF4x.png)). | null | 0 | 1546023607 | False | 0 | ecqxoj1 | t3_aa1an1 | null | null | t1_ecp65l1 | /r/programming/comments/aa1an1/gitahead_opensourced_now_on_github/ecqxoj1/ | 1548190108 | 5 | t5_2fwo | r/programming | public | null |
False | oblio- | t2_9a80o | Are you sure shrimp-price uses the correct, secure version of is-shrimp?
Also, don't forget to audit is-not-shrimp, the main dependency of is-shrimp! Last I checked it was at version 34.0.0, after the recent CVEs. | null | 0 | 1544710122 | False | 0 | ebp4kp4 | t3_a5sg9k | null | null | t1_ebp44ix | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp4kp4/ | 1547553287 | 142 | t5_2fwo | r/programming | public | null |
False | Hyperian | t2_3b3j0 | Well, good thing is that company pays you to write code, not to review code so your two week sprint is based on writing code, not reading, debugging or writing the test cases. | null | 0 | 1546023649 | False | 0 | ecqxqtv | t3_aaagix | null | null | t1_ecqu5fe | /r/programming/comments/aaagix/why_review_code/ecqxqtv/ | 1548190137 | -19 | t5_2fwo | r/programming | public | null |
False | sushibowl | t2_42p64 | You don't need cat to do that. Just put the input redirection at the start:
<README.md grep 5 | null | 0 | 1544710235 | False | 0 | ebp4owb | t3_a5sg9k | null | null | t1_ebp36ei | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp4owb/ | 1547553338 | 11 | t5_2fwo | r/programming | public | null |
False | 00jknight | t2_13e2hc | To be fair, I've been a professional Unity developer for years, have worked on over a hundred Unity games, some award winning, and have never seen nor written C# code like that.
Everybody just be for(int i = 0;.... looping all day.
So to me, that "modern" C# is confusing as well, albeit less confusing than the c++ one.
Though I do agree that the c++ example is MORE complicated, the C# example is still full of syntax I've never seen. | null | 0 | 1546023659 | False | 0 | ecqxrdd | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecqxrdd/ | 1548190143 | 17 | t5_2fwo | r/programming | public | null |
False | kandiyohi | t2_h0bvncc | > desperate frustrated frustrated
I like it. | null | 0 | 1544710295 | False | 0 | ebp4r1t | t3_a5sg9k | null | null | t1_ebp4jhy | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp4r1t/ | 1547553365 | 23 | t5_2fwo | r/programming | public | null |
False | cballowe | t2_87ah | Lots of it is slow moving. There were tons of features in C++11 that definitely made development easier and clearer and in many cases improved performance. Auto, range for, and move semantics all helped and were pretty quickly adopted.
Other features have made some headway into core libraries, but are less seen in the leaf code that most developers touch daily. | null | 0 | 1546023701 | False | 0 | ecqxtov | t3_aac4hg | null | null | t1_ecqu6o3 | /r/programming/comments/aac4hg/modern_c_lamentations/ecqxtov/ | 1548190172 | 158 | t5_2fwo | r/programming | public | null |
False | MikeFightsBears | t2_4hf3a | Whereas, judging by your post history, someone like you would die and it would be a positive impact on the world. | null | 0 | 1544710399 | 1544712461 | 0 | ebp4uot | t3_a5qm02 | null | null | t1_ebp22mj | /r/programming/comments/a5qm02/a_tale_of_132_es/ebp4uot/ | 1547553410 | 35 | t5_2fwo | r/programming | public | null |
False | shabunc | t2_af41a | I think you took a friendly comment on Reddit way more seriously one should take it. However, happy New Year and sorry for upsetting you! | null | 0 | 1546023735 | False | 0 | ecqxvjt | t3_aabai1 | null | null | t1_ecqxdo8 | /r/programming/comments/aabai1/fish_shell_30/ecqxvjt/ | 1548190224 | 13 | t5_2fwo | r/programming | public | null |
False | chooxy | t2_gg5tl | That looks like a lot of work... Is there a below-ten module I can use? | null | 0 | 1544710401 | False | 0 | ebp4urc | t3_a5sg9k | null | null | t1_ebp44ix | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp4urc/ | 1547553410 | 31 | t5_2fwo | r/programming | public | null |
False | Xzariner | t2_16twqw | From what I gathered most of it are people angry that their favourite didn't get as popular as quick as Go, or that they tried it, missed X, Y and Z feature and instead of just going back to what is better they chose to whine.
It is bizzare, I have never seen so much hate for language since PHP, not even for JS | null | 1 | 1546023736 | False | 0 | ecqxvkk | t3_aa3qdm | null | null | t1_ecq8sgs | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqxvkk/ | 1548190224 | -1 | t5_2fwo | r/programming | public | null |
False | jephthai | t2_591d | Yes. The anti cat people are all about the efficiency of their shell pipeline. But when you want to change your pipeline to do something different, you sometimes have to change which stage reads the file. But if it always flows from a cat, it's more composable, and easier to adapt. | null | 0 | 1544710423 | False | 0 | ebp4vk0 | t3_a5sg9k | null | null | t1_ebp36ei | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp4vk0/ | 1547553422 | 38 | t5_2fwo | r/programming | public | null |
False | TheRedManFromRussia | t2_ryvp7 | I mean you can literally look in the repo how it's implemented??? | null | 1 | 1546023754 | False | 0 | ecqxwky | t3_aach46 | null | null | t1_ecqvw0n | /r/programming/comments/aach46/lazy_code_a_c_header_only_lib_what_if_you_could/ecqxwky/ | 1548190237 | 1 | t5_2fwo | r/programming | public | null |
False | enrac | t2_4ewpn | Is it possible to debug C++ code with VS Code? | null | 0 | 1544710462 | False | 0 | ebp4wyv | t3_a5mk9z | null | null | t3_a5mk9z | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp4wyv/ | 1547553439 | 1 | t5_2fwo | r/programming | public | null |
False | justinlindh | t2_8kxgc | This bit me too. I just spent the last hour reading arguments for/against, and I don't have a strong opinion... but it was different, and it changed the way the "jump" plugin worked.
I posted [a comment](https://github.com/fish-shell/fish-shell/pull/5190#issuecomment-450410180) on the PR that made this change to explain how you can update the jump plugin to work the way it used to, in case that's helpful. | null | 0 | 1546023794 | 1546024077 | 0 | ecqxyoe | t3_aabai1 | null | null | t1_ecqustb | /r/programming/comments/aabai1/fish_shell_30/ecqxyoe/ | 1548190263 | 18 | t5_2fwo | r/programming | public | null |
False | TheGoodOldCoder | t2_fsmu9h3 | I find that I usually develop command lines by using something like `head -10`. And then, it just makes more sense to replace it with `cat` rather than to play the game of “where does the filename go?” Especially because later, you might have to use `head` again if you want to refine the command.
Thanks for your /r/gatekeeping ! Without your useful analysis, I would have considered my use of `cat` an effective way to get things done. But it turns out that I’m just not a real Unix programmer. Sweet! | null | 0 | 1544710574 | False | 0 | ebp512y | t3_a5sg9k | null | null | t1_ebox6vg | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp512y/ | 1547553489 | 15 | t5_2fwo | r/programming | public | null |
False | RudeHero | t2_79j7u | > This doesn't mean "don't touch it", it means "don't screw up the good thing we have going here.
Next level question- what is the best way to make sure all future developers, regardless of experience, ability, and personality, won't "screw up the good thing we have going here"? | null | 0 | 1546023800 | False | 0 | ecqxz1p | t3_aa3qdm | null | null | t1_ecp1x24 | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqxz1p/ | 1548190267 | 2 | t5_2fwo | r/programming | public | null |
False | terbet | t2_278m1bw5 | Most restaurants I've been in have either HTML version of the menu or PDF with selectable copy-pastable text (rather than scan).
I think I've seen DOCX version once. I've never seen image scans. From my experience in 10 out of 10 cases, if a restaurant has no pdf/html/doc menu, it's because it has no site at all.
| null | 0 | 1544710659 | False | 0 | ebp5469 | t3_a5sg9k | null | null | t1_ebp3ye8 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp5469/ | 1547553527 | 14 | t5_2fwo | r/programming | public | null |
False | yeahsurebrobro | t2_2njiwv9k | we need an AI that detects sarcasm | null | 0 | 1546023934 | False | 0 | ecqy6au | t3_aa91bp | null | null | t1_ecqm4gq | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqy6au/ | 1548190356 | 3 | t5_2fwo | r/programming | public | null |
False | Drisku11 | t2_bg6v5 | What's the bug? Assuming all of these things are pure functions and it type checks (i.e. you have some kind of StringFormat instance for Maybe Location), it should print that it isn't used. If Map.find isn't total (i.e. is not a function), then neither is emitAmbiguityWarnings. | null | 0 | 1544710669 | False | 0 | ebp54ji | t3_a5iior | null | null | t1_ebotvb3 | /r/programming/comments/a5iior/tests_wont_make_your_software_correct/ebp54ji/ | 1547553532 | 1 | t5_2fwo | r/programming | public | null |
False | SaadAttieh | t2_2pd4av8 | In a sense yes :P. Without language level support, I felt it was the only way to go. Ranges are being introduced officially but even these are causing controversy due to their complexity. I wanted a simple way to create generators/ranges. In my implementation, ranges are just a pair of a state and a function to yield values from that state. For example, a range to yield powers of 2 up to 1024:
auto g = lz::generator(1, [](int i) -> lz::optional<int> {
i *= 2;
if (i <= 1024) {
return i;
} else {
return lz::nullopt;
}
});
Now values can be pulled from this range using a for loop `for (int i: g)` or it can be piped to a map, filter, sum, etc. | null | 0 | 1546023972 | False | 0 | ecqy8gf | t3_aach46 | null | null | t1_ecqvw0n | /r/programming/comments/aach46/lazy_code_a_c_header_only_lib_what_if_you_could/ecqy8gf/ | 1548190383 | 6 | t5_2fwo | r/programming | public | null |
False | JoseJimeniz | t2_7bcl1 |
> How do you not introduce weakness and remove layers of security?
I don't introduce weakness. I'm not going to introduce systemic weakness..
> There is a bunch of contradicting language in this law.
Which works to my advantage because I'm the one who gets to decide. I'm the author of the system so I'm best qualified to decide what is a weakness.
| null | 0 | 1544710738 | False | 0 | ebp573p | t3_a57th7 | null | null | t1_ebp2a3v | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebp573p/ | 1547553564 | 1 | t5_2fwo | r/programming | public | null |
False | XANi_ | t2_7z5jp | > because even though the language supports multiple return values, the convention means you can’t use them safely because the second result will be interpreted as an error rather than whatever it actually is.
Nothing in what you wrote is true. It is just a convention that **if you return error**, it is the last, separate value, of `error` type (so it is impossible to "interpret" it by accident).
Now the whole handling of that is, well, verbose garbage of multiple `if err !!= nil` but having common convention of how to return errors is a good thing. (rusts Result|Err is better tho) | null | 0 | 1546024028 | False | 0 | ecqybu7 | t3_aa3qdm | null | null | t1_ecqeu69 | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqybu7/ | 1548190425 | 8 | t5_2fwo | r/programming | public | null |
False | flying-sheep | t2_5jc4c | I know, but having the pipe there looks more clear. | null | 0 | 1544710744 | False | 0 | ebp57bh | t3_a5sg9k | null | null | t1_ebp4owb | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp57bh/ | 1547553567 | 13 | t5_2fwo | r/programming | public | null |
False | chucker23n | t2_39t9i | > What makes you think an internal best practice can’t be explained
How do you jump from “if you can’t explain it” to “what makes you think it can’t be explained”?
If your best practice is sound, it can probably be explained in a reasonable manner, and this thread doesn’t apply. | null | 0 | 1546024093 | False | 0 | ecqyflj | t3_aaagix | null | null | t1_ecqnaq5 | /r/programming/comments/aaagix/why_review_code/ecqyflj/ | 1548190472 | 4 | t5_2fwo | r/programming | public | null |
False | DomoArigatoMr_Roboto | t2_byrxm | shrimp-price is deprecated, please use joesmith-shrimp | null | 0 | 1544710776 | False | 0 | ebp58fk | t3_a5sg9k | null | null | t1_ebp44ix | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp58fk/ | 1547553609 | 74 | t5_2fwo | r/programming | public | null |
False | cediddi | t2_bvn0j | Well I hope somebody wrote a library called spike for it. | null | 0 | 1546024101 | False | 0 | ecqyg1k | t3_aabai1 | null | null | t1_ecqw1w7 | /r/programming/comments/aabai1/fish_shell_30/ecqyg1k/ | 1548190478 | 11 | t5_2fwo | r/programming | public | null |
False | flying-sheep | t2_5jc4c | yeah, and let’s be honest – if the performance hit from cat is a problem, you might want to consider rewriting it all in a compiled language anyway. | null | 0 | 1544710846 | False | 0 | ebp5b0e | t3_a5sg9k | null | null | t1_ebp4vk0 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp5b0e/ | 1547553642 | 29 | t5_2fwo | r/programming | public | null |
False | XANi_ | t2_7z5jp | Especially that probably 90% of Go's error handling is `if err != nil {return err}` | null | 0 | 1546024105 | False | 0 | ecqyg9u | t3_aa3qdm | null | null | t1_ecqpb7y | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqyg9u/ | 1548190481 | 8 | t5_2fwo | r/programming | public | null |
False | JoseJimeniz | t2_7bcl1 | Yeah those are snippets.
Those are more like what Excel would call macros - which is to say: not a macro. | null | 0 | 1544710907 | False | 0 | ebp5db4 | t3_a5mk9z | null | null | t1_ebp0p34 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp5db4/ | 1547553670 | -1 | t5_2fwo | r/programming | public | null |
False | XANi_ | t2_7z5jp | But companies do not need clear code, they need code that solves the problem enough that they can sell it, and that's a way lower bar for quality | null | 0 | 1546024163 | False | 0 | ecqyjmr | t3_aa3qdm | null | null | t1_ecqezzv | /r/programming/comments/aa3qdm/please_do_not_attempt_to_simplify_this_code_keep/ecqyjmr/ | 1548190522 | 1 | t5_2fwo | r/programming | public | null |
False | TheGift_RGB | t2_sgjy1 | Confrontation and aggression are how your immune system works to protect you against pathogens. You should thank people like me and /u/combinatorylogic for consistently calling out shit spam like this. | null | 0 | 1544711189 | False | 0 | ebp5nmm | t3_a5qm02 | null | null | t1_ebp4uot | /r/programming/comments/a5qm02/a_tale_of_132_es/ebp5nmm/ | 1547553797 | -44 | t5_2fwo | r/programming | public | null |
False | jamra06 | t2_imx1z | That’s an argument for lambda functions. And it’s a matter of personal taste. You don’t need to scatter functions across many files. They can be in the same file. I believe the simplicity is about how you are able to break the logic of your application into isolatable functional parts.
To me, readability in functional languages is easiest. I like how readable destructuring is.
But those are all just language primitives. And arguing about language primitives is a matter of taste. I don’t think you understand what I linked in regards to simple code. It’s not about having your code in one place. It’s about being able to create readable code that is not completed. This, to me means no object inheritance and no abstractions that are hard to follow for a new programmer who is introduced to your code. More like the isolation of your business logic.
By all means though, continue to use node. | null | 0 | 1546024189 | False | 0 | ecqyl6d | t3_aa2peh | null | null | t1_ecqu1al | /r/programming/comments/aa2peh/why_go_sucks_and_you_should_use_node/ecqyl6d/ | 1548190542 | 1 | t5_2fwo | r/programming | public | null |
False | TheOtherHobbes | t2_hbptq | [management] Wouldn't it be easier to ask the waiter? [/management] | null | 0 | 1544711284 | False | 0 | ebp5rg3 | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp5rg3/ | 1547553844 | 35 | t5_2fwo | r/programming | public | null |
False | dpash | t2_5bdkm | No more public updates to Java 8 after January.
Oracle will only provide Java 11 public updates until march and then Java 12.
(Things are slightly different for non-commercial desktop users) | null | 0 | 1546024286 | False | 0 | ecqyqt0 | t3_aa8eqo | null | null | t1_ecqhjf4 | /r/programming/comments/aa8eqo/confused_would_oracles_new_jre_patch_expected_on/ecqyqt0/ | 1548190612 | 1 | t5_2fwo | r/programming | public | null |
False | Poddster | t2_3a27b | > is a known bash pitfall (i.e. it's broken in the general case).
Every line of bash every written is a known bash pitfall that's broken in the general case. I'm certain that the purpose of bash is to write things that are broken in the general case. | null | 0 | 1544711323 | False | 0 | ebp5t23 | t3_a5sg9k | null | null | t1_eboxlib | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp5t23/ | 1547553864 | 110 | t5_2fwo | r/programming | public | null |
False | palparepa | t2_3frgx | I haven't used C++ in a while, and my first thought was "use coroutines". Surprised that those aren't in the language yet.
Still, there are ways to [make them work](https://www.chiark.greenend.org.uk/~sgtatham/coroutines.html), even in C. | null | 0 | 1546024306 | False | 0 | ecqyrz8 | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecqyrz8/ | 1548190627 | 28 | t5_2fwo | r/programming | public | null |
False | thegreatgazoo | t2_32fvm | They are just dog people.
I hack perl, and TMTOWTDOI is life... I guess unless you are a die hard Python person. | null | 0 | 1544711446 | False | 0 | ebp5y41 | t3_a5sg9k | null | null | t1_ebp4exx | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp5y41/ | 1547553926 | 18 | t5_2fwo | r/programming | public | null |
False | killerstorm | t2_m827 | I don't know much about GPU programming, but it seems now you can do many things, like having shared memory with the host, GPU managing GPU tasks and so on. You can even do IO.
E.g. some people found a way to access NVMe or SSD directly from GPU to accelerate databases. https://github.com/heterodb/pg-strom
https://github.com/enfiskutensykkel/ssd-gpu-dma
I dunno if it works for audio applications, maybe there's issue with latency, but it seems you can do a lot of things on GPU nowadays... | null | 0 | 1546024330 | False | 0 | ecqytc4 | t3_aa3ojc | null | null | t1_ecqn0qu | /r/programming/comments/aa3ojc/pessimism_about_parallelism_are_more_that_two/ecqytc4/ | 1548190644 | 1 | t5_2fwo | r/programming | public | null |
False | gnus-migrate | t2_nvuy8 | Fair enough. If 99% of the market is trivial web apps then they should default to Swarm. Sorry for attempting to bring my point of view into the discussion. | null | 0 | 1544711450 | False | 0 | ebp5y9o | t3_a3tk0q | null | null | t1_ebp3e9b | /r/programming/comments/a3tk0q/is_k8s_too_complicated/ebp5y9o/ | 1547553928 | 1 | t5_2fwo | r/programming | public | null |
False | NotUniqueOrSpecial | t2_3wrgy | You should probably go read about Eric Niebler's work on [ranges](https://en.cppreference.com/w/cpp/ranges), if you haven't, considering they're coming in C++20. | null | 0 | 1546024382 | False | 0 | ecqywaw | t3_aach46 | null | null | t3_aach46 | /r/programming/comments/aach46/lazy_code_a_c_header_only_lib_what_if_you_could/ecqywaw/ | 1548190680 | 12 | t5_2fwo | r/programming | public | null |
False | Resource1138 | t2_13f23o | No restaurant with prices over $9 would post their prices. | null | 0 | 1544711589 | False | 0 | ebp6470 | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp6470/ | 1547554001 | -2 | t5_2fwo | r/programming | public | null |
False | KitchenAstronomer | t2_20u00b26 | If you need this you have far bigger problems than you think you do. | null | 0 | 1546024459 | False | 0 | ecqz0nv | t3_aa13tt | null | null | t1_ecqk9y5 | /r/programming/comments/aa13tt/dart_vs_swift_a_comparison/ecqz0nv/ | 1548190735 | 1 | t5_2fwo | r/programming | public | null |
False | Andrew_Sunshine | t2_1rizd7k5 | You can extract specified text in any text editor or IDE with a simple command, and store them in named arrays. And you can batch print using the contents of the arrays. Append before/after lines with the contents of the arrays. Replace specified lines or column or strings with the contents of the arrays in any text editor. Most editors didn't do that. It is quick and convenient. | null | 0 | 1544711759 | False | 0 | ebp6bm1 | t3_a5izk6 | null | null | t1_ebop9ea | /r/programming/comments/a5izk6/a_crosseditor_plugin_to_improve_any_text_editor/ebp6bm1/ | 1547554093 | 1 | t5_2fwo | r/programming | public | null |
False | Hobo-and-the-hound | t2_ndhxhno | Was this comment written by AI? | null | 0 | 1546024604 | False | 0 | ecqz984 | t3_aa91bp | null | null | t1_ecq4cd7 | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecqz984/ | 1548190868 | 6 | t5_2fwo | r/programming | public | null |
False | optomas | t2_36ebd | OCR FTW! | null | 0 | 1544711775 | False | 0 | ebp6cbc | t3_a5sg9k | null | null | t1_ebp3ye8 | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp6cbc/ | 1547554102 | 19 | t5_2fwo | r/programming | public | null |
False | SharedUserPwdReddit | t2_21v80vcr | Dumb question: Why not simply use the nested for loops and make the algorithm reuseable by giving the function a function pointer, like:
void pythagoreanTriples(int n, void (*fun)(int, int, int))
{
int i = 0;
for (int z = 1; ; ++z)
for (int x = 1; x <= z; ++x)
for (int y = x; y <= z; ++y)
if (x*x + y*y == z*z) {
(*fun)(x, y, z);
if (++i == n)
return;
}
} | null | 0 | 1546024677 | False | 0 | ecqzdk3 | t3_aac4hg | null | null | t3_aac4hg | /r/programming/comments/aac4hg/modern_c_lamentations/ecqzdk3/ | 1548190921 | 116 | t5_2fwo | r/programming | public | null |
False | tjpalmer | t2_i3yo8 | Thanks for clarifying that point. I skimmed too quickly so I missed that it was disabled. That's very sad. | null | 0 | 1544711819 | False | 0 | ebp6e7u | t3_a5qm02 | null | null | t1_ebp4a21 | /r/programming/comments/a5qm02/a_tale_of_132_es/ebp6e7u/ | 1547554125 | 13 | t5_2fwo | r/programming | public | null |
False | ack_complete | t2_ubq9z | Unity is a quirky dialect of C# because of the constraints from the old Mono version it used for a long time and the engine runtime that you interact with. One example is foreach(), which was shunned for a long time due to code generation differences between the Mono and .NET C# compilers.
Outside of Unity, I've definitely seen C# programmers gain a LINQ fetish after being introduced to it, only to be forced to back off once explained to them that the .Where() clauses they're using everywhere are causing O(N^2) loops and even the cases that are O(N) are executing substantially slower than a simple and more concise loop. Then they back off and use LINQ in moderation.
| null | 0 | 1546024694 | False | 0 | ecqzek4 | t3_aac4hg | null | null | t1_ecqxrdd | /r/programming/comments/aac4hg/modern_c_lamentations/ecqzek4/ | 1548190933 | 54 | t5_2fwo | r/programming | public | null |
False | SocialAnxietyFighter | t2_uwnee | *dies of anxiety* | null | 0 | 1544712128 | False | 0 | ebp6rgg | t3_a5mk9z | null | null | t1_ebozzm5 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp6rgg/ | 1547554319 | 5 | t5_2fwo | r/programming | public | null |
False | zwhitchcox | t2_h3tbu | Ok, well, thanks for your feedback | null | 0 | 1546024912 | False | 0 | ecqzr4s | t3_aa2peh | null | null | t1_ecqyl6d | /r/programming/comments/aa2peh/why_go_sucks_and_you_should_use_node/ecqzr4s/ | 1548191089 | 1 | t5_2fwo | r/programming | public | null |
False | orbat | t2_333we | > *Câlisse de tabarouette*
Found the tabarnaco!
En fait, j'ai habité à Montréal (juste 1 an, mais quand même.) Je connait pas un mot de français quand j'ai déménagé; maintenant, je parle mauvais français – mais avec un (leger) accent québécois. Des francophones trouvent ça drôle | null | 0 | 1544712135 | 1544723730 | 0 | ebp6rrm | t3_a5mk9z | null | null | t1_eboj9c4 | /r/programming/comments/a5mk9z/visual_studio_code_version_130_released/ebp6rrm/ | 1547554323 | 3 | t5_2fwo | r/programming | public | null |
False | oorza | t2_3g5rj | What about junior developers who aren't necessarily aware of new features and how/when to use them? | null | 0 | 1546024927 | False | 0 | ecqzs03 | t3_aaagix | null | null | t1_ecqntkb | /r/programming/comments/aaagix/why_review_code/ecqzs03/ | 1548191100 | 1 | t5_2fwo | r/programming | public | null |
False | AlexKrois | t2_dgffo | This isn't a well advertised feature, but you can collapse all but alt clicking on one of the collapse buttons for the files, so this is unecessary.
&#x200B; | null | 0 | 1544712302 | False | 0 | ebp6z26 | t3_a5t9ul | null | null | t3_a5t9ul | /r/programming/comments/a5t9ul/i_made_a_userscript_that_adds_a_collapse_all/ebp6z26/ | 1547554414 | 4 | t5_2fwo | r/programming | public | null |
False | quicknir | t2_iczmz | I don't know what your definition of Modern C++ is. C++11 and newer is definitely the majority. Use of lambdas is common place. Using manual memory management instead of smart pointers without an awesome reason is no longer tolerated at many (I suspect, most, at least out of shops that have any set of technical guidelines/code review to start with) shops. Using move semantics is just a given. Things like `variant` or structured bindings which are 17 are a bit more of the bleeding edge and yes many places aren't using them at all. Ranges is only just entering iin 20, and furthermore are (IMHO) a nice-to-have, and you don't see it used hardly at all. If you can give me a more concrete example of what you mean by modern maybe I can give you a better answer. Mostly what I can say is that most new features are fairly popular, and programmers do want to get their hands on them. If a company isn't moving towards these features it's usually because either a) technical debt, or b) very specific reasons.
One thing maybe it would be helpful to remember is that many of the people writing blog posts or otherwise involved in the C++ community (giving talks) are people setting or influencing C++ style at big places like Google, Microsoft, Adobe, etc. It's also worth remembering that game dev (where the author of this post hails from) has, for various reasons (some IMHO, good, some bad, some used to be good) a seemingly more mixed view on developments in C++ than the average community already using it. | null | 0 | 1546024936 | False | 0 | ecqzshe | t3_aac4hg | null | null | t1_ecqu6o3 | /r/programming/comments/aac4hg/modern_c_lamentations/ecqzshe/ | 1548191105 | 28 | t5_2fwo | r/programming | public | null |
False | alturi | t2_ld530 | assorted fish plate (no shrimps) $9.99 | null | 0 | 1544712340 | False | 0 | ebp70qo | t3_a5sg9k | null | null | t3_a5sg9k | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp70qo/ | 1547554435 | 649 | t5_2fwo | r/programming | public | null |
False | yawaramin | t2_77bue | If we're going to argue about what a 'best practice' is, then we can look up the definition ( https://en.wikipedia.org/wiki/Best_practice ):
> A best practice is a method or technique that has been generally accepted as superior to any alternatives because it produces results that are superior to those achieved by other means _or because it has become a standard way of doing things,_
(emphasis mine)
My point is that it's a 'best practice' (as per the commonly understood meaning of the phrase) _within the codebase,_ precisely because it has become a standard of way doing things in the codebase. Best practices don't have to be universal; what works for your codebase may not work for mine. | null | 0 | 1546025053 | False | 0 | ecqzzf9 | t3_aaagix | null | null | t1_ecqvvba | /r/programming/comments/aaagix/why_review_code/ecqzzf9/ | 1548191192 | 1 | t5_2fwo | r/programming | public | null |
False | redwall_hp | t2_1eplo | In Python you just `import replicator`, then call Matter.replicate() and pass it the dish. | null | 0 | 1544712412 | False | 0 | ebp73o7 | t3_a5sg9k | null | null | t1_ebp44ix | /r/programming/comments/a5sg9k/how_unix_programmers_at_restaurants_search_menus/ebp73o7/ | 1547554471 | 12 | t5_2fwo | r/programming | public | null |
False | yawaramin | t2_77bue | 1. You can write down lots of internal rules; no one will read them. This is just reality.
2. GP wasn't talking about for-loops but about list-comprehensions, which are idiomatic syntax sugar in various functional languages to give the code a flatter, more imperative appearance while still preserving functional semantics. | null | 0 | 1546025273 | False | 0 | ecr0ct0 | t3_aaagix | null | null | t1_ecqrjbc | /r/programming/comments/aaagix/why_review_code/ecr0ct0/ | 1548191358 | 1 | t5_2fwo | r/programming | public | null |
False | eras | t2_28h5b | AIUI, the underlying Linux tech is the same - except LXD doesn't use overlay filesystems - but the idea in LXD is to "replace" complete virtual machines with thin jails/zones/whatchacallthem, whereas with Docker you build special-purpose jail environments per app. | null | 0 | 1544712413 | False | 0 | ebp73q3 | t3_a5suza | null | null | t1_ebp3jjw | /r/programming/comments/a5suza/lxd_38_has_been_released/ebp73q3/ | 1547554471 | 6 | t5_2fwo | r/programming | public | null |
False | neitz | t2_46qfv | Every algorithm that runs on a modern computer is just add, subtract, multiply, and delete (along with memory load/store). Based on your logic every algorithm that is computable is just trivial math. | null | 0 | 1546025302 | False | 0 | ecr0eh1 | t3_aa91bp | null | null | t1_ecqfyyu | /r/programming/comments/aa91bp/computer_vision_ai_object_detection_and/ecr0eh1/ | 1548191408 | 7 | t5_2fwo | r/programming | public | null |
False | cobknob | t2_4trbc | Hey now, how would the scrum ecosystem survive without the waterfall straw man to prop it up? | null | 0 | 1544712496 | False | 0 | ebp774n | t3_a5mumu | null | null | t1_ebouo3l | /r/programming/comments/a5mumu/agile_estimates_versus_noestimates_bridging_the/ebp774n/ | 1547554512 | 3 | t5_2fwo | r/programming | public | null |
False | HonkHonkBeepKapow | t2_jsmlnh1 | As of 2016 changelists at my workplace were still attracting comments in code review for their use of lambda functions — either because reviewers didn't know what they were, or they were concerned that other programmers on the team wouldn't know what they were.
Granted, if you aren't familiar with the syntax of lambda functions in C++ it is pretty alarming to encounter one, 'cause it looks like somebody had a stroke. But this is a feature that was introduced in C++11!
So, anecdotally, I would say that the adoption of modern C++ is... pretty slow. | null | 0 | 1546025313 | False | 0 | ecr0f3z | t3_aac4hg | null | null | t1_ecqu6o3 | /r/programming/comments/aac4hg/modern_c_lamentations/ecr0f3z/ | 1548191415 | 117 | 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.