News for hackers. Stuff that matters.
Re:JavaScript Structs by n_plus_1_acc on Saturday October 12, 2024 @05:13PM (#41822663)
Right, but all C courses I've done had UB in examples without mebtioning it. There teachers just didn't know what they are teaching.
Re:JavaScript Structs by bobthepanda on Monday October 14, 2024 @11:42AM (#41838578)
Unless you are writing a compiler and code specifically tailored to take advantage of UB, there’s not much to say about it other than “be careful about UB cause it can make your program buggy from your POV.”