Hacker News new | past | comments | ask | show | jobs | submit login
French civil code now on GitHub (github.com)
453 points by Remiii on Mar 31, 2015 | hide | past | web | favorite | 124 comments



In contrast, the list of Wales-only laws is (or used to be) maintained by one French woman at a Welsh university:

"But any queries may well be referred to Marie Navarro, the editor and chief researcher of Wales Legislation Online.

Like everyone in Wales, the judges use this website when they need to find out whether the law in Wales on a particular topic is different from English law.

The database is not run by the judiciary, by the Welsh Assembly Government or by one of the commercial publishers that pride themselves on keeping their subscribers up to date with English law.

It was set up in 1999 by Cardiff University Law School, and is run by Miss Navarro, a French lawyer who came to Wales on a European scholarship 13 years ago and decided to stay."

http://www.bbc.co.uk/news/uk-12674539


No longer the case, apparently: http://www.wales-legislation.org.uk/


That's a funny story. :)


All German federal laws and regulations are here: https://github.com/bundestag/gesetze

I do especially like the GitHub avatar: https://avatars1.githubusercontent.com/u/1994383 ;)


The first one I more or less randomly clicked on was of course »Verordnung über Qualitätsnormen für Bananen (QNormBanV)« [1], quality standards for bananas.

[1] https://github.com/bundestag/gesetze/blob/master/q/qnormbanv...


Is this account actually maintained by Bundestag (or other actual piece of state administration), or is it just a mirror? Also, either German law is really mature and stable, or this repository is unmaintained: last commit oin master is Jan 2013.

I'd love to see such a repository for the acts in my country, by the way, but the official source is a PDF, and most of the published acts are actually patches to existing (already heavily "patched"), like "In the section II, item 13a, change words 'foo and bar' to 'foo, baz and quux'". This mess untangled into an actual, highlighted, unified text is an actual product, and lawyers happily pay the subscription. I imagine it is similar in other countries.


I'm the original creator of that repo. Keeping it up to date is unfortunately a time-consuming manual effort. Doing version control downstream is generally a nightmare because unraveling different law changes/typo fixes is complicated (yes, lot's of typos when humans consolidate laws by hand).

If you're interested, here's a talk about it at Git Merge: https://www.youtube.com/watch?v=-qql1Ess7qM

Here are some scrapers/scripts around it: https://github.com/bundestag/gesetze-tools


The Norwegian laws: https://lovdata.no/info/information_in_english

It's a financially independent (it has a "pro" version) non-profit owned by the department of justice and the faculty of law of the University of Oslo. It is an official source and as such laws published there are officially, legally published and it has been that way since 2001. Laws relevant to private citizens are available for free. It's pretty neat.


FWIW french law is also available officially via http://www.legifrance.gouv.fr though that's not exactly sexy. All of the french code (and other sections of french laws) are available for free with full history e.g. http://www.legifrance.gouv.fr/affichCodeArticle.do?cidTexte=...


and in xml ftp://jorf:open1234@ftp2.journal-officiel.gouv.fr (JORF) ftp://legi:open1234@ftp2.journal-officiel.gouv.fr (consolidated data)


Edit: oops! I replied after reading the content in an 8 hours old tab, not noticing that the repo author had already explained it in a sibling post to this one.

-----------------------------------

From their README, it's just someone that converted the XML version published by the "Bundesministerium der Justiz und für Verbraucherschutz" (Ministry of Justice and for Customer Protection) which as they note is available at http://www.gesetze-im-internet.de/

For instance, a section I've used often for running my business is the VAT part: http://www.gesetze-im-internet.de/ustg_1980/index.html There is a notification service, including an RSS feed: http://www.gesetze-im-internet.de/aktuDienst.html

About the Markdown version in GitHub: after a quick inspection, most diffs seem to be plain additions of content, presumably as it was converted to Markdown. However, some diffs might have tracked changes in the laws, as this one: https://github.com/bundestag/gesetze/commit/3c1bada22f08b4e0...

I suspect the author ran the converter a few times and then abandoned it. In principle, it should be possible to keep updating it.

The improvement over the official XML version seems to be that with Markdown it's easier to get understandable diffs.


It's the same thing in France, but that's why the OP repo is great: you can see the actual change as a usual diff (https://github.com/steeve/france.code-civil/commit/0d5337622...).

I'm not sure how they do it, but I guess that it wouldn't be extremely hard to have a small grammar to automatically convert the legalese patch into an actual git patch (most of the time, the sentences which wrap the editions are the sames).


If you have a text version, at least preprocessing and proposing changes could be doable (especially that as far as I know, formal French is quite uniform - but then, it's what I heard from others, all French I actually know comes from a Dexter's Laboratory episode). In Poland, though, the original acts are published as PDFs, and the text extraction itself needs assistance, if it's even possible without OCR: the international agreements that are side-by-side in multiple languages (Polish, other party, sometimes also English) are usually image scans saved as PDFs.


The avatar is brilliant


This github repo seems to treat the French legal code as a flat text file. Which is useful, but I'm guessing doesn't do a good job of capturing structural changes to the legal code. Is this fair?

So I'm curious: how do legal scholars and practising lawyers track changes to legal systems over time? Do they use trees, DAGs, or something else? Do they have concepts similar to change dependencies and regressions? What special concepts or techniques does the domain require?

The UK has legislation.gov.uk [1], which seems to treat acts of the UK parliament as some kind of structured objects. Amendments can be accessed, and there is a timeline feature (for example [2]) that shows changes over time. It does have the feeling of being incomplete, though, and lagging behind changes as they happen. So is there some other, canonical, data source that this site tracks? What is it?

Anyone knowledgeable care to comment?

[1] http://www.legislation.gov.uk/

[2] http://www.legislation.gov.uk/ukpga/1974/39/section/21?timel...


I am at my first year of law school in Turkey, so I might be wrong. But in my country there are private companies who collect and summarize court decisions. They also offer search engines.

As far as the changes to regulations go, they are announced in the state paper, with a starting date. All lawyers are obligated to follow the changes. The ministery of justice also offers a service, they collect all the law texts and publish them. Although recent changes come with a considarable amount of delay. So you use it at your own risk.

In germany there is an excellent site: http://dejure.org/gesetze/BGB/413.html You can browse the regulations and read the comments and decisions based on that very regulation. I hope we had a similar site here in Turkey.

Moreover, I also have to state that law regulations don't change quite often. The regulations that change are usually very specialised. All regulations already have a structural order. Especially code books like civil code have regulations that can't be treated seperately.

Last but not least, UK and US have a different law system than France. French law has its roots in Roman law. Nearly all regulations are written in books like civil code.


Pretty similar in France. Lamy, a subsidiary of Wolters Kluwer is the leading company. They do the same for a bunch of european countries. Spain, Belgium, Germany, etc...


IIA[American]L.

The answer to your question about how lawyers figure out changes to the law is: they give an assignment to a new associate (or law student, in the case of scholars) to track down the history manually. It's a horrible pain in the ass.

Most codifications I'm familiar with (both state and Federal), whether in print or online, include a list of amendments along with each statute. But any given amendment may have changed a dozen (or far more) statutes, and it's generally a tedious and time consuming job to track down the changes to a given statute over time. Also, the reasoning for the changes, when it's given at all, is often burried in committee reports, which are rarely accessible by following links on a webpage. Some commercial services (LEXIS, WestLaw) will provide historical "snapshots" of particularly important statutes (the Internal Revenue Code, for example), which can help to some degree but which still leave a lot to be desired.

Statutes in general contain a lot of structural information (cross-references, definitions, etc.) which in some online sources are hyperlinked at least, but changes to which are not to my knowledge expressly tracked. One can easily get confused when, for example, a court case refers to a section of a statute that has been renumbered, or to which a new subsection has been inserted in the middle.

I took a quick look at the UK site above, and ... it actually looks quite impressive. As you say, however, it doesn't purport to be current, so some legwork is still left to the grunts. As a former programmer (and text munger a la Perl), it has always seemed to me that there should be a lot of opportunities to apply the tools of software development (version control in particular) to the texts of the law, but simply slurping up text into a repository is not likely to be all that helpful, and the overhead of doing anything useful would be considerable.


I just woke up and wow. Well, I'd be happy to answer any questions you might have of course.


So how do you go about creating the commits like the example given? Even though I live in France I've not much looked at French law - the only exception being a few articles relating to immigration. In those examples, there are modifications made to preceding laws, and it seems to me that it would require strong AI to correctly update the original laws as required by the new law. The example in the README gives the impression that we can just pull from Git and get the updated version of the whole law, is that correct? If so, how?!?!


It's because legifrance carries snapshots of the articles. Git is very good at tracking the changes between them.

So for earch article, the codes tracks "when" the article changed, stores it in a hashtable, and replays the "time" (date) for each snapshot, and creates a commit each time.


Wonderful! When will you do the same for the "Code Général des Impots" ? :)


