Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
voiceofunreason
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
voiceofunreason
3mo ago
My guess is that if you were building all of this from scratch, you would start with - request-with-a-body - idempotent-request-with-a-body - safe-request-with-a-body because the additional constraints induce properties that are extremely u
2.
▲
by
voiceofunreason
5mo ago
> I swear almost every critique of test driven development boils down to "I wrote a bad test". It does seem that way - this one theme does drown out all of the other criticisms. That said, (to first order) everyone's been
3.
▲
by
voiceofunreason
5mo ago
Render therefore unto Caesar the things which are Caesar's; and unto Claude the things that are Claude's.
4.
▲
by
voiceofunreason
5mo ago
See also: https://programmingisterrible.com/post/139222674273/write-co...
5.
▲
by
voiceofunreason
5mo ago
Area Man Passionate Defender Of What LLM Imagines Test Driven Development To Be
6.
▲
by
voiceofunreason
6mo ago
My recommendation: you should probably start from _Working Effectively with Legacy Code_ by Michael Feathers. The best "let's do something not trivial" TDD book is probably still _Growing Object Oriented Software, Guided by T
7.
▲
by
voiceofunreason
2y ago
https://tidyfirst.substack.com/p/canon-tdd isn't particularly new; Beck has been consistent about "write tests before the code, one test at a time" for about 25 years now. Same idea, different spelling:
8.
▲
by
voiceofunreason
2y ago
Is there any prior art that defines covariant/contravariant tests in this way, or is Martin just borrowing language that sounds cool?
9.
▲
by
voiceofunreason
2y ago
"I still find the skepticism around TDD weird." A small community of programmers, with a disproportionately large audience, foretold that practicing test-driven development would produce great benefits; over twenty five years the
10.
▲
by
voiceofunreason
2y ago
"I call them 'unit tests' but they don't match the accepted definition of unit tests very well." -- Kent Beck, __Test Driven Development By Example__ The short version is that "unit test" did actually mean
11.
▲
by
voiceofunreason
2y ago
"REST is just pure bullshit. Avoid it like a plague." No it isn't. Evidence: I'm reading this in a web browser. "...REST is intended for long-lived network-based applications that span multiple organizations. If yo
12.
▲
by
voiceofunreason
2y ago
I have yet to see an LLM + TDD essay where the author demonstrates any mastery of Test Driven Development. Is the label "TDD" being hijacked for something new? Did that already happen? Are LLMs now responsible for defining TDD?
13.
▲
by
voiceofunreason
2y ago
Berard 1993 offers a good survey of the meanings of Abstrasction, Encapsulation, and Information Hiding https://web.archive.org/web/20071214085409/http://www.itmweb...
14.
▲
by
voiceofunreason
2y ago
There is definitely room for confusion as to whether the "design" that is "driven" by TDD is design-the-noun or design-the-verb.
15.
▲
by
voiceofunreason
2y ago
Well, TDD (or its immediate precursor, depending on where you draw the lines) escaped from the Smalltalk world circa 1997; but I think you can make a case for 1999 being when it really began to emerge. Most of the examples that I saw in th
16.
▲
by
voiceofunreason
2y ago
"why would one have to write the test first?" Disclaimer first: TDD won't give you anything that you couldn't instead achieve via "git gud"; except perhaps a reduced anxiety about overlooking a subtle error (bu
17.
▲
by
voiceofunreason
3y ago
As far as I can tell, the XP community pretty quickly converged on "let's use patterns to nope that scope"; for example "The Humble Dialog Box" by Michael Feathers ( https://raw.githubusercontent.com/
18.
▲
by
voiceofunreason
3y ago
"I never said that test-first was a testing technique. In fact, if I remember correctly, I explicitly stated that it wasn’t." -- Kent Beck, 2001 ( https://users.csc.calpoly.edu/~djanzen/setopics/testing&
19.
▲
by
voiceofunreason
3y ago
See also: ANSI/IEEE 1008-1987
20.
▲
by
voiceofunreason
3y ago
Search for the writings of Dan North, and don't forget that in the English alphabet, "Behaviour" is spelled with a "U". Very roughly, Cucumber framework appears in late 2008? Whereas BDD first appears in the TDD co
21.
▲
by
voiceofunreason
3y ago
That's not quite right, historically. Behavior Driven Development began as a re-languaging of TDD: "The developers were much more receptive to TDD when I stopped talking about testing." -- Dan North. BDD diverged from TDD fai
22.
▲
by
voiceofunreason
3y ago
Yes. << I call them "unit tests" but they don't match the accepted definition of unit tests very well. >> I'm not entirely certain it's fair to accuse the author of lying; ignorance derived from limited
23.
▲
by
voiceofunreason
3y ago
<< Originally, the term “unit” in “unit test” referred not to the system under test but to the test itself. >> Retroactive continuity - how does it work? For today's lucky 10,000: "unit test", as a label, was in w
24.
▲
by
voiceofunreason
3y ago
> I've seen like bilion discussions about TDD and I still dont understand why is it so overhyped. My guess: because it picked up a lot of momentum from the OO "patterns" community, and that gave it a lot of immediate reach
25.
▲
by
voiceofunreason
3y ago
> This whole red-green step in TDD makes complete no sense when you're writing new code. Only viewed in isolation - the point of red-green is test calibration: be certain that your new experiment is actually measuring the thing that
26.
▲
by
voiceofunreason
3y ago
"I never said that test-first was a testing technique. In fact, if I remember correctly, I explicitly stated that it wasn’t." -- Kent Beck, September 2001. Similar claims have been part of the TDD tradition since its very beginnin
27.
▲
by
voiceofunreason
5y ago
REST is the architectural style of the World Wide Web: browsers reading cached copies of web pages that link to other web pages. So almost any site you hit with your browser is a "RESTful API". Another decent example is Atom Synd
28.
▲
by
voiceofunreason
7y ago
What I like about Linus's summary is that it articulates which use cases matter; "here are the tools I am using, make my experience pleasant." Use the same spelling conventions as the auto-generated messages seems a reasonabl
29.
▲
by
voiceofunreason
8y ago
> Am I misunderstanding the quote? I don't think you are misunderstanding the quote, I think you are misunderstanding the nature of the problem. If you tip your head sideways, you may notice that the persisted representation of your
30.
▲
by
voiceofunreason
8y ago
"dump it to a database, and query that" Yes. In some cases, "dump" is a fold/reduce, and your database is just an in memory data structure, and depending on how much latency is permitted by your service level object
More ›