Zum Inhalt der Seite gehen


I'm looking for the source of a quote. DDG is failing me. Can anyone identify the source?

"Programming languages teach you to not want what they don't offer."

(Or something like that.)

#Programming

Als Antwort auf argv minus one

@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.
Als Antwort auf Bobulous

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...
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

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. 😀

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

Als Antwort auf Quokka

@quokka1 Search isn't finding me anything along those lines with his name on it.
Als Antwort auf Larry Garfield

@quokka1 Kagi turned up a link to X, but this only attributes it to him. It’s not him posting it.
Als Antwort auf Ben Ramsey

@quokka1 This blog post leads with the quote, but no link to a source. johndcook.com/blog/2023/08/26/…
Als Antwort auf Ben Ramsey

@quokka1 Kagi found a few other places with the quote, all attributing it to Paul Graham, but no links to a source.
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

Als Antwort auf Larry Garfield

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.
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.

Dieser Beitrag wurde bearbeitet. (2 Monate her)
Als Antwort auf Larry Garfield

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.
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.

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.

Dieser Beitrag wurde bearbeitet. (2 Monate her)

Diese Webseite verwendet Cookies. Durch die weitere Benutzung der Webseite stimmst du dieser Verwendung zu. https://inne.city/tos