Skip to content

Code converters

TypeScript to ColdFusion

The same routine, written by hand in TypeScript and in ColdFusion. It is here so you can see what changes and what does not before anyone quotes you anything.

What you have · TypeScript

export function interest(balance: bigint, rateBasisPoints: bigint): bigint {
  return (balance * rateBasisPoints + 5000n) / 10000n
}

What it becomes · ColdFusion

<cfscript>
function interest(balance, rate) {
    return round(balance * rate * 100) / 100;
}
</cfscript>
One routine: a balance times a rate, rounded to the cent. Written by a person in both languages, not produced by a tool. Your file is longer and has more going on, which is the point.
Reading two files side by side is the easy half. The hard half is the rest of the system: which files nothing calls any more, which job writes the record another one reads at 02:00, and whether the rewrite still produces the numbers your auditors saw last month. That work runs on our platform with an engineer watching it, and it starts with a look at your codebase.

When a converter stops being enough

Comparing two files is the easy half. Nothing on this page can tell you which files nothing calls any more, which batch job writes the record another one reads at 02:00, or whether the rewritten version still produces the numbers your auditors saw last month. The assessment answers that on your actual codebase.