Talk:Pseudo-random numbers/PCG32: Difference between revisions

Content added Content deleted
(→‎The Pseudocode: low effort criticism)
(→‎The Pseudocode: Miscounting)
Line 30: Line 30:
:: You think so ? look more carefully: the declarative definition of '''Van Eck''' there is significantly '''more''' concise (7 lines of new code vs 11), a smaller number of moving parts, no side effects or mutations) than the slightly messy procedural recipe next to it, which you touchingly characterise as 'idiomatic'.
:: You think so ? look more carefully: the declarative definition of '''Van Eck''' there is significantly '''more''' concise (7 lines of new code vs 11), a smaller number of moving parts, no side effects or mutations) than the slightly messy procedural recipe next to it, which you touchingly characterise as 'idiomatic'.
:: The declarative version also adheres to a long-established principle of productivity, ease of refactoring, and maintenance of quality ''Use library functions whenever feasible'' which is foregrounded by the classic work of Kernighan and Plauger :-) [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 14:57, 14 August 2020 (UTC)
:: The declarative version also adheres to a long-established principle of productivity, ease of refactoring, and maintenance of quality ''Use library functions whenever feasible'' which is foregrounded by the classic work of Kernighan and Plauger :-) [[User:Hout|Hout]] ([[User talk:Hout|talk]]) 14:57, 14 August 2020 (UTC)

:::Hard to argue with someone who can't count the lines of code shown, and equates their code with something from the standard library. --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 16:13, 14 August 2020 (UTC)