A list of 52 features found in programming languages. View all features.
We also have a page of all keywords and all file extensions.
title | pseudoExample | yes | no | percentage |
---|---|---|---|---|
Comments | # Hello PLDB | 627 | 4 | 99% |
Line Comments | # Hello PLDB | 531 | 21 | 96% |
Strings | "Hello PLDB" | 365 | 0 | 100% |
Print() Debugging | print "Hello PLDB" | 319 | 1 | 100% |
MultiLine Comments | /* Hello PLDB */ | 225 | 20 | 92% |
Integers | 80766866 | 161 | 1 | 99% |
Floats | 80766866.0 | 139 | 0 | 100% |
Booleans | pldb = true | 116 | 4 | 97% |
Hexadecimals | 0x4D06792 | 108 | 1 | 99% |
Conditionals | if (isTrue) printPldb() | 75 | 3 | 96% |
Semantic Indentation | line0 if true line1 print "Hello PLDB" | 69 | 517 | 12% |
Assignment | name = "PLDB" | 53 | 1 | 98% |
Octals | 0o464063622 | 52 | 3 | 95% |
Binary Literals | 0b100110100000110011110010010 | 49 | 1 | 98% |
While Loops | while (pldb.pop()) loop() | 48 | 4 | 92% |
File Imports | import pldb | 48 | 2 | 96% |
Functions | function computePLDBRanks() {} | 44 | 1 | 98% |
Standard Library | print("print is part of stdlib") | 37 | 1 | 97% |
Operator Overloading | def __add__(): doSomethingDifferent() | 33 | 13 | 72% |
Classes | class PLDBFile {} | 31 | 5 | 86% |
Constants | const name = "PLDB" | 28 | 1 | 97% |
Macros | #define pldbItems 4000 | 27 | 9 | 75% |
Type Inference | imAString = "pldb" | 26 | 1 | 96% |
Switch Statements | switch animal: case dog-buy; case cat-sell; | 24 | 1 | 96% |
Case Insensitive Identifiers | pLdB = "PLDB" | 24 | 54 | 31% |
Lists | [2, 3, 10] | 22 | 1 | 96% |
Exceptions | throw new Error("PLDB uh oh") | 22 | 3 | 88% |
Directives | use strict; | 21 | 2 | 91% |
Pointers | int *pldb | 20 | 5 | 80% |
Inheritance | class PLDBFile extends File | 20 | 1 | 95% |
Garbage Collection | var iDontNeedToFreeThis | 19 | 8 | 70% |
Case Sensitivity | pldb != PLDB | 18 | 9 | 67% |
Access Modifiers | class PLDBFile { public title } | 18 | 3 | 86% |
Scientific Notation | 8076686.6e1 | 15 | 0 | - |
Constructors | PLDBFile { constructor() {} } | 15 | 4 | - |
Multiple Inheritance | extends parentWhichExtendsSomethingElse | 14 | 5 | - |
Multiline Strings | hello = """Hello\nPLDB""" | 13 | 1 | - |
Message Passing | "get pldb" | 12 | 1 | - |
Bitwise Operators | 3 == (2 | 1) | 12 | 1 | - |
Module Pattern | module PLDB {} | 11 | 0 | - |
Static Typing | int pldbRank = 100 | 10 | 0 | - |
Zero-based numbering | firstItem = pldb[0] | 9 | 3 | - |
Single Dispatch | person.run() | 9 | 1 | - |
Regular Expression Syntax Sugar | /pldb/ | 9 | 6 | - |
Pattern Matching | fib 0 = 1; fib 1 = 1 | 9 | 2 | - |
Increment and decrement operators | i++ | 9 | 3 | - |
Here Document | `A big multliline text block` | 9 | 1 | - |
Ternary operators | true ? 1 : 0 | 8 | 7 | - |
Enums | colorsEnum { "red", "white", "blue"} | 8 | 5 | - |
Disk Output | write("pldb.csv", "...") | 8 | 4 | - |
Units of Measure | 42cm | 6 | 4 | - |
Variable Substitution Syntax | name = "PLDB"; print $name | 2 | 10 | - |