RSpec style guide
milewski-ctfp-pdf
Our great sponsors
RSpec style guide | milewski-ctfp-pdf | |
---|---|---|
5 | 75 | |
3,447 | 10,745 | |
0.1% | - | |
1.0 | 5.3 | |
12 months ago | 27 days ago | |
HTML | TeX | |
- | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
RSpec style guide
-
The RSpec Book worth reading in 2022?
betterspecs.org is a good resource.
- Learning RSpec
- Best course to learn for 2022?
-
Understanding Rspec Best Practices
Both sites advocate for factories over fixtures (though there is a not clear consensus). With fixtures, test objects are all defined in fixture files with predefined data. Fixtures can be used across tests but modifying an existing fixture can break tests that depend on that fixture. As a codebase grows managing fixtures for all the various states of your object can be difficult. In comparison, factories let you build and configure new objects per test.
-
Free 500+ books and learning resources for every programmer.
Better Specs (RSpec Guidelines with Ruby)
milewski-ctfp-pdf
-
reflect-cpp - Now with compile time extraction of field names from structs and enums using C++-20.
Category Theory for Programmers by Bartosz Milewski (https://github.com/hmemcpy/milewski-ctfp-pdf/releases)
-
Category Theory for Programming
Strangely similar name to the well-known 'Category Theory for Programmers'
https://github.com/hmemcpy/milewski-ctfp-pdf
-
Polynomial Functors: A Mathematical Theory of Interaction [pdf]
There's this, but the programmer doesn't have to be working:
https://bartoszmilewski.com/2014/10/28/category-theory-for-p...
- Monads vs Classes
- 今天看到的,是真的离谱。
-
Reading recomendations on Category Theory
Milewski's "Category Theory for Programmers".
- Ask HN: Math for Programmers?
- [Math] Category Theory for Programmers
-
Some math topics get mentioned a bunch in functional programming articles and forums. Which ones have ever actually helped you in writing your programs?
(3) category theory. I was never advised to read any, but found that bartosz's introduction really good. https://bartoszmilewski.com/2014/10/28/category-theory-for-programmers-the-preface/. Helps to rewire the brain.
-
what is the relation of a class in programming and category theory?
It's also possible to model programming languages using category theory, but I know less about that. If you're interested in following this up, then Benjamin Pierce has what I'm told is a good introduction to category theory for computer scientists, and Bartosz Milweski has an online book (it might be available in hard copy as well, I'm not sure) called Category Theory for Programmers. I believe simple programming languages like the simply typed lambda calculus end up being modelled as Cartesian closed categories.
What are some alternatives?
Rails style guide - A community-driven Ruby on Rails style guide
semantic-source - Parsing, analyzing, and comparing source code across many languages
Ruby style guide - A community-driven Ruby coding style guide
web-dev-golang-anti-textbook - Learn how to write webapps without a framework in Go.
Fundamental Ruby - :books: Fundamental programming with ruby examples and references. It covers threads, SOLID principles, design patterns, data structures, algorithms. Books for reading. Repo for website https://github.com/khusnetdinov/betterdocs
paip-lisp - Lisp code for the textbook "Paradigms of Artificial Intelligence Programming"
Best-Ruby - Ruby Tricks, Idiomatic Ruby, Refactoring and Best Practices
practicing-ruby-manuscripts - Collection of source manuscripts for publicly released Practicing Ruby articles
fast-ruby - :dash: Writing Fast Ruby :heart_eyes: -- Collect Common Ruby idioms.
owasp-masvs - The OWASP MASVS (Mobile Application Security Verification Standard) is the industry standard for mobile app security.
contracts.ruby - Contracts for Ruby.
Yup - Dead simple Object schema validation