Really soon, working on penal code right now (and open sourcing the scraper)


How does it feed the data to the repo? Is it parsing reports from the parliament? If yes, how smooth did the process go?


It goes on each article on Legifrance, creates a JSON file with all the articles, which book/section they belong to, and for each article, tracks it's versions (they are dates). The crawler is in Go.

Then there is a python script that takes that JSON file, creates the .md files and runs the git commands in the shell.

Ultimately the sad thing is that I had to scrape this information. There were lots of pitfalls due to bad formatting and so on... Well, scraping.


It might not be necessary to scrap anything since this data was finally released as OpenData last year: https://www.data.gouv.fr/fr/datasets/legi-codes-lois-et-regl...


i tried using this, but it seems it seems to be just a snapshot, not the full dataset with history (i wish i'm wrong, though)


Nioce job but it's too bad there's no licence and the building code is missing.

It's also not really new, Seb35 already did a great job on this previously as free software: - https://github.com/Seb35/CPI - https://github.com/Seb35/Archeo-Lex - http://blog.seb35.fr/billet/Arch%C3%A9o-Lex%2C-Pure-Histoire...

Also http://www.lafabriquedelaloi.fr proposes git versioning of the parliamlentary process for each bills: http://sunlightfoundation.com/blog/2014/06/25/opengov-voices...


Finalement, le Code Civil, c'est une partie du code source de la France. Et le code source, ca va sur un source control. Point.

Which means - correct me if I'm wrong: "The civil code is like a part of the source code of France. And then, it should be in a source control."


Ultimately, the civil code is one part of France's source code. And a source code should be on a source control. Period


I find the way that is expressed so awesome.


I already made something similar (but more user-friendly) a few years ago using Django: https://criminocorpus.org/fr/legislation/civil/.

And there are similar diff possibilities: https://criminocorpus.org/fr/legislation/versions/689/1/diff... :)


Generated PDF are not really web 2.0 :/


The clients weren’t really web 2.0 ;) The HTML version of diffs is also available, but not referenced by links: https://criminocorpus.org/fr/legislation/versions/689/1/diff...


Interesting!

