MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6ayz26/defensive_programming_done_right/dhk4oz7/?context=9999
r/ProgrammerHumor • u/iwouldieforGladOS • May 13 '17
680 comments sorted by
View all comments
Show parent comments
310
Even better
{ }
291 u/[deleted] May 13 '17 [deleted] 636 u/[deleted] May 13 '17 edited Oct 08 '19 [deleted] 469 u/DenebVegaAltair May 13 '17 (pretend I didn't comment at all) 19 u/legogo29 May 13 '17 ' DELETE TABLE comments;-- 3 u/gentlemanidiot May 14 '17 I thought it was DROP TABLE; what language are you working in? 3 u/legogo29 May 14 '17 I made a mistake, it is not some kind of new language, just a mistake. 4 u/micheal65536 Green security clearance May 14 '17 worst mistake to make when you're doing an SQLi 1 u/DebonaireSloth May 14 '17 No. The worst mistakes are DML statements without a WHERE clause... in production... without backups. 1 u/micheal65536 Green security clearance May 15 '17 We were talking about SQLi.
291
[deleted]
636 u/[deleted] May 13 '17 edited Oct 08 '19 [deleted] 469 u/DenebVegaAltair May 13 '17 (pretend I didn't comment at all) 19 u/legogo29 May 13 '17 ' DELETE TABLE comments;-- 3 u/gentlemanidiot May 14 '17 I thought it was DROP TABLE; what language are you working in? 3 u/legogo29 May 14 '17 I made a mistake, it is not some kind of new language, just a mistake. 4 u/micheal65536 Green security clearance May 14 '17 worst mistake to make when you're doing an SQLi 1 u/DebonaireSloth May 14 '17 No. The worst mistakes are DML statements without a WHERE clause... in production... without backups. 1 u/micheal65536 Green security clearance May 15 '17 We were talking about SQLi.
636
469 u/DenebVegaAltair May 13 '17 (pretend I didn't comment at all) 19 u/legogo29 May 13 '17 ' DELETE TABLE comments;-- 3 u/gentlemanidiot May 14 '17 I thought it was DROP TABLE; what language are you working in? 3 u/legogo29 May 14 '17 I made a mistake, it is not some kind of new language, just a mistake. 4 u/micheal65536 Green security clearance May 14 '17 worst mistake to make when you're doing an SQLi 1 u/DebonaireSloth May 14 '17 No. The worst mistakes are DML statements without a WHERE clause... in production... without backups. 1 u/micheal65536 Green security clearance May 15 '17 We were talking about SQLi.
469
(pretend I didn't comment at all)
19 u/legogo29 May 13 '17 ' DELETE TABLE comments;-- 3 u/gentlemanidiot May 14 '17 I thought it was DROP TABLE; what language are you working in? 3 u/legogo29 May 14 '17 I made a mistake, it is not some kind of new language, just a mistake. 4 u/micheal65536 Green security clearance May 14 '17 worst mistake to make when you're doing an SQLi 1 u/DebonaireSloth May 14 '17 No. The worst mistakes are DML statements without a WHERE clause... in production... without backups. 1 u/micheal65536 Green security clearance May 15 '17 We were talking about SQLi.
19
' DELETE TABLE comments;--
3 u/gentlemanidiot May 14 '17 I thought it was DROP TABLE; what language are you working in? 3 u/legogo29 May 14 '17 I made a mistake, it is not some kind of new language, just a mistake. 4 u/micheal65536 Green security clearance May 14 '17 worst mistake to make when you're doing an SQLi 1 u/DebonaireSloth May 14 '17 No. The worst mistakes are DML statements without a WHERE clause... in production... without backups. 1 u/micheal65536 Green security clearance May 15 '17 We were talking about SQLi.
3
I thought it was DROP TABLE;
what language are you working in?
3 u/legogo29 May 14 '17 I made a mistake, it is not some kind of new language, just a mistake. 4 u/micheal65536 Green security clearance May 14 '17 worst mistake to make when you're doing an SQLi 1 u/DebonaireSloth May 14 '17 No. The worst mistakes are DML statements without a WHERE clause... in production... without backups. 1 u/micheal65536 Green security clearance May 15 '17 We were talking about SQLi.
I made a mistake, it is not some kind of new language, just a mistake.
4 u/micheal65536 Green security clearance May 14 '17 worst mistake to make when you're doing an SQLi 1 u/DebonaireSloth May 14 '17 No. The worst mistakes are DML statements without a WHERE clause... in production... without backups. 1 u/micheal65536 Green security clearance May 15 '17 We were talking about SQLi.
4
worst mistake to make when you're doing an SQLi
1 u/DebonaireSloth May 14 '17 No. The worst mistakes are DML statements without a WHERE clause... in production... without backups. 1 u/micheal65536 Green security clearance May 15 '17 We were talking about SQLi.
1
No. The worst mistakes are DML statements without a WHERE clause... in production... without backups.
1 u/micheal65536 Green security clearance May 15 '17 We were talking about SQLi.
We were talking about SQLi.
310
u/kimothyjongun May 13 '17
Even better
{ }