// guess the programming language of the day

$ whois apex

Apex

first released in 2007 · by Salesforce

$ guessprog --inspect apex

year
2007
paradigm
object oriented
family
c like
memory
automatic gc
binding
static
safety
strong

APEX(7)

AUTHORS
Salesforce
HISTORY
Apex was created by Salesforce as a way for customers to write custom business logic that runs on its cloud platform, and was introduced in 2007. Its syntax is strongly modelled on Java, but it runs on Salesforce's servers, where database queries in SOQL can be written inline in the code. Because many customers share the same multitenant infrastructure, Apex enforces strict "governor limits" on how many queries, records and CPU time a single transaction may use.
USAGE
Used by Salesforce developers and consultants to build triggers, integrations and custom applications on the Salesforce platform. It has a large professional community but no use outside Salesforce.
SEE ALSO
Apex on Wikipedia ↗
$ cat StaleDeals.cls
public with sharing class StaleDeals {
    public static void flag() {
        List<Opportunity> stale = [
            SELECT Id, Name FROM Opportunity
            WHERE IsClosed = false
            AND LastActivityDate < LAST_N_DAYS:90
        ];
        for (Opportunity opp : stale) {
            opp.Description = 'Needs attention';
        }
        update stale;
    }
}