-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4994742
commit bf29392
Showing
7 changed files
with
91 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
layout: layout.html | ||
title: Citation | ||
description: "Citation" | ||
category: Citation | ||
--- | ||
|
||
<h2>{{title}}</h2> | ||
|
||
<!--{% if category %}--> | ||
<!--{{ category }}--> | ||
<!--{% endif %}--> | ||
|
||
{% if tags %} | ||
<ul class="tags"> | ||
{% for tag in tags %} | ||
<li><a href="/tags/{{tag}}">{{tag}}</a></li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
|
||
{% if stub %} | ||
<p> | ||
<span class="bold">Note :</span> ceci est une ébauche de citation qui sera complétée dans le futur. | ||
Elle a été créée dans le but de résoudre les liens avec d’autres articles. | ||
<!-- N’hésite pas à jeter un œil aux liens ci-dessous pour trouver les pages associées.--> | ||
</p> | ||
{% endif %} | ||
{% if description %}<p>{{description}}</p>{% endif %} | ||
|
||
<blockquote cite="{{citation_source_href}}"> | ||
{{content}} | ||
</blockquote> | ||
<p> | ||
{%if citation_auteur %} | ||
— {{citation_auteur}}, | ||
{% endif %} | ||
<cite><a href="{{citation_source_href}}">{{citation_source}}</a></cite> | ||
({{citation_source_annee}}) | ||
{%if citation_source_auteur %} | ||
{{citation_source_auteur}} | ||
{% endif %} | ||
{%if citation_source_page %} | ||
, page {{citation_source_page}} | ||
{% endif %} | ||
</cite> | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"layout": "citation.html", | ||
"category": "Citation" | ||
} |
14 changes: 14 additions & 0 deletions
14
...joe-armstrong-you-wanted-banana-got-gorilla-holding-banana-and-entire-jungle.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
title: You wanted a banana but what you got was a gorilla holding the banana and the entire jungle. | ||
description: "Joe Armstrong au sujet du manque de réutilisation de code qui selon lui vient des langages orientés objet" | ||
citation_auteur: Joe Armstrong | ||
citation_source: "Coders at Work: Reflections on the Craft of Programming" | ||
citation_source_auteur: Peter Seibel | ||
citation_source_annee: "2009" | ||
citation_source_page: "213" | ||
citation_source_href: https://www.goodreads.com/book/show/6713575-coders-at-work | ||
--- | ||
|
||
**Seibel:** So you started out saying software reuse is “appallingly bad,” but opening up every black box and fiddling with it all hardly seems like movement toward reusing software. | ||
|
||
**Armstrong:** I think the lack of reusability comes in object-oriented languages, not in functional languages. Because the problem with object-oriented languages is they've got all this implicit environment that they carry around with them. You wanted a banana but what you got was a gorilla holding the banana and the entire jungle.” |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: default.html | ||
title: Citations | ||
description: "Citations" | ||
eleventyImport: | ||
collections: ["citations"] | ||
--- | ||
{% for citation in collections.citations %} | ||
- [{{ citation.data.title }}]({{citation.url}}) - {{ citation.data.citation_auteur }} | ||
{% endfor %} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters