Sign in
Benjamin Guinebertière
franglais (half French, half English) code might be OK under some circumstances
MSDN Blogs
>
Benjamin Guinebertière
>
franglais (half French, half English) code might be OK under some circumstances
franglais (half French, half English) code might be OK under some circumstances
Benjamin GUINEBERTIERE
17 Sep 2006 4:56 PM
Comments
0
I usually work with French companies where development happens in English because the code might be maintained, sent or whatever to other developers in the world that don't speak French.
That's the theory. In practice, I often encounter code written in "franglais" (half English, half French). Among many bad reasons, there is one reason that seems OK for me: company's vocabulary exists only in French.
That's why I woull recommend one rule, in such a case:
Code must be written in English except for words in the company's glossary and only for those words
.
Let me elaborate on this.
If glossary does not exists at all, just start it and maintain it with the code.
Let's take an example and imagine the glossary contains the word Canard, ...
Code could look like
if (firstCanard.BirthDate > searchDate) ...
On the opposite, this would be bad code:
if (premierCanard.BirthDate > searchDate) ...
because premier (first) is not part of the glossary.
Je travaille régulièrement avec des enterprises françaises où le développement est en anglais parce que le code pourrait être maintenu, envoyé ou quoique ce soit d'autre à des développeurs ailleurs dans le monde qui ne parlent pas français.
Ca, c'est la théorie. En pratique, je rencotre souvent du code écrit en franglais. Parmi plein de mauvaises raisons, il y en a une qui me semble légitime: le vocabulaire propre à l'entreprise n'existe qu'en français.
C'est pourquoi je recommnderais une règle, dans un tel cas:
Le code doit être en anglais sauf pour les mots présents dans le glossaire d'entreprise et seulement pour ces mots
.
Voici quelques détails supplémentaires.
Si le glossaire n'existe pas, il suffit de l'initier et de le maintenir avec le code.
Imaginons pour prendre un exemple que le glossaire contienne le mot Canard.
Le code pourrait alors ressembler à
if (firstCanard.BirthDate > searchDate) ...
en revanche, le code suivant ne serait pas valable:
if (premierCanard.BirthDate > searchDate) ...
parce que "premier" ne fait pas partie du glossaire.
0 Comments
.NET Framework 2.0 development
Leave a Comment
Name
Comment
Please add 6 and 8 and type the answer here:
Post
Blog - News
TechDays
Accélérateur Windows Azure (http://aka.ms/cloud)
Blogs proches:
Windows Azure France
|
Big Data France
Forum des Architectures Applicatives Microsoft sur LinkedIn
Les nouvelles mensuelles de Windows Azure: Le bulletin Azure
Latest important hyperlinks | Les derniers hyperliens importants (twitter)
Tags
.NET Framework 2.0 development
.NET Framework 4.0
AppFabric
archims
Architecture
Azure
BizTalk Server
BizTalk Server 2004
BizTalk Server 2006
Certificates
cloud
Hadoop
IdentityFederation
idmgt
KB
Level-100
Level-200
niveau-100
PaaS
public-cloud
SOA
web
Web Infrastructure
Windows Azure
Windows Azure SQL Database
Options
Blog Home
About
Email Blog Author
Share this
RSS for posts
Atom
RSS for comments
Archive
Archives
April 2013
(2)
March 2013
(1)
December 2012
(1)
November 2012
(1)
October 2012
(3)
September 2012
(2)
July 2012
(2)
June 2012
(2)
May 2012
(1)
April 2012
(1)
March 2012
(5)
February 2012
(2)
January 2012
(3)
December 2011
(10)
November 2011
(6)
October 2011
(7)
September 2011
(6)
July 2011
(7)
June 2011
(1)
May 2011
(9)
March 2011
(5)
January 2011
(2)
December 2010
(5)
November 2010
(4)
October 2010
(3)
September 2010
(3)
July 2010
(6)
June 2010
(2)
May 2010
(3)
April 2010
(3)
March 2010
(4)
February 2010
(7)
January 2010
(7)
December 2009
(1)
November 2009
(1)
November 2008
(1)
October 2008
(1)
September 2008
(1)
December 2007
(1)
October 2007
(1)
September 2007
(3)
August 2007
(1)
July 2007
(1)
June 2007
(1)
April 2007
(1)
January 2007
(1)
December 2006
(1)
September 2006
(3)
April 2006
(6)
March 2006
(2)
July 2005
(1)
May 2005
(1)
April 2005
(2)