Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
|
|
@ -11,8 +11,8 @@ For example, name conventions for:
|
|||
|
||||
<br>
|
||||
If possible, indicate where the naming conventions are implicit, explicit, mandatory or discretionary.
|
||||
Any tools that enforced the the naming conventions.
|
||||
Any cases where the naming convention as commonly violated.
|
||||
Any tools that enforced the naming conventions.
|
||||
Any cases where the naming convention is commonly violated.
|
||||
|
||||
If possible, indicate where the convention is used to hint at other issues. For example the C standard library uses a prefix of "_" to "hide" raw Operating System calls from the non systems-programmer, whereas Python embeds member functions in between "__" to make a member function "private".
|
||||
|
||||
|
|
|
|||
8
Task/Naming-conventions/Ada/naming-conventions-1.adb
Normal file
8
Task/Naming-conventions/Ada/naming-conventions-1.adb
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
function Max (Left, Right : Integer) return Integer is
|
||||
begin
|
||||
if Left < Right then
|
||||
return Right;
|
||||
else
|
||||
return Left;
|
||||
end if;
|
||||
end Max;
|
||||
3
Task/Naming-conventions/Ada/naming-conventions-2.adb
Normal file
3
Task/Naming-conventions/Ada/naming-conventions-2.adb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
package My_Package is
|
||||
...
|
||||
end My_Package;
|
||||
3
Task/Naming-conventions/Ada/naming-conventions-3.adb
Normal file
3
Task/Naming-conventions/Ada/naming-conventions-3.adb
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
package body My_Package is
|
||||
...
|
||||
end My_Package;
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
on |±|(x, y)
|
||||
{x - y, x + y}
|
||||
end |±|
|
||||
|
||||
|±|(100, 5)
|
||||
1
Task/Naming-conventions/R/naming-conventions.r
Normal file
1
Task/Naming-conventions/R/naming-conventions.r
Normal file
|
|
@ -0,0 +1 @@
|
|||
`%!in%` <- function(x, y) !(x %in% y)
|
||||
Loading…
Add table
Add a link
Reference in a new issue