
Array Slicing: Pythons ::-1 vs PHP Functions! #PHP
YouTube
in Operator: Pythons ONE vs PHPs MANY Functions! #membershiptest
YouTube
Modern Enums Battle: Python 3.10 vs PHP 8.1! #modernfeatures
YouTube
Lambda vs Arrow Functions: Almost Identical! #functionalprogramming
YouTube
Multiple Return Values: Tuple Unpacking vs Array Destructuring #programmingdebate
YouTube
Array Methods vs Array Functions: The Functional Showdown #viralcoding
YouTube
Match Statement vs Match Expression: Pattern Matching War #codecomparison
YouTubeπ Ah, the age-old debate resurrected! Why explain *what* the code does when you could just write clearer code to begin with? π€ But hey, let's reignite the flames with this groundbreaking revelation: maybe, just maybe,
#comments should state the obvious too. π₯ Because we all need more
#verbose hand-holding, right? π
https://www.hillelwayne.com/post/what-comments/ #codeclarity #programmingdebate #codingbestpractices #HackerNews #ngatedMaybe Comments SHOULD Explain 'What'
People say βComments should explain why, not what.β I feel like starting a flame war today so Iβm going to argue that comments should explain βwhatβ too. Please donβt use this as justification to write bad code, okay? Okay.
First of all, why shouldnβt comments explain βwhatβ? If you need comments to explain whatβs going on, it suggests your code is unclear. If I write
//weight, radius, price w = 10, r = 9, p = 1 Thatβs not as clear as saying
Hillel Wayne
Null Coalescing: Pythons or GOTCHA vs PHPs ?? #pythongotchas
YouTube
Array Functions vs List Comprehensions: The Ultimate Showdown #codingtips
YouTube