The OFFICIAL programming thread
-
@hog said in The OFFICIAL programming thread:
I can easily switch between tabs and spaces, 2 spaces or 4 space indentation etc. I prefer Vim over Emacs but whatever floats your boat. Two things I can’t abide though are:
- Z is up, not Y, you assholes
- They’re called “integers” not “integrals” ffs, stop polluting your language and APIs with a misnomer.
I’m ready to go to war over these last two so come at me.
Hell if I care, I’m dealing with JCL and IBM screen/AFP definitions, ain’t got no time for Unix editors or APIs.
-
@hog said in The OFFICIAL programming thread:
I can easily switch between tabs and spaces, 2 spaces or 4 space indentation etc. I prefer Vim over Emacs but whatever floats your boat.
Spaces are clearly superior. You will keep your indent levels even if some idiot redefined a tab to be 8 spaces wide.
Oh and this:

-
hawr hawr hawr programmer humor hawr hawr hawr
-
Work continues in this area. – DEC’s SPR-Answering-Automaton
-
-
@lob12 said in The OFFICIAL programming thread:
Ya, like lawyers are a barrel of fun.
You have execution rules, but you don’t know how your argument ‘scripts’ will run in the court CPU, and you have judges with fidgety non-determinative decision branches that can vary from case to case.
As a coding enviornment, law is a freaking disaster.
-
Thats why we have a Code civil here. Thank you, Napoleon!
-
@lob12 said in The OFFICIAL programming thread:
Thats why we have a Code civil here. Thank you, Napoleon!
Not English common law? Frenchie code, where the lawyer is a full officer of the court?
-
@kilemall said in The OFFICIAL programming thread:
@lob12 said in The OFFICIAL programming thread:
Thats why we have a Code civil here. Thank you, Napoleon!
Not English common law? Frenchie code, where the lawyer is a full officer of the court?
Its kind of a long story but one of the concessions the British made to dissuade us from joining the American revolution was to let us keep our Civil law tradition. So in Quebec for all matters that fall into provincial jurisdiction (i.e. pretty much everything except criminal law), the 3000+ articles long Code civil applies (unless a specific law about specific situations say something else, like the Labour Code for matters that concern labour, per example). The modern version has been rewritten 2-3 times in the last 150 +/- years and it was heavily influenced by France’s Code Napoleon.
In practice though the Court system looks very similar to other commonwealth countries and you can even still plead common law concepts, unless there is a provision of the Code that specifically prohibits it.
Rest of Canada is 100% Common law.
-
The Code civil du Québec :
http://www.studenthousingguide.co.uk/wp-content/uploads/2017/08/Room.jpg
Now, the Criminal Code of Canada :
http://www.personal.psu.edu/afr3/blogs/siowfa13/RCAT-100MessyRoom.jpg
-
Québec is Canada.
Mwahahaha.
-
@wingmann said in The OFFICIAL programming thread:
Québec is Canada.
Mwahahaha.
Just like Catalan is Spain?
-
@kilemall said in The OFFICIAL programming thread:
@wingmann said in The OFFICIAL programming thread:
Québec is Canada.
Mwahahaha.
Just like Catalan is Spain?
Catalan is a language, but yes, Catalunya is Spain.
-
@wingmann said in The OFFICIAL programming thread:
@kilemall said in The OFFICIAL programming thread:
@wingmann said in The OFFICIAL programming thread:
Québec is Canada.
Mwahahaha.
Just like Catalan is Spain?
Catalan is a language, but yes, Catalunya is Spain.
And even they want out. Nobody likes you guys. Maybe they become little Puerto Rico?
-
@lob12 said in The OFFICIAL programming thread:
The Code civil du Québec :
http://www.studenthousingguide.co.uk/wp-content/uploads/2017/08/Room.jpg
Now, the Criminal Code of Canada :
http://www.personal.psu.edu/afr3/blogs/siowfa13/RCAT-100MessyRoom.jpg
So English Common Law is a bit messy like a college kids room, but Code Civil du Quebec is like a girl’s bedroom?
-
@jam said in The OFFICIAL programming thread:
@lob12 said in The OFFICIAL programming thread:
The Code civil du Québec :
http://www.studenthousingguide.co.uk/wp-content/uploads/2017/08/Room.jpg
Now, the Criminal Code of Canada :
http://www.personal.psu.edu/afr3/blogs/siowfa13/RCAT-100MessyRoom.jpg
So English Common Law is a bit messy like a college kids room, but Code Civil du Quebec is like a girl’s bedroom?
Tidy as fuck.
I googled “tidy rooms” and all I got was girlie rooms :/
-
@lob12 said in The OFFICIAL programming thread:
@jam said in The OFFICIAL programming thread:
@lob12 said in The OFFICIAL programming thread:
The Code civil du Québec :
http://www.studenthousingguide.co.uk/wp-content/uploads/2017/08/Room.jpg
Now, the Criminal Code of Canada :
http://www.personal.psu.edu/afr3/blogs/siowfa13/RCAT-100MessyRoom.jpg
So English Common Law is a bit messy like a college kids room, but Code Civil du Quebec is like a girl’s bedroom?
Tidy as fuck.
I googled “tidy rooms” and all I got was girlie rooms :/
Google understands.
Everything you were up to.
-
@kilemall said in The OFFICIAL programming thread:
@lob12 said in The OFFICIAL programming thread:
@jam said in The OFFICIAL programming thread:
@lob12 said in The OFFICIAL programming thread:
The Code civil du Québec :
http://www.studenthousingguide.co.uk/wp-content/uploads/2017/08/Room.jpg
Now, the Criminal Code of Canada :
http://www.personal.psu.edu/afr3/blogs/siowfa13/RCAT-100MessyRoom.jpg
So English Common Law is a bit messy like a college kids room, but Code Civil du Quebec is like a girl’s bedroom?
Tidy as fuck.
I googled “tidy rooms” and all I got was girlie rooms :/
Google understands.
Everything you were up to.
Pedo-Lob
-
@lob12 said in The OFFICIAL programming thread:
The modern version has been rewritten 2-3 times in the last 150 +/- years and it was heavily influenced by France’s Code Napoleon.
I understand Napoleonic Code leans towards a “guilty until proven innocent,” view. Does Quebec’s civil code also do that?
-
@stu said in The OFFICIAL programming thread:
@lob12 said in The OFFICIAL programming thread:
The modern version has been rewritten 2-3 times in the last 150 +/- years and it was heavily influenced by France’s Code Napoleon.
I understand Napoleonic Code leans towards a “guilty until proven innocent,” view. Does Quebec’s civil code also do that?
No, but the presumption of innocence is more of a criminal law concept anyway. I don’t know French criminal law at all tbh but I’m quite sure they have something that is very similar. Here is a quote from wiki :
“In France, article 9 of the Declaration of the Rights of Man and of the Citizen of 1789, which has force as constitutional law, begins: “Any man being presumed innocent until he has been declared guilty …” The Code of Criminal Procedure states in its preliminary article that “any person suspected or prosecuted is presumed innocent for as long as their guilt has not been established”[6] and the jurors’ oath repeats this assertion (article 304; note that only the most serious crimes are tried by jury in France). However, there exists a popular misconception that under French law, the accused is presumed guilty until proven innocent.”
In Canada, presumption of innocence in criminal matters is guaranteed by section 11(d) of the Canadian Charter of Rights and Freedoms.
Like I said before, the Code civil applies to non-criminal matters (i.e. tort, contract laws) where the burden of proof basically always falls (unless you were able to demonstrate the existence of a legal presumption) to the party who is making the allegations. Example : Jam pushed me down the staircases and I’m suing him for damages (classic tort case). Well I have to prove that Jam pushed me down the staircase and demonstrate the damages I suffered. The burden of proof I have to satisfy here is not “beyond a reasonable doubt” but more according to a “balance of probabilities”.
What you do find a lot in the civil code is the notion of Good faith vs Bad faith. And one of the first articles of the Book of Evidence states that “Good faith is always presumed, unless the law expressly requires that it be proved.” So if you’re accusing someone of being a lying scumbag in any kind of litigation, or if you pretend that someone’s actions were purposely designed to hurt you in any way, well its up to you to prove it.

