A list of 54 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 | 630 | 4 | 99% |
Line Comments | # Hello PLDB | 534 | 21 | 96% |
Strings | Hello PLDB | 367 | 0 | 100% |
Print() Debugging | print "Hello PLDB" | 321 | 1 | 100% |
MultiLine Comments | /* Hello PLDB */ | 226 | 20 | 92% |
Integers | 80766866 | 164 | 1 | 99% |
Floats | 80766866 | 141 | 0 | 100% |
Booleans | pldb = true | 119 | 5 | 96% |
Hexadecimals | 80766866 | 109 | 2 | 98% |
Conditionals | if (isTrue) printPldb() | 76 | 3 | 96% |
Semantic Indentation | line0 if true line1 print "Hello PLDB" | 70 | 519 | 12% |
Assignment | name = "PLDB" | 56 | 1 | 98% |
Octals | 80766866 | 53 | 4 | 93% |
While Loops | while (pldb.pop()) loop() | 49 | 4 | 92% |
File Imports | import pldb | 49 | 2 | 96% |
Binary Literals | 80766866 | 49 | 1 | 98% |
Functions | function computePLDBRanks() {} | 47 | 1 | 98% |
Standard Library | print("print is part of stdlib") | 40 | 1 | 98% |
Operator Overloading | def __add__(): doSomethingDifferent() | 35 | 14 | 71% |
Classes | class PLDBFile {} | 31 | 6 | 84% |
Constants | const name = "PLDB" | 28 | 2 | 93% |
Type Inference | imAString = "pldb" | 27 | 1 | 96% |
Macros | #define pldbItems 4000 | 27 | 10 | 73% |
Switch Statements | switch animal: case dog-buy; case cat-sell; | 25 | 2 | 93% |
Exceptions | throw new Error("PLDB uh oh") | 24 | 3 | 89% |
Case Insensitive Identifiers | pLdB = "PLDB" | 24 | 55 | 30% |
Lists | [2, 3, 10] | 23 | 1 | 96% |
Garbage Collection | var iDontNeedToFreeThis | 22 | 8 | 73% |
Inheritance | class PLDBFile extends File | 21 | 2 | 91% |
Directives | use strict; | 21 | 3 | 88% |
Case Sensitivity | pldb != PLDB | 20 | 9 | 69% |
Pointers | int *pldb | 20 | 5 | 80% |
Access Modifiers | class PLDBFile { public title } | 19 | 3 | 86% |
Constructors | PLDBFile { constructor() {} } | 16 | 4 | 80% |
Scientific Notation | 80766866 | 15 | 1 | - |
Multiple Inheritance | extends parentWhichExtendsSomethingElse | 14 | 6 | 70% |
Multiline Strings | hello = """Hello\nPLDB""" | 14 | 1 | - |
Bitwise Operators | 3 == (2 | 1) | 14 | 1 | - |
Module Pattern | module PLDB {} | 13 | 0 | - |
Message Passing | get pldb | 12 | 1 | - |
Static Typing | int pldbRank = 100 | 11 | 0 | - |
Zero-based numbering | firstItem = pldb[0] | 10 | 3 | - |
Structs | struct pldbFile { int rank; char *title; }; | 10 | 0 | - |
Pattern Matching | fib 0 = 1; fib 1 = 1 | 10 | 2 | - |
Enums | colorsEnum { "red", "white", "blue"} | 10 | 5 | - |
Single Dispatch | person.run() | 9 | 1 | - |
Regular Expression Syntax Sugar | /pldb/ | 9 | 6 | - |
Increment and decrement operators | i++ | 9 | 5 | - |
Here Document | `A big multliline text block` | 9 | 1 | - |
Ternary operators | true ? 1 : 0 | 8 | 8 | - |
Disk Output | write("pldb.csv", "...") | 8 | 4 | - |
Units of Measure | 42cm | 6 | 5 | - |
Function Overloading | add(string: str, string2: str) | 5 | 5 | - |
Variable Substitution Syntax | name = "PLDB"; print $name | 2 | 10 | - |