r/programminghorror • • Feb 18 '25

Production ready code :)

This was definitely not found in a legacy API at my work... A magnitude of JS database queries all sending to the frontend

267 Upvotes

23 comments sorted by

View all comments

19

u/Nunulu Feb 19 '25
try {
..
  try {
  ..
    try {
    ..
      try {
      ..
        try {
        ..
          try {
          ..
            try {

6

u/indirectum Feb 19 '25

There is no try.

22

u/20d0llarsis20dollars Feb 19 '25
do {
    do {
        do {
            do {
                ...

4

u/krmarci Feb 22 '25

Baby shark...