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 | 631 | 4 | 99% |
Line Comments | # Hello PLDB | 535 | 21 | 96% |
Strings | Hello PLDB | 368 | 0 | 100% |
Print() Debugging | print "Hello PLDB" | 322 | 1 | 100% |
MultiLine Comments | /* Hello PLDB */ | 227 | 20 | 92% |
Integers | 80766866 | 165 | 1 | 99% |
Floats | 80766866 | 142 | 0 | 100% |
Booleans | pldb = true | 120 | 5 | 96% |
Hexadecimals | 80766866 | 110 | 2 | 98% |
Conditionals | if (isTrue) printPldb() | 77 | 3 | 96% |
Semantic Indentation | line0 if true line1 print "Hello PLDB" | 70 | 520 | 12% |
Assignment | name = "PLDB" | 57 | 1 | 98% |
Octals | 80766866 | 54 | 4 | 93% |
File Imports | import pldb | 50 | 2 | 96% |
While Loops | while (pldb.pop()) loop() | 49 | 4 | 92% |
Binary Literals | 80766866 | 49 | 1 | 98% |
Functions | function computePLDBRanks() {} | 47 | 1 | 98% |
Standard Library | print("print is part of stdlib") | 41 | 1 | 98% |
Operator Overloading | def __add__(): doSomethingDifferent() | 36 | 14 | 72% |
Classes | class PLDBFile {} | 31 | 6 | 84% |
Constants | const name = "PLDB" | 29 | 2 | 94% |
Type Inference | imAString = "pldb" | 28 | 1 | 97% |
Macros | #define pldbItems 4000 | 27 | 10 | 73% |
Switch Statements | switch animal: case dog-buy; case cat-sell; | 26 | 2 | 93% |
Exceptions | throw new Error("PLDB uh oh") | 24 | 3 | 89% |
Case Insensitive Identifiers | pLdB = "PLDB" | 24 | 56 | 30% |
Lists | [2, 3, 10] | 23 | 1 | 96% |
Garbage Collection | var iDontNeedToFreeThis | 22 | 8 | 73% |
Case Sensitivity | pldb != PLDB | 21 | 9 | 70% |
Pointers | int *pldb | 21 | 5 | 81% |
Inheritance | class PLDBFile extends File | 21 | 2 | 91% |
Directives | use strict; | 21 | 3 | 88% |
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 | 13 | 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 | - |
Increment and decrement operators | i++ | 10 | 5 | - |
Enums | colorsEnum { "red", "white", "blue"} | 10 | 5 | - |
Single Dispatch | person.run() | 9 | 1 | - |
Regular Expression Syntax Sugar | /pldb/ | 9 | 6 | - |
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 | - |