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 | TheDevilsAdvokaat | t2_b1jb08s | Yes. Why would you, now?
| null | 0 | 1544612291 | False | 0 | ebmgw6x | t3_a57th7 | null | null | t3_a57th7 | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmgw6x/ | 1547508475 | 1 | t5_2fwo | r/programming | public | null |
False | noperduper | t2_1ln41pwl | That is the #1 bullshit that constantly reminds me I should switch job again. NO, your code is NOT self-documenting. Not unless you think exactly like me, have my same cultural, traditional background and my same level of English language and same 'evocative' feelings or think architecturally like me. Exactly like me.
Otherwise **No**.
Document your shit or at least write comments; I don't give a fuck if they get outdated, if you change the code, read the comments around it and change them as well.
Whoever says 'code should be self documenting' is either a philosopher dreaming of the perfect software codebase, or has never worked in a real team with > 3 people working on the same piece of software in a real company with real managers and real deadlines. | null | 0 | 1545900742 | 1546255032 | 0 | ecn96ev | t3_a95jxj | null | null | t1_eci8h2f | /r/programming/comments/a95jxj/the_420_kernel_has_been_released/ecn96ev/ | 1548128158 | 3 | t5_2fwo | r/programming | public | null |
False | ZestycloseNoise | t2_22de1oln | There’re no similar companies so far, but there’s demand for the lotteries. That’s why GG decided to become the first major organization in African market. | null | 0 | 1544612323 | False | 0 | ebmgws2 | t3_a5h57h | null | null | t3_a5h57h | /r/programming/comments/a5h57h/why_did_they_decide_to_carry_out_their_activities/ebmgws2/ | 1547508482 | 1 | t5_2fwo | r/programming | public | null |
False | TheBestOpinion | t2_94mm1 | Naming something that returns meta-data a 'meta-data-returner' is comedically pragmatic, which fits the german stereotype
And a 'returner' as in 'something that returns', like... that's not how it works, germany. You can't just add 'er' to the end of a word and make it a job name. That's how german works, and check how *that* turned out ! | null | 0 | 1545900827 | False | 0 | ecn98mk | t3_a9n1x4 | null | null | t1_ecn0qk2 | /r/programming/comments/a9n1x4/microservices_at_spotify/ecn98mk/ | 1548128184 | 5 | t5_2fwo | r/programming | public | null |
False | OnlyForF1 | t2_h33f9 | And then they inevitably choose to do something completely different that nobody likes | null | 0 | 1544612365 | False | 0 | ebmgxlp | t3_a5969k | null | null | t1_ebkyst3 | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebmgxlp/ | 1547508492 | -1 | t5_2fwo | r/programming | public | null |
False | warlaan | t2_bxlw1 | Downvoting someone because they say that an opinion is unpopular... talk about killing the messenger.
He's right though, try explaining the benefits of using var over explicit typing. Sure, explicit typing is more restrictive and therefore seems safer, but it imposes the wrong restrictions giving you freedom in other places where you don't want it. | null | 0 | 1545900914 | False | 0 | ecn9az0 | t3_a9q0uh | null | null | t1_ecn4upf | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecn9az0/ | 1548128215 | -2 | t5_2fwo | r/programming | public | null |
False | shevegen | t2_atqp | Come on BSD folks, get better - Linux needs more competition! | null | 0 | 1544612375 | False | 0 | ebmgxt6 | t3_a5gxm6 | null | null | t3_a5gxm6 | /r/programming/comments/a5gxm6/freebsd_12_released/ebmgxt6/ | 1547508495 | 30 | t5_2fwo | r/programming | public | null |
False | thatdidnotwork | t2_bldw6 | Very nice and comprehensive indeed.
One point I would add: it would be helpful to have a small example (maybe even as a comment) for syntax usage under each capter.
Ie. for list:
list = [first_value, second_value, third_value, ...]
For dicts:
dict = {key_one: value_one, key_two: value_two, ...}
| null | 0 | 1545901147 | False | 0 | ecn9gs2 | t3_a9o4zd | null | null | t3_a9o4zd | /r/programming/comments/a9o4zd/comprehensive_python_cheatsheet/ecn9gs2/ | 1548128286 | 1 | t5_2fwo | r/programming | public | null |
False | shevegen | t2_atqp | Go is not a particularly well-designed language.
The primary goal is to be a simpler C. So it makes sense to cut down on complexity if you come from this angle.
Merely having that as goal, though, does not make Go an awesome language. I find it extremely boring.
Only Dart is more boring. | null | 0 | 1544612630 | False | 0 | ebmh2tt | t3_a5gd84 | null | null | t1_ebmcu27 | /r/programming/comments/a5gd84/why_can_inheritance_be_dangerous_check_the/ebmh2tt/ | 1547508557 | -1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1545901315 | False | 0 | ecn9kxu | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecn9kxu/ | 1548128337 | -2 | t5_2fwo | r/programming | public | null |
False | marcocen | t2_5o9lc | Here I was, reading these comments not understanding what they where talking about with the Reddit loading slow thing.
Then it hit me: I use the old Reddit theme | null | 0 | 1544612744 | False | 0 | ebmh522 | t3_a55xbm | null | null | t1_ebl4658 | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebmh522/ | 1547508612 | 3 | t5_2fwo | r/programming | public | null |
False | NoMoreNicksLeft | t2_7mcb | > An existing employee who assumes the responsibility (typically the store manager) would do other things (as they usually do) until it was time to turn the lights on
And do a shitty job of it. Late sometimes, not at all sometimes.
I assume that this isn't busy work, that there's a reason for it. In which case, the inconsistency is intolerable. And while you can pay someone to do it consistently, it costs too much... they have to be dedicated to this shit.
If it's just busy work that doesn't matter, just don't do it at all, save everyone grief. | null | 0 | 1545901350 | False | 0 | ecn9lrv | t3_a9ezut | null | null | t1_eclkdqs | /r/programming/comments/a9ezut/the_internet_of_unprofitable_things/ecn9lrv/ | 1548128348 | 1 | t5_2fwo | r/programming | public | null |
False | sekhat | t2_4ivsc | > Nothing in the strategy pattern says that it is "closed to modifications". That's just something you tacked on in an attempt to fit the text.
Your right, that the strategy pattern was not created in response to the Open/Closed principal. But it can be used to fulfill it. Since I never made any claim that the strategy pattern itself makes claims as being closed to modification. Your putting words in my mouth.
The example would be though, that in the cases where you'd use the strategy pattern, to change the behaviour of the something via supplying a given strategy, allows you to change the externally observed piece of behaviour of a function or class, without changing it's actual code.
Thus the function/method/class that takes the Strategy object (though not neccessarrily the strategy object itself) can be thought of as "Open to extension" via different implementations of the strategy objects, and "Closed to modification" because you don't need to modify the function/method/class to change it's behaviour, you pass a seperate object to change it's behaviour.
> OCP never stated how you do that,
Granted the original definition, as according to wikipedia was quite explicit. I believe the redefinition by Bob Martin was less so, but was shown with abstract base classes.
But as the first line of the wikipedia entry also states
> the **open/closed principle** states "*software entities (classes, modules, functions, etc.) should be open for extension, but closed for modification*";[\[1\]](https://en.wikipedia.org/wiki/Open%E2%80%93closed_principle#cite_note-1) that is, such an entity can allow its behaviour to be extended without modifying its [source code](https://en.wikipedia.org/wiki/Source_code).
Which, is always the definition I've understood the OCP as when I first learned of OCP and probably the definition most people here, who follow SOLID, will be using too. | null | 0 | 1544612782 | 1546171083 | 0 | ebmh5sp | t3_a56am1 | null | null | t1_ebmfns2 | /r/programming/comments/a56am1/whats_the_deal_with_the_solid_principles_part_2/ebmh5sp/ | 1547508622 | 2 | t5_2fwo | r/programming | public | null |
False | Basmannen | t2_9w4kr | We'll have to see if it's scalable first though | null | 0 | 1545901359 | False | 0 | ecn9m0h | t3_a9qz9q | null | null | t1_ecn8qtx | /r/programming/comments/a9qz9q/amoeba_finds_approximate_solutions_to_nphard/ecn9m0h/ | 1548128351 | 3 | t5_2fwo | r/programming | public | null |
False | shevegen | t2_atqp | The article is pretty bad, but even more so because it focuses on
Kotlin primarily/exclusively.
Languages are different and they treat inheritance differently too
(if they even have them in the first place).
I think when it comes to inheritance, keep it simple at all times. It
can not model reallife as such 1:1. For example, you can not
construct a "tree of life" with single inheritance - it's just not working.
(If you don't know why then you may lack knowledge in biology
and taxonomy. It gets even worse on the level of molecular biology
since genes do not have the "species" concept attached to them
at all whatsoever; yet they may often be exchanged very rapidly,
see antibiotics resistance in bacteria.)
> Are there any alternatives? Yes. We can change the code, or we
> can use composition.
This is just a lousy example of code. You can easily retain single
inheritance in this case.
Composition allows for more flexibility but single inheritance is
composition too, just more constrained, obviously. | null | 0 | 1544612847 | False | 0 | ebmh71l | t3_a5gd84 | null | null | t3_a5gd84 | /r/programming/comments/a5gd84/why_can_inheritance_be_dangerous_check_the/ebmh71l/ | 1547508637 | 0 | t5_2fwo | r/programming | public | null |
False | TheBestOpinion | t2_94mm1 | >I have never heard of the "begin" key, what locale is this?
[These ones my dude](https://i.imgur.com/QuKnyh9.png) | null | 0 | 1545901511 | False | 0 | ecn9pn6 | t3_a9njuu | null | null | t1_ecly7i9 | /r/programming/comments/a9njuu/micro_intuitive_terminalbased_text_editor/ecn9pn6/ | 1548128424 | 1 | t5_2fwo | r/programming | public | null |
False | hennell | t2_2h8d6 | >pipe in on a script for what to do if you are approached.
Spent a silly amount of time trying to understand what kind of .py or .sh code could even help here...
​ | null | 0 | 1544612850 | False | 0 | ebmh74e | t3_a57th7 | null | null | t1_ebkloyr | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmh74e/ | 1547508638 | 4 | t5_2fwo | r/programming | public | null |
False | intermediatetransit | t2_i93qa | Sigh. Couldn't agree more.
It's really quite crazy how many people get away with it. | null | 0 | 1545901521 | False | 0 | ecn9pwl | t3_a95jxj | null | null | t1_ecn96ev | /r/programming/comments/a95jxj/the_420_kernel_has_been_released/ecn9pwl/ | 1548128428 | 2 | t5_2fwo | r/programming | public | null |
False | FlatBot | t2_3fy92 | Since I admin all the Atlassian products, I’ll keep an eye out. No failing pull requests yet. We do have the data center edition which is scalable so I’m not too concerned. I like the layout pretty well. We don’t use on mobile at all. If you are going to deal with code I think you’d want to pull out a laptop. | null | 0 | 1544612885 | False | 0 | ebmh7tb | t3_a57th7 | null | null | t1_eblzfug | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmh7tb/ | 1547508646 | 3 | t5_2fwo | r/programming | public | null |
False | cuddlegoop | t2_wjx89 | Honestly you just google, look for blog posts, forum discussions etc, and apply your own critical thinking to weigh up the arguments when your research comes up with multiple answers.
The skill of doing this efficiently is honestly such a huge deal for programmers, we're always learning we're always disseminating new information. Getting out on the internet and looking for info is a big part of the job.
I can't actually point you to a resource because my big dive into project structure best practices was a couple years ago (should brush up again tbh) and I haven't kept track of the resources I found. I can however say with great confidence that they're out there and Google will find them for you pretty quickly :) | null | 0 | 1545901608 | False | 0 | ecn9s0p | t3_a9q0uh | null | null | t1_ecmw8lf | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecn9s0p/ | 1548128453 | 5 | t5_2fwo | r/programming | public | null |
False | m00nh34d | t2_4aq6t | Yeah, you'd need something on the client side to decrypt it then handle the version control/diff issues. It would just be blob storage at that stage. | null | 0 | 1544612935 | False | 0 | ebmh8sv | t3_a57th7 | null | null | t1_ebmaini | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmh8sv/ | 1547508659 | 4 | t5_2fwo | r/programming | public | null |
False | Brekekek | t2_3fz9y89 | It looks good but sorry, if i need node for this it sucks! | null | 1 | 1545901658 | False | 0 | ecn9t7y | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecn9t7y/ | 1548128469 | 2 | t5_2fwo | r/programming | public | null |
False | alecco | t2_3a3zr | RSS feed here | null | 0 | 1544613248 | False | 0 | ebmhezm | t3_a55xbm | null | null | t1_ebl3kcb | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebmhezm/ | 1547508735 | 3 | t5_2fwo | r/programming | public | null |
False | johanvts | t2_39bdh | Why not just use version control + text editor? Why does this need an app? | null | 1 | 1545901711 | False | 0 | ecn9uiy | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecn9uiy/ | 1548128485 | 1 | t5_2fwo | r/programming | public | null |
False | eliasv | t2_786hb | Why would you *want* to choose your own delimiter? That just seems ugly and unnecessary. And they have considered having variations on the syntax to remove indentation but have pretty solidly reasoned themselves to the position that it's better for those things to be handled by libraries (since there's always going to be someone who wants it done slightly differently). With constant folding on the way the performance problem of doing it at runtime also is mitigated. | null | 0 | 1544613284 | False | 0 | ebmhfqm | t3_a5969k | null | null | t1_ebm0pym | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebmhfqm/ | 1547508743 | 3 | t5_2fwo | r/programming | public | null |
False | intermediatetransit | t2_i93qa | No. No they are not.
I've had multiple generations of Macs — none of them have been _amazing_ with bluetooth. | null | 0 | 1545901969 | False | 0 | ecna0mc | t3_a95jxj | null | null | t1_ech06n6 | /r/programming/comments/a95jxj/the_420_kernel_has_been_released/ecna0mc/ | 1548128560 | 0 | t5_2fwo | r/programming | public | null |
False | thisguy1111 | t2_5kk1j | Careful with that edge | null | 0 | 1544613335 | False | 0 | ebmhgus | t3_a57th7 | null | null | t1_ebmekun | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmhgus/ | 1547508758 | 3 | t5_2fwo | r/programming | public | null |
False | seepel | t2_ekdfv | There is a code mirror addon for a vim emulator, works reasonably well. | null | 0 | 1545901969 | False | 0 | ecna0n2 | t3_a9tm4z | null | null | t1_ecmsgt5 | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecna0n2/ | 1548128560 | 2 | t5_2fwo | r/programming | public | null |
False | veske | t2_dceyc | So simple to increase the average IQ of your whole country | null | 0 | 1544613557 | False | 0 | ebmhlkt | t3_a57th7 | null | null | t1_eblll2v | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmhlkt/ | 1547508816 | 3 | t5_2fwo | r/programming | public | null |
False | MineralPlunder | t2_amu2j | > VC Code [...] blinking cursor
It was found and fixed by someone(Jo Liss) with an avatar that looks like anime, who doesn't seem to be affiliated with mirrosoft https://github.com/Microsoft/vscode/issues/22900 | null | 0 | 1545902160 | False | 0 | ecna53t | t3_a9tm4z | null | null | t1_ecn6ktf | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecna53t/ | 1548128618 | 6 | t5_2fwo | r/programming | public | null |
False | beders | t2_4dnt2 | And if you want even more useful features there's Clojure as well | null | 0 | 1544613773 | False | 0 | ebmhpy0 | t3_a5969k | null | null | t1_ebm9dy5 | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebmhpy0/ | 1547508870 | 0 | t5_2fwo | r/programming | public | null |
False | __crackers__ | t2_oen2h | Yeah, but Qt will load a *shared* library. Every Electron app loads its own, non-shared, HTML/JS stack.
That’s why Electron sucks. | null | 0 | 1545902333 | False | 0 | ecna97a | t3_a9tm4z | null | null | t1_ecn5a6d | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecna97a/ | 1548128668 | 5 | t5_2fwo | r/programming | public | null |
False | pron98 | t2_f0thb | Dude, it's a parody account by a Java developer. | null | 0 | 1544613781 | 1544622388 | 0 | ebmhq4i | t3_a5969k | null | null | t1_eblbmfx | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebmhq4i/ | 1547508872 | -1 | t5_2fwo | r/programming | public | null |
False | funny_falcon | t2_31pdf | > whereas the other is a generational per thread compacting garbage collector
Go's collector is neither generational (yet) nor compacting (yet) . And doubtfully it could be called "per thread". | null | 0 | 1545902389 | False | 0 | ecnaag5 | t3_a8rptf | null | null | t1_ecgdl7f | /r/programming/comments/a8rptf/i_do_not_like_go/ecnaag5/ | 1548128683 | 1 | t5_2fwo | r/programming | public | null |
False | 24llamas | t2_4l50x | While I agree that it will be devestating for SaaS, nothing here is in conflict with the GDPR. The GDPR has a clear exception for compliance with lawful law enforcement and national security orders. | null | 0 | 1544613896 | False | 0 | ebmhsjb | t3_a57th7 | null | null | t1_ebma7uz | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmhsjb/ | 1547508901 | 1 | t5_2fwo | r/programming | public | null |
False | cowinabadplace | t2_3xj24 | I changed my approach to this. If we have a deadline, it's the PM's job to have figured out what goes out and what gets cut by that time. They have updates and visibility every week, so they've got to tell what we can sell by the date. If there's no real reason for the date, easiest to change the date. If you can't change the date, the only lever you have is functionality, since the Man Moth guards how much you can add per unit time. | null | 0 | 1545902392 | False | 0 | ecnaahv | t3_a9q0uh | null | null | t1_eclznfd | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecnaahv/ | 1548128684 | 2 | t5_2fwo | r/programming | public | null |
False | slowpush | t2_dp27a | Because development isn’t free. | null | 0 | 1544613899 | False | 0 | ebmhsle | t3_a5bwkl | null | null | t1_ebmg36w | /r/programming/comments/a5bwkl/firefox_developer_edition/ebmhsle/ | 1547508902 | 3 | t5_2fwo | r/programming | public | null |
False | TheBestOpinion | t2_94mm1 | >The risks of overshooting these limits are potentially quite serious:
> * Reputation for overcomplexity, loss of users. Becoming the next C++ or Haskell.
Welp. I think you might be a tad late on that one. | null | 0 | 1545902422 | False | 0 | ecnab32 | t3_a9swiz | null | null | t3_a9swiz | /r/programming/comments/a9swiz/rust_2019_and_beyond_limits_to_some_growth/ecnab32/ | 1548128692 | 32 | t5_2fwo | r/programming | public | null |
False | 0b_0101_001_1010 | t2_155rs2 | > Clang, LLVM, LLD, LLDB, compiler-rt and libc++ has been updated to version 6.0.1.
No version 7? Version 8 releases after christmas usually =/ | null | 0 | 1544613918 | False | 0 | ebmht0e | t3_a5gxm6 | null | null | t3_a5gxm6 | /r/programming/comments/a5gxm6/freebsd_12_released/ebmht0e/ | 1547508909 | 8 | t5_2fwo | r/programming | public | null |
False | MineralPlunder | t2_amu2j | >Electron is pretty damn great
The extent to which it's great is debatable.
>anyone who has performance issues with electron apps is on hardware that is far, far out of date
That's just false. | null | 0 | 1545902463 | False | 0 | ecnabw9 | t3_a9tm4z | null | null | t1_ecms4ut | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnabw9/ | 1548128702 | 8 | t5_2fwo | r/programming | public | null |
False | eliasv | t2_786hb | That doesn't "fix" it. Triple quotes is a worse solution than the one they already proposed, since it still requires support for escaping, which is exactly what they want to avoid. They only put the feature on hold because they think they can do even better. Good job you're not in charge, isn't it... | null | 0 | 1544614088 | False | 0 | ebmhwni | t3_a5969k | null | null | t1_ebkspdk | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebmhwni/ | 1547508954 | 1 | t5_2fwo | r/programming | public | null |
False | cowinabadplace | t2_3xj24 | In my experience, no, but it depends on the problem being faced, I imagine. In a low iteration operation like a Mars Rover launch, I imagine it may help. In most corporate environments, though, rapid iteration will usually yield better results because 99% of the time the planning was in the wrong direction. | null | 0 | 1545902505 | False | 0 | ecnacqo | t3_a9q0uh | null | null | t1_eclo2sa | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecnacqo/ | 1548128712 | 5 | t5_2fwo | r/programming | public | null |
False | swordglowsblue | t2_2nrkh5d0 | >it focuses on Kotlin primarily/exclusively.
I'm all for branching out, but considering it's an article on kotlin-academy.com, I'd say focusing on Kotlin is perfectly reasonable.
Other than that, I completely agree. | null | 0 | 1544614104 | False | 0 | ebmhwz6 | t3_a5gd84 | null | null | t1_ebmh71l | /r/programming/comments/a5gd84/why_can_inheritance_be_dangerous_check_the/ebmhwz6/ | 1547508958 | 1 | t5_2fwo | r/programming | public | null |
False | funny_falcon | t2_31pdf | btw, code generation tools is a late adoption of Go ecosystem. Standard library relies on reflection exclusively. | null | 0 | 1545902758 | False | 0 | ecnai7c | t3_a8rptf | null | null | t1_ecgepnr | /r/programming/comments/a8rptf/i_do_not_like_go/ecnai7c/ | 1548128781 | 2 | t5_2fwo | r/programming | public | null |
False | aanzeijar | t2_oheso | I've had problems with VPN and firewall policies before where I couldn't get a direct connection between the two hosts and I did a manual fetch too (that is: compute objects, bundle, send via some other channel, unbundle, put into object pool). That's why git is great. If the porcelain fails, use the plumbing directly.
But then again, "tar czf repo.tar.gz .git" works pretty well at bundling too. | null | 0 | 1544614117 | 1544614380 | 0 | ebmhx9e | t3_a59gw5 | null | null | t1_ebkwdr7 | /r/programming/comments/a59gw5/git_bundle_converts_your_whole_repository_into_a/ebmhx9e/ | 1547508962 | 2 | t5_2fwo | r/programming | public | null |
False | Veranova | t2_fz1lj | It's there a JS static analysis tool that can look at a file and tell you with certainty that a constant isn't used elsewhere in the codebase?
I haven't seen this in ESLint? But we use it heavily so I would definitely switch it on, as I agree automation>process.
The process is just the in lieu of automation to minimise future pain in this case. | null | 0 | 1545902820 | False | 0 | ecnajj4 | t3_a9q0uh | null | null | t1_ecmec6q | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecnajj4/ | 1548128797 | 3 | t5_2fwo | r/programming | public | null |
False | sickofthisshit | t2_bw07 | It is always a mystery to me that Linux took off when BSD was already a thing. | null | 0 | 1544614459 | False | 0 | ebmi4jy | t3_a5gxm6 | null | null | t1_ebmgxt6 | /r/programming/comments/a5gxm6/freebsd_12_released/ebmi4jy/ | 1547509051 | 20 | t5_2fwo | r/programming | public | null |
False | radarsat1 | t2_39dp2 | [like this?](https://handbrake.fr/) | null | 0 | 1545902940 | False | 0 | ecnam3g | t3_a9npfu | null | null | t1_ecmwws1 | /r/programming/comments/a9npfu/offline_voice_ai_within_512_kb_of_ram_youtube/ecnam3g/ | 1548128828 | 9 | t5_2fwo | r/programming | public | null |
False | pt7892 | t2_fkv64tu | Where is blackbox option in debugger? | null | 0 | 1544614786 | False | 0 | ebmibfx | t3_a5bwkl | null | null | t3_a5bwkl | /r/programming/comments/a5bwkl/firefox_developer_edition/ebmibfx/ | 1547509136 | 1 | t5_2fwo | r/programming | public | null |
False | abhi_uno | t2_27myw8fg | You must joking right? can't you see those 100\~400 euros [https://docs.snips.ai/guides/console-guides/console/set-intents#generate-training-examples](https://docs.snips.ai/guides/console-guides/console/set-intents#generate-training-examples) | null | 1 | 1545902980 | False | 0 | ecnamwt | t3_a9npfu | null | null | t1_ecn8eyw | /r/programming/comments/a9npfu/offline_voice_ai_within_512_kb_of_ram_youtube/ecnamwt/ | 1548128839 | 0 | t5_2fwo | r/programming | public | null |
False | Visticous | t2_11dscu5 | /r/privacy would like to have a word with you | null | 0 | 1544614929 | False | 0 | ebmiem5 | t3_a5bwkl | null | null | t1_ebmama1 | /r/programming/comments/a5bwkl/firefox_developer_edition/ebmiem5/ | 1547509204 | 2 | t5_2fwo | r/programming | public | null |
False | office_throway | t2_14edsv | Try MongoDB | null | 0 | 1545903011 | False | 0 | ecnankh | t3_a9qz9q | null | null | t1_ecn9m0h | /r/programming/comments/a9qz9q/amoeba_finds_approximate_solutions_to_nphard/ecnankh/ | 1548128846 | 23 | t5_2fwo | r/programming | public | null |
False | nikbackm | t2_1q5f | Just use ConEmu? | null | 0 | 1544614942 | False | 0 | ebmiew6 | t3_a57gmy | null | null | t1_ebm2que | /r/programming/comments/a57gmy/new_experimental_windows_console_features/ebmiew6/ | 1547509208 | 2 | t5_2fwo | r/programming | public | null |
False | wikwikwik | t2_2rjyrp4o | I don't think either technology sucks. There's just different design choices.
For example, some would argue that separate stacks are better. Some wouldn't.
Now, personally I don't like electron but that doesn't mean it sucks. I'm active in gamedev and we often find it more efficient to use web UI but I wouldn't choose either Qt or Electron for it. | null | 1 | 1545903211 | False | 0 | ecnarnw | t3_a9tm4z | null | null | t1_ecna97a | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnarnw/ | 1548128898 | -3 | t5_2fwo | r/programming | public | null |
False | therearesomewhocallm | t2_4qsdr | Their JS engine is much better than Chrome's in some ways. Some emscripten generated code I've been working on runs about 4 times faster on Firefox then Chrome.
The major downside is that you can't live edit JS. | null | 0 | 1544615000 | False | 0 | ebmig6b | t3_a5bwkl | null | null | t1_ebm3j7e | /r/programming/comments/a5bwkl/firefox_developer_edition/ebmig6b/ | 1547509224 | 8 | t5_2fwo | r/programming | public | null |
False | gigobyte | t2_gluz1 | For JavaScript Developers\* | null | 0 | 1545903211 | False | 0 | ecnaro4 | t3_a9xs5q | null | null | t3_a9xs5q | /r/programming/comments/a9xs5q/devrewind_2018_010_top_2018_moments_for_developers/ecnaro4/ | 1548128898 | 6 | t5_2fwo | r/programming | public | null |
False | ponytoaster | t2_b3kah | What's more cultured than eating cold beans out of a can? | null | 0 | 1544615033 | False | 0 | ebmigxg | t3_a4n8jv | null | null | t1_ebmgsq4 | /r/programming/comments/a4n8jv/why_software_developers_are_paid_5x_more_in_the/ebmigxg/ | 1547509232 | 1 | t5_2fwo | r/programming | public | null |
False | Lachlantula | t2_mh5os | There's sooo many of these... but this looks good. Will give it a shot! | null | 0 | 1545903323 | False | 0 | ecnatwb | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnatwb/ | 1548128925 | 1 | t5_2fwo | r/programming | public | null |
False | snaftyroot | t2_u7xj4 | i only run into that problem when using react or vue | null | 0 | 1544615055 | False | 0 | ebmihfp | t3_a5bwkl | null | null | t1_ebm9mz1 | /r/programming/comments/a5bwkl/firefox_developer_edition/ebmihfp/ | 1547509239 | 1 | t5_2fwo | r/programming | public | null |
False | jesseschalken | t2_ay6wh | Use TypeScript or Flow. I'm not sure if they can list all unused symbols across a codebase in one step, but they can at least tell you if a specific symbol is unused, so they have the information. I know TypeScript will also show symbols that are both unexported and unused in grey. | null | 0 | 1545903366 | False | 0 | ecnauru | t3_a9q0uh | null | null | t1_ecnajj4 | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecnauru/ | 1548128936 | 5 | t5_2fwo | r/programming | public | null |
False | kace91 | t2_91wwk | Seeing the kind of improvements Microsoft is pushing nowadays, I keep wondering what they would come up with if they could create an OS from scratch, without the hindrance of decades of legacy support weighting them down.
| null | 0 | 1544615132 | False | 0 | ebmij5f | t3_a57gmy | null | null | t3_a57gmy | /r/programming/comments/a57gmy/new_experimental_windows_console_features/ebmij5f/ | 1547509260 | 12 | t5_2fwo | r/programming | public | null |
False | antlife | t2_gw7ma | Qt is extremely modern and blows Electron out of the water in my opinion. But it's not JavaScript and is more involved. If you're a JavaScript guy, you'll likely have a learning curve.
But it is awesome and I recommend everyone use it if they want beautiful looking applications. | null | 0 | 1545903380 | False | 0 | ecnav24 | t3_a9tm4z | null | null | t1_ecn5ucz | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnav24/ | 1548128940 | 12 | t5_2fwo | r/programming | public | null |
False | zesterer | t2_g3g1z | R-r-r-r-r-rust! /s but not /s | null | 0 | 1544615263 | False | 0 | ebmim2t | t3_a5c8hi | null | null | t1_ebm2hvv | /r/programming/comments/a5c8hi/ikos_21_an_open_source_static_analyzer_for_c_and/ebmim2t/ | 1547509296 | -34 | t5_2fwo | r/programming | public | null |
False | puradawid | t2_janux | Are you sure it works equally well? Static/strict typing compilers check what kind of interface is used, which is not a case with dynamic ones - tests have to cover this case and check that usage. I think I get your point that having well-defined interfaces between objects is also the same way of separating things, but what I am concerned about is using these interfaces properly without mixing things up.
Is there another way to keep these interface usages properly in dynamically typed languages? | null | 0 | 1545903391 | False | 0 | ecnav9g | t3_a9q0uh | null | null | t1_ecmuvzw | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecnav9g/ | 1548128942 | 14 | t5_2fwo | r/programming | public | null |
False | veske | t2_dceyc | I think you meant to say terminal multiplexing programs ? | null | 0 | 1544615297 | False | 0 | ebmimxh | t3_a57gmy | null | null | t1_ebl4s2z | /r/programming/comments/a57gmy/new_experimental_windows_console_features/ebmimxh/ | 1547509307 | 1 | t5_2fwo | r/programming | public | null |
False | lexcess | t2_795cu | Maybe give Netvibes a go, but like the old start.com or Google IG | null | 0 | 1545903403 | False | 0 | ecnavic | t3_a9nki8 | null | null | t1_ecloaku | /r/programming/comments/a9nki8/23_awesome_programming_blogs_to_follow_in_2019/ecnavic/ | 1548128944 | 2 | t5_2fwo | r/programming | public | null |
False | zesterer | t2_g3g1z | Interesting. An extra layer of safety for unsafe Rust code? | null | 0 | 1544615298 | False | 0 | ebmimy9 | t3_a5c8hi | null | null | t1_ebmg6kr | /r/programming/comments/a5c8hi/ikos_21_an_open_source_static_analyzer_for_c_and/ebmimy9/ | 1547509307 | 11 | t5_2fwo | r/programming | public | null |
False | colonel_hahous | t2_csoz4 | This is really well done. I've been looking for a good Markdown app for a long time and this is exactly what I've been looking for. Not only that but it looks like it's been coded really well. Nice work! | null | 0 | 1545903432 | False | 0 | ecnaw4k | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnaw4k/ | 1548128952 | 1 | t5_2fwo | r/programming | public | null |
False | xtreak | t2_czcg7 | The popular library in title refers to the EventStream library incident. | null | 0 | 1544615330 | False | 0 | ebmino8 | t3_a5h59r | null | null | t3_a5h59r | /r/programming/comments/a5h59r/popular_javascript_library_for_nodejs_infected/ebmino8/ | 1547509316 | 2 | t5_2fwo | r/programming | public | null |
False | Veranova | t2_fz1lj | ESLint can already do the unused within a file part, it's the part you're unsure about that my team would want to solve.
Typescript is a big change to solve a small manageable problem though, so we wouldn't make that move without many more arguments in favour. | null | 0 | 1545903539 | False | 0 | ecnay6q | t3_a9q0uh | null | null | t1_ecnauru | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecnay6q/ | 1548129004 | 1 | t5_2fwo | r/programming | public | null |
False | sdimkov | t2_qk0vv | There should be a fine for posting old news. Although the article itself is new, the event used as click-bait in the title happened months ago. | null | 0 | 1544615435 | False | 0 | ebmiq3o | t3_a5h59r | null | null | t3_a5h59r | /r/programming/comments/a5h59r/popular_javascript_library_for_nodejs_infected/ebmiq3o/ | 1547509346 | 8 | t5_2fwo | r/programming | public | null |
False | Barbas | t2_3s2ym | +1 for latex support. I'm currently using Sublime with a GFMD plugin, but would like to switch to something with more features. | null | 0 | 1545903667 | False | 0 | ecnb0rc | t3_a9tm4z | null | null | t1_ecmkfsg | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnb0rc/ | 1548129036 | 3 | t5_2fwo | r/programming | public | null |
False | m50d | t2_6q02y | It was mired in a lawsuit at the time. Without that we'd probably all be running GNU/kFreeBSD. | null | 0 | 1544615464 | False | 0 | ebmiqq3 | t3_a5gxm6 | null | null | t1_ebmi4jy | /r/programming/comments/a5gxm6/freebsd_12_released/ebmiqq3/ | 1547509353 | 28 | t5_2fwo | r/programming | public | null |
False | Quanttek | t2_dcurw | > no WYSIWYG
I'm not sure how this is an advantage. I'm currently using Typora and it's very useful that the doc is immediately rendered. It helps keep an overview and fits my use case: in uni my notes are rarely finished and I'm always editing, so it's useful that they are rendered even when I'm editing | null | 0 | 1545903678 | False | 0 | ecnb0yg | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnb0yg/ | 1548129039 | 6 | t5_2fwo | r/programming | public | null |
False | the_evergrowing_fool | t2_tenb6 | Nothing to question. The feature itself is worthless. There is absolutely no value in sharing code between worthless languages. | null | 0 | 1544615493 | False | 0 | ebmire0 | t3_a55qhp | null | null | t1_ebmgkes | /r/programming/comments/a55qhp/the_dart_language_considers_adding_sound/ebmire0/ | 1547509362 | -2 | t5_2fwo | r/programming | public | null |
False | ggtsu_00 | t2_72fwy | Is it really linear time if Amoebas can do work in parallel? | null | 0 | 1545903701 | False | 0 | ecnb1fm | t3_a9qz9q | null | null | t3_a9qz9q | /r/programming/comments/a9qz9q/amoeba_finds_approximate_solutions_to_nphard/ecnb1fm/ | 1548129044 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544615519 | 1544992460 | 0 | ebmirzs | t3_a55xbm | null | null | t1_ebk5rtt | /r/programming/comments/a55xbm/how_the_dreamcast_copy_protection_was_defeated/ebmirzs/ | 1547509369 | 1 | t5_2fwo | r/programming | public | null |
False | Jondar | t2_6tb2v | I wonder does "that doesn't suck" actually work for people? As a marketing gimmick?
I know it's the cool thing these days, a kind of self-depreciating way of boasting like: "It's ok. Maybe check it out? But no pressure. We're cool."
*Edit:* Sorry, this sounds too negative. Awesome work! I'm just a marketing guy overthinking stuff. | null | 0 | 1545903706 | False | 0 | ecnb1il | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnb1il/ | 1548129045 | 1 | t5_2fwo | r/programming | public | null |
False | [deleted] | None | [deleted] | null | 0 | 1544615575 | False | 0 | ebmitb1 | t3_a5h59r | null | null | t3_a5h59r | /r/programming/comments/a5h59r/popular_javascript_library_for_nodejs_infected/ebmitb1/ | 1547509386 | 1 | t5_2fwo | r/programming | public | null |
False | mehulmpt | t2_iaxdh | Well, yeah 😂 | null | 0 | 1545903854 | False | 0 | ecnb4f4 | t3_a9xs5q | null | null | t1_ecnaro4 | /r/programming/comments/a9xs5q/devrewind_2018_010_top_2018_moments_for_developers/ecnb4f4/ | 1548129082 | -2 | t5_2fwo | r/programming | public | null |
False | ha1zum | t2_1m5rqdft | What browser do you use? | null | 1 | 1544616068 | False | 0 | ebmj4f2 | t3_a5bwkl | null | null | t1_ebmg36w | /r/programming/comments/a5bwkl/firefox_developer_edition/ebmj4f2/ | 1547509524 | 1 | t5_2fwo | r/programming | public | null |
False | jesseschalken | t2_ay6wh | https://www.npmjs.com/package/ts-unused-exports | null | 0 | 1545904009 | False | 0 | ecnb7i1 | t3_a9q0uh | null | null | t1_ecnay6q | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecnb7i1/ | 1548129120 | 1 | t5_2fwo | r/programming | public | null |
False | chucker23n | t2_39t9i | >I've found that it's hazardous to start using geometric shapes to demonstrate OO principles because geometric shapes aren't typically considered mutable.
Yeah, avoiding mutability sounds like a good approach here.
> Do they both inherit from Quadrilateral?
No; you'd end up with the same problem that way (assuming mutability): both a `Quadrilateral` and a `Rectangle` have four angles, but whereas a `Quadrilateral` will have may have multiple different angles, a `Rectangle` will always have four angles that are the same. So if you imagine the properties `AngleTopLeft`, `AngleTopRight`, etc., setting `someQuadrilateral.AngleTopLeft` may or may not suddenly also set `AngleTopRight`. | null | 0 | 1544616140 | False | 0 | ebmj656 | t3_a56am1 | null | null | t1_ebmfqct | /r/programming/comments/a56am1/whats_the_deal_with_the_solid_principles_part_2/ebmj656/ | 1547509544 | 1 | t5_2fwo | r/programming | public | null |
False | tcpukl | t2_zj82n | Memory usage has nothing to do with the speed of the app!
I hate this naive perception people have of how computers work. | null | 1 | 1545904009 | False | 0 | ecnb7i5 | t3_a9tm4z | null | null | t1_ecmoubo | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnb7i5/ | 1548129120 | -2 | t5_2fwo | r/programming | public | null |
False | twigboy | t2_4caar | From my experience with flexbox, you can sort things in a different order depending on the width of the screen just by changing the ordering via css.
Doing that from server generated code would be awful | null | 0 | 1544616312 | False | 0 | ebmja2n | t3_a5b649 | null | null | t1_eblq4pg | /r/programming/comments/a5b649/css_10_years_of_flexboxing/ebmja2n/ | 1547509593 | 1 | t5_2fwo | r/programming | public | null |
False | puradawid | t2_janux | Context needed. If we are talking about more planning for particular feature, for instance newsletter signup, this is not very useful to spend hours on making plans how to split up the code, write it properly etc.
What I have seen in my work already: people tend to do ASAP things they didn't understand in a first place, i.e. they didn't ask themselves "why" questions at all. Projects ended up with a lot of unmanageable code, because the business reason behind them was blurry at the beginning. If fundamentals are changing, there are major changes in architecture which are mostly unmaintainable "few days before releasing stuff".
I think overengineering projects is a bad thing, however making them absolutely "wild coded" makes a mess and put the entire project in a risk that could be reduced in a first place. | null | 0 | 1545904028 | False | 0 | ecnb7vt | t3_a9q0uh | null | null | t1_eclo2sa | /r/programming/comments/a9q0uh/write_code_that_is_easy_to_delete_not_easy_to/ecnb7vt/ | 1548129124 | 2 | t5_2fwo | r/programming | public | null |
False | G_Morgan | t2_30zrq | If the language environment was designed well the IDE would just be using compiler generated information to colour everything anyway. Should get it for free. | null | 0 | 1544616395 | False | 0 | ebmjbyf | t3_a5969k | null | null | t1_ebkspdk | /r/programming/comments/a5969k/java_12_likely_will_not_have_raw_string_literals/ebmjbyf/ | 1547509617 | 1 | t5_2fwo | r/programming | public | null |
False | Holston18 | t2_ex7bjge | Shameless plug - I'm also developing a electron based note taking app called [Trilium Notes](https://github.com/zadam/trilium), but of course it has some differences - it's wysiwyg, has advanced scripting support, it's overall geared towards managing a lot of notes (tens of thousands) etc.
But I envy your design. I still can't make my app to not look like ass. | null | 0 | 1545904569 | False | 0 | ecnbinz | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnbinz/ | 1548129257 | 6 | t5_2fwo | r/programming | public | null |
False | tbkvamme | t2_h0jru | A good read and much in alignment with how I see this best working out for all parties.
One thing:
>Also if you wrote a lot of nit-picking comments in a really good code contribution, give the author some praise
As a reviewer, I feel this is one of the hardest parts, especially when introducing git & code review to someone who is new to it.
The problem I have is that often the initial pull request is in such a bad state (much noise) that a lot of nit-picking comments is needed and must be fixed before I am able to actually comment on the code changes. In other words, I cannot really give praise because there's so much noise that I don't know what is underneath.
With "noise" I mean formatting changes, refactoring code mixed with new code, mixing features and commit messages that tells me nothing about the intention. I'm in huge favor of using git rebase to squash and fix up such commits before presenting the code for review.
I have found that sitting down with the reviewee and going through the pull request (pair-programming style) helps the most, otherwise as you say, all the nit-picking comments will definitely create a bad atmosphere.
This way I can not only comment but also help fixing.
Of course, that requires more of my time, but the idea is that after a while, all of these issues are solved by the reviewee before a pull request is even made, and at that point reviewing is a breeze and I can comment on "real stuff" straight away :) | null | 0 | 1544616399 | False | 0 | ebmjc2g | t3_a4z6ia | null | null | t1_ebiljs7 | /r/programming/comments/a4z6ia/code_review_best_practices/ebmjc2g/ | 1547509618 | 2 | t5_2fwo | r/programming | public | null |
False | immibis | t2_dj2ua | If there's no convention for something, and the author hasn't explained it clearly enough to be unambiguous, complain to the author. | null | 0 | 1545904596 | False | 0 | ecnbj7w | t3_a9d94p | null | null | t1_eckbjdh | /r/programming/comments/a9d94p/i_hate_the_pumping_lemma/ecnbj7w/ | 1548129264 | 2 | t5_2fwo | r/programming | public | null |
False | robbak | t2_1496l | Well then, issue the reports every 100 ns. | null | 0 | 1544616560 | False | 0 | ebmjfxi | t3_a57th7 | null | null | t1_ebm2kj6 | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmjfxi/ | 1547509665 | 3 | t5_2fwo | r/programming | public | null |
False | exhuma | t2_3m4h | Absolutely. I really wonder where the downvotes come from :( | null | 0 | 1545904701 | False | 0 | ecnblcl | t3_a9tm4z | null | null | t1_ecnav24 | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnblcl/ | 1548129290 | 2 | t5_2fwo | r/programming | public | null |
False | Golden_Venom | t2_138ts1 | Actually yes! I had the general idea of what I wanted to do, so I made up all the art work and saved it so that was just one monster coding session :) | null | 0 | 1544616663 | False | 0 | ebmjig0 | t3_a56d72 | null | null | t1_ebm9e45 | /r/programming/comments/a56d72/time_lapse_of_programming_a_simple_game/ebmjig0/ | 1547509697 | 2 | t5_2fwo | r/programming | public | null |
False | jaydrill | t2_mghmc | I've used VSCode and lsp combo for Rust, it works really well but suffers from occasional hiccups (Electron). VSCode biggest advantage is a library of really great plugins. And QtCreator biggest advantage, well, it's native app so its just so much more responsive.
​
And for vim with lsp, i've tried using it for rust, but setting it up as an IDE was just to much work, i prefered to get coding. I didn't try spacevim, maybe I should have done it. | null | 0 | 1545904805 | False | 0 | ecnbnfa | t3_a9fg8h | null | null | t1_ecktylv | /r/programming/comments/a9fg8h/spacevim_release_v100/ecnbnfa/ | 1548129316 | 1 | t5_2fwo | r/programming | public | null |
False | Shadowvines | t2_fw1r9 | yes, and I am sure they will. | null | 0 | 1544616707 | False | 0 | ebmjjgt | t3_a57th7 | null | null | t1_ebmcwo7 | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmjjgt/ | 1547509709 | 1 | t5_2fwo | r/programming | public | null |
False | Dudefella08 | t2_d2kz0 | This looks really cool, having an editor for a folder is exactly what i needed.
How well does it handle emojis? | null | 0 | 1545905065 | False | 0 | ecnbss3 | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnbss3/ | 1548129383 | 1 | t5_2fwo | r/programming | public | null |
False | lookmeat | t2_35hrh | I see the point and agree with it. I didn't like the definition they gave:
>When we say that something is “complex”, what it means, according to the dictionary, is that it’s “hard to separate, analyze, or solve”.
I disagree with the definition on two parts:
* "Hard to solve" is useless in the sense of programming. We don't choose how simple or complex our solutions are,
* It says "Hard to analyze" solving this gives you an "easy" answer, but not exactly a simple one. Complex problems will result in "complex solutions" (that is the solution will be at least as complex as the problem it solves). Easy solutions hide this complexity away, but this results in adding even more complexity to hide things away. Simple solutions don't add any more complexity, but may still be hard to analyze in a hard to understand problem. Elegant solutions are when you find a way to simplify the problem.
This leaves us with "Hard to separate", and that's what a good platform solution should be: something easy to separate into smaller parts that hopefully are more manageable. In other words the definition itself already suffers of being to complex.
I disagree with the notion that adding layers adds complexity. Uniformity and convention leads to simple models and simple solutions. In the specific JSON to DTO vs alternative models I disagree with both notions. I would actually think that the solution should be backwards: every object should have a public json definition, by default the internal state of Domain objects would be a default derivation of these, and only on exceptional cases we would invert this. The logic is simple: if we need to write down (serialize) domain objects anywhere, we have to get a good and stable (backwards compatible) definition, but we don't want our domain objects to actually have to tie down to this definition, only to be something we can understand from it. If our DO would simply be a recreation of this, we should derivate the object from the data definition, not the other way around. In other words we want automatically derived types from schemas, not the other way around!
Why is this simpler? Because users will rarely care about how DO are internally implemented. They mostly won't care if circles are stored as an conic section curve or a radius, what they do care is how they need to write down the data that generates one or the other. The complexity should start from, and be in the interface definitions. The author's DTOs are still the same issue, we create a DTO based on the DO, but we really should care about defining the DTO and then seeing how our DO map to them.
I do lean more towards your counter-argument against functional core, imperative shell. That is that Free Monads and tag-less final are generally what you want. I do think that ideally we want to separate in layers, but in many parts the functional core is useless without the imperative shell. As a counter to what you said, it may also be far simpler and more explicit to just define the Monad you are using and not over-abstracting something when YAGNI. This would imply \*3\* layers (which I am not sure is a good solution): a pure functional core of definitions and actions, a layer using free-monads to define general IO interactions, a layer that adds the explicit and real monads needed by the system. My suspicion is that both articles propose ways to make the system easier: you by removing the functional core, and the article your respond by removing the IO interaction definitions.
I do agree with your final conclusion though: there's a lot more nuance and complexity to this. Generally we create simple solutions not by doing simpler code, but by oversimplifying the problem and ignoring the cases that fall of the edge (which generally are easier to fix otherwise) and then adding the complexity based on the needs, not the full actuality (in theory, given enough time, the solution should evolve solve the problem in it's full complexity, in practice the problem changes before that happens). The question of how to simplify the problem in the hopes you'll cover it well enough, and that it won't be hard to evolve to a more complex solution to a more complex problem, is a matter of intuition, taste and whatever experience you may have. So there are complexity traps, but the problem comes instead of us attacking over-simplification of a problem. This is because truly simple tools are rare, they generally have incidental complexity that doesn't relate to the problem, maybe to tool does too many things, maybe it's the wrong tool but it's cheaper than to create a new one, or ultimately it's just that it's things made by fallible humans all the way down. | null | 0 | 1544617044 | False | 0 | ebmjrxm | t3_a5cm5c | null | null | t3_a5cm5c | /r/programming/comments/a5cm5c/people_who_disagree_with_you_arent_trying_to_make/ebmjrxm/ | 1547509843 | -1 | t5_2fwo | r/programming | public | null |
False | novarising | t2_ca3zp | Just want to know, I have been using Markdown for taking notes and stuff, I was wondering how would you go about easily sharing it? If I share the .md file it would just show the markdown and won't show the rendered version. how do most people share it?
| null | 0 | 1545905077 | False | 0 | ecnbt1a | t3_a9tm4z | null | null | t3_a9tm4z | /r/programming/comments/a9tm4z/notable_the_markdownbased_notetaking_app_that/ecnbt1a/ | 1548129386 | 1 | t5_2fwo | r/programming | public | null |
False | robbak | t2_1496l | You assert that they will approach the company. The law does not say that. The law allows them to approach any employee, in the middle of the night, and demand that they code in the required backdoor, under threat of arrest. If they can find out who has access to the signing keys, that's who they will target. Produce a backdoored version, sign it, give it to me, don't tell a soul. This would be be the end game for Apple's device security if anyone in Australia could get a firmware signed.
If they don't know who can sign software, they'll use this to strong-arm an employee chosen at random to find out who can sign it. | null | 0 | 1544617092 | False | 0 | ebmjt52 | t3_a57th7 | null | null | t1_ebmai7u | /r/programming/comments/a57th7/australias_new_encryption_laws_ensure_companies/ebmjt52/ | 1547509858 | 6 | t5_2fwo | r/programming | public | null |
False | PHDEinstein007 | t2_2rvir6qw | hmmm, I should set up a "Break my encryption" test, lol, but next time since I am a bit late to the party. | null | 0 | 1545905117 | False | 0 | ecnbtt1 | t3_a9w87u | null | null | t3_a9w87u | /r/programming/comments/a9w87u/the_35th_chaos_communication_congress_starts_in/ecnbtt1/ | 1548129395 | 7 | 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.