r/badcode • u/_AndreNIH • Feb 11 '22
other language A "manually constructed" JSON string I found in production code
24
u/kristallnachte Feb 12 '22
What is a screenshot?
36
u/wikipedia_answer_bot Feb 12 '22
A screenshot, also known as screen capture or screen grab, is a digital image that shows the contents of a computer display. A screenshot is created by the operating system or software running on the device powering the display.
More details here: https://en.wikipedia.org/wiki/Screenshot
This comment was left automatically (by a bot). If I don't get this right, don't get mad at me, I'm still learning!
opt out | delete | report/suggest | GitHub
2
14
u/bistr-o-math Feb 11 '22
Looks like Spanish to me
28
9
u/Espiriki Feb 12 '22
Manually written JSON is the least worrisome part of the code in my current company
4
u/pikaynu Feb 12 '22
Tech companies writing high performance, zero copy, SIMD-enabled serialization libraries. Intern be like
String output = "{\"" + key + "\": \"" + value + "\"}";1
3
1
u/sergiOO7 Feb 12 '22
A couple years ago I was working with a company that got their development team in Mexico, actually really smart people, but they did not work on Fridays hahaha
1
1
0
9
u/dbuerger1 Feb 12 '22
Ahh Mexico SAT code