Reverse engineering IRIX: The beginning.
#13
RE: Reverse engineering IRIX: The beginning.
Well the C-style languages are by far not my favorite. I also have to agree on a few of these points but the biggest point I would say wasn’t directly brought up in the previous post is the in-line IF or in-line conditional.

I remember a very famous Apple bug that appeared somewhere in 2007 or 2008 I believe we’re a whole certificate check didn’t take place because the person who modified the code at Apple didn’t understand the difference between an in-line IF and a block-style.

It actually made it out to production and made the news that’s when I sort of learned about that shorthand because I was never taught it originally.


So personal advice number one when it comes to C-style programming do not use implied coverage like the single line conditional statements unless you have an incredibly complex nested functional expression single liner.

Even though it “wastes space”. Use a block-style conditional for all things that aren’t a functional expression.
weblacky
I play an SGI Doctor, on daytime TV.

Trade Count: (10)
Posts: 1,716
Threads: 88
Joined: Jan 2019
Location: Seattle, WA
Find Reply
12-29-2021, 09:44 PM


Messages In This Thread
Reverse engineering IRIX: The beginning. - by Raion - 12-27-2021, 04:45 AM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 03:00 AM
RE: Reverse engineering IRIX: The beginning. - by TruHobbyist - 12-28-2021, 08:12 AM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 03:46 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 06:30 PM
RE: Reverse engineering IRIX: The beginning. - by jpstewart - 12-28-2021, 09:14 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 09:20 PM
RE: Reverse engineering IRIX: The beginning. - by jan-jaap - 12-28-2021, 10:26 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-28-2021, 11:00 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-29-2021, 02:42 AM
RE: Reverse engineering IRIX: The beginning. - by TruHobbyist - 12-29-2021, 12:19 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-29-2021, 04:36 PM
RE: Reverse engineering IRIX: The beginning. - by weblacky - 12-29-2021, 09:44 PM
RE: Reverse engineering IRIX: The beginning. - by Raion - 12-29-2021, 09:58 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)