@argv_minus_one I work in Java, and I constantly wish inheritance was not part of the language. Interfaces (akin to traits in Rust) and composition should almost always be used instead. Inheritance just allows lazy, inappropriate reuse of code that happens to be the same, but does not represent the same thing. Which leads to technical debt that bites you over time.
I really like how C# & Java does this where you can implement multiple interfaces but you can only inherit from one parent. This makes me go for interfaces a lot more. In C++ I never really do multiple inheritance even though it's something you can do...
CoPilot says "That quote is attributed to Paul Graham, a well-known computer scientist, entrepreneur, and author. He's contributed significantly to the field of programming and startup culture, with many insightful essays and books under his belt."
I saw it in a mastodon post about two weeks ago, but that's not exactly helpful for narrowing things down. The gist was that learning multiple languages is preferable, because it opens one's mind to possibilities that lone-language experiencers will be unaware of.
i dislike so many of them that i just write the entire psr project off. too many rules invented by the cool kids with no input or modernization. they cause projects to spawn 900% over abstracted and im so done with it.
@bobmagicii PSR isn't a project. FIG is, arguably. But "without input" is grotesquely false. As is "no modernization." And several specs are trivially simple. PSR 11 is two methods. PSR 14 is 3.
If you don't like FIG, cool, that's fine. But please don't libel it.
ive been around forever and i can promise nothing i said has ever been heard or considered by fig. but you're larry.
fig is basically the group of men who got to decide what got put into the english translation of the bible. and the drama that came along with fig periodically over the years has been hilarious. like the paulening of eight years ago.
argv minus one
Als Antwort auf Larry Garfield • • •Bobulous
Als Antwort auf argv minus one • • •Amber
Als Antwort auf Bobulous • • •argv minus one
Als Antwort auf Amber • • •@puppygirlhornypost2
I always found that inelegant and silly. An interface is just a class that can't do things. Why would I want a class that can't do things?
@Crell @bobulous
Larry Garfield
Als Antwort auf argv minus one • • •@argv_minus_one @puppygirlhornypost2 @bobulous That description is only true in some languages, like Python. It's completely wrong in other languages.
Which is kind of the point I'm getting at. 😀
argv minus one
Als Antwort auf Larry Garfield • • •I was thinking of Java.
@puppygirlhornypost2 @bobulous
Quokka
Als Antwort auf Larry Garfield • • •CoPilot says "That quote is attributed to Paul Graham, a well-known computer scientist, entrepreneur, and author. He's contributed significantly to the field of programming and startup culture, with many insightful essays and books under his belt."
But idk how much you trust it lol
Larry Garfield
Als Antwort auf Quokka • • •Ben Ramsey
Als Antwort auf Larry Garfield • • •Ben Ramsey
Als Antwort auf Ben Ramsey • • •'Programming languages teach you not to want what they don't provide.' -- Paul G... | Hacker News
news.ycombinator.comBen Ramsey
Als Antwort auf Ben Ramsey • • •Awk: a small programming language
John D. Cook | Applied Mathematics ConsultingBen Ramsey
Als Antwort auf Ben Ramsey • • •Quokka
Als Antwort auf Ben Ramsey • • •Ben Ramsey
Als Antwort auf Quokka • • •@quokka1 BINGO!
It’s in the first chapter of his book ANSI Common Lisp. He has a link to the full first chapter here: paulgraham.com/acl.html
ANSI Common Lisp
paulgraham.comLarry Garfield
Als Antwort auf Ben Ramsey • • •Kevin Boyd (he/him) 🇨🇦
Als Antwort auf Larry Garfield • • •Larry Garfield
Als Antwort auf Kevin Boyd (he/him) 🇨🇦 • • •bob.php
Als Antwort auf Larry Garfield • • •not php for me, i constantly have to fight myself not use all it has to offer on every line. spaceship operator for no reason.
but psr makes me want to not use php.
Larry Garfield
Als Antwort auf bob.php • • •bob.php
Als Antwort auf Larry Garfield • • •Larry Garfield
Als Antwort auf bob.php • • •@bobmagicii PSR isn't a project. FIG is, arguably. But "without input" is grotesquely false. As is "no modernization." And several specs are trivially simple. PSR 11 is two methods. PSR 14 is 3.
If you don't like FIG, cool, that's fine. But please don't libel it.
bob.php
Als Antwort auf Larry Garfield • • •ive been around forever and i can promise nothing i said has ever been heard or considered by fig. but you're larry.
fig is basically the group of men who got to decide what got put into the english translation of the bible. and the drama that came along with fig periodically over the years has been hilarious. like the paulening of eight years ago.