Me opening Python after coding in Nim
Conversation
Notices
-
matrix07012 :thotpatrol: :cunnyEmpire: (matrix@gameliberty.club)'s status on Wednesday, 16-Oct-2024 00:29:12 JST matrix07012 :thotpatrol: :cunnyEmpire: - xianc78 likes this.
-
Angry Sun (sun@shitposter.world)'s status on Wednesday, 16-Oct-2024 00:31:57 JST Angry Sun @matrix the struggle is real matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
LS (lain@lain.com)'s status on Wednesday, 16-Oct-2024 00:32:03 JST LS @sun @matrix BECAUSE YOU DON"T WRITE TESTS AHHHHHHH matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
Angry Sun (sun@shitposter.world)'s status on Wednesday, 16-Oct-2024 00:33:19 JST Angry Sun @lain @matrix tests are a degenerate form of writing contracts for your code matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
matrix07012 :thotpatrol: :cunnyEmpire: (matrix@gameliberty.club)'s status on Wednesday, 16-Oct-2024 00:35:45 JST matrix07012 :thotpatrol: :cunnyEmpire: @sun Older Python code is the biggest struggle, lot of new Python code has type hints now
-
LS (lain@lain.com)'s status on Wednesday, 16-Oct-2024 00:35:49 JST LS @sun @matrix i think that's a difference between functional and imperative programming, the small-function style of most functional programming works well with test-first development. matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
Angry Sun (sun@shitposter.world)'s status on Wednesday, 16-Oct-2024 00:35:50 JST Angry Sun @lain @matrix I'm half kidding and half serious, tests are good but imo best for regression prevention matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
💀💀💀 :0080: c̷̨̢̛̲̼̞̞͓̹͚̗̼͓͚͖͒̔̓̃̈̋̂́̏̆̐̐̈́̉͘͜ȑ̴̫͔͂̌̔̆̓͛͗́͐̍̃́̆ÿ̷̤̺̳̖͖͚͈́̄́͌͒͂͊͗̄̔̚p̶̢̧͇̞̯͍͇̤̖͖̙̫̪͋̏̃̃͗̎͜͝t̶͖̉̽̐̇i̴̭̜̼͖̬̽̀͆̃̓̂̚͝ͅc̸̡͙̪͎̫͚̫̘̱͚͔̫̣̣̒̃̋͜͝ 💀💀💀 :verified: (newt@stereophonic.space)'s status on Wednesday, 16-Oct-2024 00:37:59 JST 💀💀💀 :0080: c̷̨̢̛̲̼̞̞͓̹͚̗̼͓͚͖͒̔̓̃̈̋̂́̏̆̐̐̈́̉͘͜ȑ̴̫͔͂̌̔̆̓͛͗́͐̍̃́̆ÿ̷̤̺̳̖͖͚͈́̄́͌͒͂͊͗̄̔̚p̶̢̧͇̞̯͍͇̤̖͖̙̫̪͋̏̃̃͗̎͜͝t̶͖̉̽̐̇i̴̭̜̼͖̬̽̀͆̃̓̂̚͝ͅc̸̡͙̪͎̫͚̫̘̱͚͔̫̣̣̒̃̋͜͝ 💀💀💀 :verified: @lain @matrix @sun nope. It all depends on how vast the input space is and how many possible combinations of edge cases it contains. That's one reason I switched from Erlang to Haskell some years ago. I still do tests in Haskell, but those are to catch regressions and to test against some known specification. matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
Angry Sun (sun@shitposter.world)'s status on Wednesday, 16-Oct-2024 00:38:29 JST Angry Sun @lain @matrix in my last job I struggled with breaking up my code into meaningful smaller functions, a lot of my code was just munging data from one structure to another to satisfy some API input/output, or to make some kind of querying easier. that may have been specific to blockchain stuff though since it was really particular about data structures matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
COOL_FREE_RINGTONES (s8n@posting.lolicon.rocks)'s status on Wednesday, 16-Oct-2024 00:40:16 JST COOL_FREE_RINGTONES @sun @matrix @lain tests are for stopping your developers from clobbering each other so hard nobody knows whose code broke the build matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
LS (lain@lain.com)'s status on Wednesday, 16-Oct-2024 00:40:20 JST LS @sun @matrix it's because you didn't write tests :p matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
Angry Sun (sun@shitposter.world)'s status on Wednesday, 16-Oct-2024 00:40:37 JST Angry Sun @lain @matrix you have to know what you're doing to write tests first matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
Angry Sun (sun@shitposter.world)'s status on Wednesday, 16-Oct-2024 00:43:46 JST Angry Sun @lain @matrix you can get me to write tests but you will never make me stop wanting static type checking matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
LS (lain@lain.com)'s status on Wednesday, 16-Oct-2024 00:43:47 JST LS @sun @matrix i don't think so matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
LS (lain@lain.com)'s status on Wednesday, 16-Oct-2024 01:07:33 JST LS @sun @matrix that's half true at least matrix07012 :thotpatrol: :cunnyEmpire: likes this. -
Angry Sun (sun@shitposter.world)'s status on Wednesday, 16-Oct-2024 01:07:38 JST Angry Sun @lain @matrix I'll write tests for my python code because python is shit and I need tests to survive matrix07012 :thotpatrol: :cunnyEmpire: likes this.