Commit Graph
106 Commits
Author SHA1 Message Date
José Valim 024beb1bfc Update design-anti-patterns.md 2026-08-10 14:21:53 +02:00
Alexander Gubarev aaaa921781 Fix pages code examples (#15663) 2026-07-24 08:32:58 +02:00
Patric f9a7552ab5 Fix incorrect examples and typos in guides (#15620)
The guide pages under lib/elixir/pages are not doctests, so some
example outputs drifted from what current Elixir prints. I re-ran
each example on main (1.21.0-dev, OTP 29) with a clean IEx and
updated the blocks to match the actual output. Also fixes two typos.
Map ordering examples were left untouched since small-map print
order is not guaranteed across OTP versions.

Signed-off-by: Patric Vinicios <psdev7@gmail.com>
2026-07-16 17:29:46 +02:00
Jean Klingler a9976cc5d9 Rework anti-pattern doc about unsafe atom creation (#15495) 2026-06-17 15:39:24 +09:00
Jean Klingler 83e9b66e65 Add to_unsafe_atom/1 and soft-deprecate to_atom/1 (#15494) 2026-06-16 20:50:11 +09:00
Jonatan Männchen b5f1864d4e Use package.hexdocs.pm URL format instead of hexdocs.pm/package (#15429) 2026-05-30 22:19:31 +02:00
Dave Lucia 8d8111af07 Convert (most) links to https (#15028) 2025-12-30 09:21:23 +01:00
José Valim 1be424db50 Expand on why we supervise, not how (#14764)
Closes #14763.
2025-09-10 22:15:42 +02:00
Eksperimental f5b65f5d86 Fix typos in Meta-programming anti-patterns page (#14668) 2025-07-24 16:58:31 +02:00
Eksperimental 8bc49af49d Use thin space (U+2009) as a separator instead of _ and in regular English language (#14635) 2025-07-10 09:35:53 +02:00
Michał Łępicki 34cf44587c Fix mistake in "Untracked compile-time dependencies" anti-pattern (#14563) 2025-06-09 12:07:18 +02:00
João Paulo Abreu 30d1968bd5 Enhance non-assertive map access anti-pattern documentation (#14501) 2025-05-20 14:36:12 +02:00
José Valim 81f885da6c Add anti-pattern on untracked compile-time dependencies, closes #14465 2025-05-20 11:07:29 +02:00
Jonatan Männchen 5b0ed0dd73 Update Guide EEF Link (#14355) 2025-03-23 20:01:44 +01:00
Jonatan Männchen 980500551c Inline Licence Info & Copyright for non-test files (#14256) 2025-02-07 21:11:09 +01:00
Mike Stok fc348d7bd5 Fix typo in code anti-patterns doc (#14221)
The paragraph preceding the change mentions two reasons (atoms aren't
garbage collected, and the Erlang VM limits the number of atoms).
2025-01-23 19:29:11 +01:00
Jean Klingler 08d844a206 Add and simplify links to erlang documentation (#14179)
* Link more erlang modules in docs

* Fix epmd link

* Use `:atom` syntax to link erlang modules
2025-01-12 18:58:38 +09:00
Christopher Lane 821ac12b3a Fix typo in docs (#14173) 2025-01-11 07:03:46 +01:00
André Albuquerque 8f594a3b0a Fix typo in anti-pattern docs (#13943) 2024-10-31 11:15:57 +01:00
Wojtek Mach f9eda1c382 Update "Structs with 32 fields or more" anti pattern (#13942) 2024-10-31 11:05:58 +01:00
José Valim af953c15b2 Add anti-pattern on struct with 32 fields or more 2024-10-31 10:32:11 +01:00
Art Kay 281a9df6f7 Fix typos in a test and in a doc (#13799) 2024-08-30 22:53:08 +02:00
José Valim 66f0bd0996 Add anti-pattern on compile-time dependency 2024-08-12 15:15:58 +02:00
Maksym Verbovyi 9a06273ad2 Correct example in the docs (#13638) 2024-06-10 16:37:57 +02:00
Jean Klingler c2c4cade84 Replace statement -> expression when relevant (#13621) 2024-05-30 15:46:40 +09:00
Theodor Fiedler bc5cf4c4db Consolidate spelling of life cycle (#13541) 2024-05-06 11:56:13 +02:00
Theodor Fiedler d884cbc3ca Fix random typos (#13540) 2024-05-06 11:55:48 +02:00
José Valim 928125d05e Update library and exceptions guidelines 2024-04-02 11:05:44 +02:00
Colin Caine f5cbd03f56 docs: minor simplification of anti-patterns page (#13293) 2024-01-29 08:23:07 +01:00
José Valim 5c45ea6fed Fix docs link
Related to #13284.
2024-01-27 11:46:21 +01:00
Roman 2fe859ef83 Macro anti-patterns: fix incorrect error message in code examples (#13259) 2024-01-16 21:15:26 +01:00
Roman 06fb7c0330 Fix the explanation to match the explained code example in docs (#13255)
The description incorrectly states that both processes are initialized with 0, while in the code the second process receives a non-default initial value.
2024-01-15 13:42:31 +01:00
Jean Klingler 8cde231bbd behaviour -> behavior when not about OTP behaviours (#13240) 2024-01-09 15:25:14 +09:00
José Valim 14895c98f3 Remove uneeded code comment 2024-01-02 18:05:17 +01:00
José Valim f91038aaea Improve anti-pattern titles 2024-01-02 16:42:12 +01:00
M.Yasoob Ullah Khalid ☺ 03f6ac30af Fixed a typo in code-anti-patterns.md (#13218)
Fixed a small typo
2024-01-01 13:35:24 +09:00
Adebisi AdeyeyeandAdebisi Adeyeye b8e4d0e56f Fix typo in docs: initial_valye -> initial_value (#13211)
Co-authored-by: Adebisi Adeyeye <adebisi.adeyeye@proebb.com>
2023-12-28 01:00:13 +01:00
Hussien Liban c3da2b8faa Update design-anti-patterns.md (#13210)
Not setting an option returns just the integer
2023-12-27 12:56:30 +01:00
José Valim dc270f0661 Add more examples to app config anti-pattern (#13204) 2023-12-26 09:55:51 +01:00
Travis Vander Hoop 509b8ffbef Fix typos and tweak language in anti-pattern docs (#13208) 2023-12-26 09:55:05 +01:00
Artem Solomatin 0886a604d2 Fix typo in design-anti-patterns doc (#13207) 2023-12-25 20:56:00 +01:00
Tomás Grüner 77d1c74d4d Fix typo in docs: Keywoird -> Keyword (#13205) 2023-12-25 08:40:13 +09:00
José Valim d996df8c52 Additional clarity on long list of parameters anti-patterns 2023-12-24 14:54:38 +01:00
Alex Martsinovich 57290078e5 Fix example in non-assertive map access antipattern (#13201) 2023-12-23 10:41:00 +09:00
José Valim b217864152 Last pass over anti-patterns 2023-12-22 14:32:01 +01:00
José Valim 8ecb7deece Indent lists 2023-12-21 15:47:40 +01:00
Tobias Pfeiffer 82be192226 Document the process anti pattern of sending large data (#13194)
Follow up to/extension of #13173
2023-12-21 15:46:31 +01:00
Samuel Chase 341519cb6a Fix typo in design-anti-patterns.md (#13141) 2023-11-23 15:07:36 +01:00
Lucas Francisco da Matta Vegi ce854d9ad7 Additional remarks for maintaining research history (#13078)
Similar to what we had already done with other anti-patterns that changed names
2023-11-06 15:37:48 +01:00
Rich Morin 4c8a8ca381 Fix typo (#13068) 2023-11-02 21:05:55 +01:00