This looks like a demo day project of Le Wagon, a french bootcamp in Paris (I found a link from their demo day https://youtu.be/hHPOV8vz5Q8?t=503 ).

Where you part of that bootcamp too ? (It seems to reuse the same "Nul n'est cense ignorer la loi." gimmick!)


I need to keep in practice with my French, so I've translated the README below. Let me know if I got anything wrong.

------

The French Civil Code, in Git

Introduction

Here is a little hack, the result of an afternoon of code: the Civil Code in Git.

If one considers the law as a set of texts modified by the various assemblies of the state, one can consider them as a set of text files created collaboratively.

The members of government, and the various assemblies, work in collaboration on these files, which, once voted for, are written into the Code (here the Civil Code).

But there is another category of people who, for fifty years now, have worked on text files collaboratively, and excel at it: developers. They have created extremely effective collaboration and tracking tools for working on source code. The most popular to date is Git.

Git not only allows you to view the source at a time T (snapshot) but above all to easily visualize the changes in the source (commits). In the analogy to the Civil Code, this permits the tracking of the changes made by a law.

Combine all of this with the Open Source philosophy, and the second part of the analogy is made: the modification of source code in an open and public fashion.

Finally, the Civil Code is a part of the source code of France. And source code belongs in source control. Period.

Example

Here is for example the commit which authorizes marriage for all: https://github.com/steeve/france.code-civil/commit/b805ecf05...

This is more readable than, for example (cf http://www.assemblee-nationale.fr/14/ta/ta0120.asp):

"At article 165 of the same code, the word: 'before' is replaced by the words: 'during a republican ceremony by'."

Technical Note

Git dates are based on the Unix epoch (01/01/1970), changes before these dates are all dated 01/01/1970, with incremental seconds; the commit message gives the correct date.

LICENSE

All files are licensed under Creative Commons (https://creativecommons.org/licenses/by/4.0/).


As a native French speaker: very good translation.

One small point: I do not understand why you added "it" to the last sentence of the introduction. Your translation of that particular sentence feels weird to me, why not simply:

"And source code belongs in source control."

Also, maybe "différentes" (in the third sentence) could have been translated to "various"?

* * *

Aside, note that the original text itself has several errors. Many accents are missing, some letters or words are missing or doubled. I may submit a PR to correct them.

Moreover, the text includes many English words (not all of which are common in French). It even includes a barbarism: "tracker", from English "track" and French common verbal suffix "-er", supposedly a verb supposed to mean "to track" — a shame, since French has the verb "traquer" to express the same thing.


One small point: I do not understand why you added "it" to the last sentence of the introduction. Your translation of that particular sentence feels weird to me, why not simply:

"And source code belongs in source control."

You're right, of course. That was left over when I switched from "it goes in" to "it belongs in". Fixed!

For "les différentes assemblées", would you say "various assembliess" or "the various assemblies" in this context?


In this context, I would definitely say "the various assemblies" since the author is obviously designating the various assemblies working on the Civil Code, not a random ensemble of assemblies.


I'm really pleased that I was able to read all of the README despite not having read French for probably a year or more. I guess it was written in a very easy/academic style.


I had the same thought. Perhaps it's also because of the closeness of many terms here to their English equivalents ("collaboration", "code source", "commits", "assemblées", etc).


"commits" and many other words in the text are actually not French.


Ah, I assumed it was a loanword due to git's English-speaking origins. Didn't realize there was a 'native' French equivalent ("les validations"?).


Despite "message de validation" being the commonly accepted translation for "commit message", normally you should use "modification" to mean "commit".

Many French git users still say "commit" though, me included, but it is definitely not a French word.


Don't forget to send them a pull request for a README.en.md!


You should commit your translation


I can submit a pull request if one would be welcome. I'm not sure, though, as the rest of the repo is in French.

There's a Markdown version here, if someone wants it: https://gist.github.com/spinda/282452390bf6d6fbcc5b


Well the rest of the repository is the french civil code so it makes sense for it to be in french, I'm guessing the readme being bilingual would be acceptable (though obviously judging of that is the repo owner's prerogative)


Legal documents are particularly bad to place under source control, because most of them already reference the previous code they are replacing. And, since the code is basically readonly what's the point of using github? I think legal documents do need a versioning system, but it would have to take into account the peculiarities of the domain (i.e. have each article as a node and amendments as graph links)


Did you take a look at the repo? It doesn't track new laws, it tracks the entire Code Civil and considers each new law a "commit", so it works perfectly. Here, as an example, the commit/law that legalizes same-sex marriage :

https://github.com/steeve/france.code-civil/commit/b805ecf05...

You can clearly see that the "commit/law" changes the wordings of various files to replace "mother and father" by "parents" and "husband and wife" by "spouses".


Does it also work out the consequential's

By that i mean if law x is changed to say "blah blah blah" that means that law Y no longer applies and law Z is changed to say "foo bar bobbins"


No, version control can only handle textual changes, only humans with legal expertise can work out how one law affects another. Even if there was a graph that showed all the links between all the laws (which would take an enormous amount of work to build), it would take a semantic understanding of each modification to deduce whether it has any impact on other nodes.


I see, that indeed looks like a good example. Does it only work for newly changed laws? i couldnt find any other versioncontrolled articles.


> i couldnt find any other versioncontrolled articles.

Did you look? All markdown files aside from the readme are articles. Or did you mean articles which were altered after their initial creation? https://github.com/steeve/france.code-civil/commits/master/L... is one, it was added in 1803 and modified in 1986 and 2014.

https://github.com/steeve/france.code-civil/commits/a191667d... is also one, with modifications in 1986, 1987, 2007 and 2013.


There are services (external, secondary to the published acts) that published a re-unified, highlighted version. I would imagine a repository that maintains a current unified text, with the "update acts" as commit messages (or even with the original PDFs somehow linked to the commits. I'm sure it can be implemented somehow in Git plumbing. Annotations, maybe?). I'd even pay for this kind of service - but probably not as much as lawyers who need it for their daily work pay for the existing equivalents.


> Legal documents are particularly bad to place under source control, because most of them already reference the previous code they are replacing. And, since the code is basically readonly what's the point of using github?

The code is not readonly at all, each law within the domain covered by the code is an alteration to the code. Individual laws are reified as commits, and the repository tracks the evolution of the code as laws get voted in and applied.


Your licence should be more precise because you cannot put a CC licence on the legal texts, just on your ReadMe file.


How does French law work? Do the texts of laws have droit d'auteur?


As far as I understand from http://rip.journal-officiel.gouv.fr/index.php/pages/LO the laws themselves don't really have an author, but you are required to mention the source of the texts you reuse.


They are considered "public information", so no droit d'auteur. All government data considered as public information were published starting 2011 with an open data licence, the Etalab licence similar to the UK one.


Too bad the date stamps only can go back to 1970-1-1. It's neat, though, to be able to flip through the history like this.


Apart from the timestamps, line returns also make some of the diffs difficult to interpret sometimes, like if the first line of a long paragraph gets wrapped differently then all the paragraph is just highlighted as a diff instead of each modified word.

Isn't there a better tool than git for plain text diffs?


Is git using an unsigned int for time?


http://stackoverflow.com/a/24977895/242520

> We freely interchange between time_t and unsigned long in the low-level date code


Do they accept pull requests if I find any bugs?


What does this offer on top of Legifrance?

http://eur-lex.europa.eu/n-lex/info/info_fr/index_en.htm

(I don't know any French and don't know the particulars of French legal system that much, so I cannot really assess quickly based on what I can find in the net).


Isn't that obvious?

Pull Requests! Can you imagine a democracy editing its laws through pull requests and code review?


...where regional committers are elected, and once elected, act in blocs against their electorate?


And continuous integration with simulation and testing. Then computer assisted planning and resource allocation for implementation of selected laws.


Is it bad if I want to live in that world ?


diff, blame… That alone are killer features.


kind of curious as to how this got generated in the first place


The full civil code text applicable for every date since at least 1817 is available at Legifrance.gouv.fr[1] so I suppose he just wrote a parser to transform each of these pages into plaintext, another one to get a list of all amendments, and commited each different version.

[1]http://www.legifrance.gouv.fr/affichCode.do?cidTexte=LEGITEX...


Same here. Diffs published from the Journal Officiel aren't so easy to parse. I am afraid it could be manually generated, which is a dead end.


The author mention he did it in an afternoon of code, so it's definitely not manually generated : "Voici un petit hack, résultat d'une après-midi de code"

I do agree that the technical details would be interesting.


I don't think it's possible to generate a general parser for the Journal Officiel in an afternoon.

It would make the author a _very_ efficient worker.


It's probably possible to do that for a crawler of http://www.legifrance.gouv.fr though.


He said in another comment that it's not how he did it.


Me too.

Unfortunately, the author was utterly careless about spelling. That really makes it feel like a quick hack.


The author specifically flags it as a quick hack:

> Voici un petit hack, résultat d'une après-midi de code : le code civil sous Git.

"Here is a quick hack, the result of an afternoon of coding: the civil code under Git."



I wish all legal proposition was supplied with a diff.


In a way, it's often the case: law are often modifications of the underlying reference code (here 'Code civil') and are a set of proposition to change the wording or to add/remove a sentence from the reference code.


This makes me wonder about how legislators deal with merge conflicts. Since new laws are often written as "Act X of 1972 is amended as follows: ...", I wonder if there are ever cases where two laws are in the House at the same time that would conflict, and how they resolve this. Do they amend the later law once the first has been signed/given assent?


The way it should work is that any conflicts that require changes are noted in the motion - by the clerks drafting the law.

If you pass motion A implementing this new law the Law x and Z a deemed to be negated or changed appropriately.


Now let's anarchy-fork!


China civil code is on the way. Github, hold on!


If there's some people interested in french law, I did the French constitution in JSON https://github.com/Felixaverlant/French-Constitution


This would be a great idea in general for the legislature of any country, to be able to see exactly how and when the law was changed would be valuable for transparency and also research. Commit messages could reference transcripts of the debates surrounding changes.


The executive wouldn't like it :-)

As one of the candidates for the speaker of the House of commons said to me "the executive can get a way with a lot" in terms of controlling the order paper and timing

Stil think Parmjit would have made a better speaker than Bercow


TL;DR: Denmark, Finland, Sweden and presumably others do it already.

I'm surprised if France and other supposedly civilized countries don't do it on behalf of the Justice Ministry or equivalent. I mean, the fundamental responsibility of citizens is to adhere to the law (ignorantia juris non excusat); the fundamental responsibility of government is to make the law available to citizens because it is not reasonable to require compliance with laws that are not practically available to citizens.

I'm in Finland, and the full content of law books has been in internet for almost 20 years, published first by the state-owned publishing house that gave out the print versions, and more recently by Ministry of Justice who has contracted the technical execution out. The database structure managing pieces of legislation dates back to 1980's, but until 1990's it was available only through a license payment.

Individual laws (and executive orders, state treaties and such) that are published by parliament or ministries have of course always been public information and published in the net since 1990's; the important thing is actually maintenance of "up-to-date" version because the parliament publishes its laws mostly as "patches" (i.e. only a changed section is reviewed, voted on, and published).

The database cross-links to published parliamentary process so that the official background work for each law, section and paragraph is available, including preparatory statements by parliamentary committees, any dissenting opinions and so on.

Also more significant precedent cases from high courts are available in database. (We have a so-called Roman law system where the code is primary source of law, unlike American/English common law where precedents are more important; nevertheless neither system is absolute of course, and precedents do matter in civil law systems as well.)

The database descriptions can be found:

Denmark: http://eur-lex.europa.eu/n-lex/info/info_dk/index_en.htm

Finland: http://eur-lex.europa.eu/n-lex/info/info_fi/index_en.htm

France: http://eur-lex.europa.eu/n-lex/info/info_de/index_en.htm

Germany: http://eur-lex.europa.eu/n-lex/info/info_de/index_en.htm

Sweden: http://eur-lex.europa.eu/n-lex/info/info_sv/index_en.htm


> I'm surprised if France and other supposedly civilized countries don't do it on behalf of the Justice Ministry or equivalent.

Please be kind in your comments.

Also, you're wrong (http://legifrance.gouv.fr/), but that's secondary relatively to the harsh tone you had there.


Well, I said "surprised if", not "surprised that".

The eur-lex link I mentioned lists precisely that site (legifrance) for France. But as I don't read French and don't know the particulars, what puzzles me is what is the additional value of putting the same thing in Github. The maintenance burden seems horrific unless you can pull it automatically, and even then the actual benefit of using Github is not so clear to me.


> The maintenance burden seems horrific unless you can pull it automatically

Which is probably relatively easy, legifrace provides reconciliated articles with history so it should be possible to just crawl the code, see if an article was updated since the last crawling and generate the relevant commits.

> and even then the actual benefit of using Github is not so clear to me.

Diffs are somewhat more straightforward than the equivalent legalese, and version-controlled markdown makes for easier programmatic manipulations across "space" and time than a custom-designed website.


Right, that makes sense then.


This is going fast after the announcement of a new Party proposal here in France (RebootFrance) : https://www.reddit.com/r/RebootFrance


Very nice! This will make lawmaking in France somewhat more understandable, and not something we hear reported now and then when it's deemed newsworthy.

One thing that is not mentioned though : will it autoupdate? And if yes, at which rate?


What's the point of this? Are they taking pull requests?


New laws are available in gif format:

https://github.com/steeve/france.code-civil/commit/b805ecf05...

Compare with what they usually look like:

http://www.assemblee-nationale.fr/14/ta/ta0120.asp


A pity they can't use dates before epoch.


Nice use of git, never thought of that. Who's up for other countries law books?


thomasbachem noted german laws and regulations are already there at https://github.com/bundestag/gesetze, with an amazing org avatar: https://avatars1.githubusercontent.com/u/1994383

A quick github search indicates that Taiwan's laws might also be there at https://github.com/victorhsieh/tw-law-corpus using the https://github.com/g0v/twlaw exporter, Japanese laws seem to have been uploaded at https://github.com/riywo/law.e-gov.go.jp but just be a crawl/dump of law.e-gov.go.jp


Do they accept pull requests?


I can't navigate easily, but I wonder if it goes all the way to Napoleon.


Can't believe there're only 5 pull requests :D


That's a wonderful effort. Thanks.


Thank you so much!


The README is so full of grammatical and spelling errors it obviously wasn't written by a French speaker. Urgh.


It was written at 3am as I was falling asleep on my keyboard...

I am french born and raised, btw.


I think you give too much credit to native speakers of any language.


A bit ironic, no? That such a thing, almost exclusively useful for French people, has to come from a non-native speaker. And that the only obviously French comment so far is a critique about the style...

We sure do know how to complain. :)

(slightly unfair, of course---obviously the complaint about grammar had to come from a native speaker; who else would notice it in the first place..?)


The irony of course being that I thought to myself as I was reading it "that's some mighty easy-to-understand French". A long time ago I used to visit francophone Africans in a UK asylum centre who were always notably easier to understand than the French.



Oh no, this kind of grammatical errors show that it's clearly a native French speaker. We French suck at our own language - partly because it is fairly complicated, and partly because people don't bother learning.


Couldn't this have been done without taking gay marriage as the first example? Or does IT always need to go hand in hand with unconditional progressism?


Gay marriage (or "marriage for everyone") is a recent, substantial change to a law that is familiar to many French people. I thought it was a great example despite its somewhat controversial nature.


It also highlights the replacement of certain terms rather well as far as examples go. Seems like the perfect example to me.


A quick look at the author's tweets reveals this is not as innocent as you seem to say it is. Plato once said something along the lines of: "those who mix art with politics must be either unsure of their art or of their political positions, if not both". We had engaged musicians, now we have engaged developers. This is all the same trash to me.


Are you saying the author of a civil code git repository should have chosen a non-political example?

You might be forgetting that the civil code is an entirely political product.


Do we even have another recent law that everybody in France remembers?

And seriously, every single new law is pushing somebody's agenda. The author could've chosen the "animals are human being" change and we'd have another you yelling not being fond of developers pushing their love for animals.


https://i.imgur.com/82QXoAj.jpg

Here's a tip that will massively improve your personal quality of life: Stop getting offended. Don't you have better things to do with your time?


Kinda ironic as it's usually the uber liberals that tend to get grossly offended by perceived social injustices such as gendered pronouns or dongle jokes.


"Getting offended" has little to do with political leanings, and a lot to do with being bored and seeking attention. Man-childness, if you will.


Regardless of your political views, any piece of legislature would offend somebody's sensibilities. That's why the legislature exists in the first place




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: