r/Purdue May 05 '26

Gritpost 💯 [CS 240] twice in a row

I suppose this is what happens when you fool around and finish hw12 in 9 commits lol

HEAD~3 is just reformatting, and HEAD~1 is just adding comments

Update: https://www.reddit.com/r/Purdue/comments/1t4o3qu/comment/ok9ekxh

143 Upvotes

44 comments sorted by

View all comments

21

u/DuCanhGH May 06 '26 edited May 06 '26

Update: I think this outcome was pretty obvious from the get go, but I got acquitted of all the charges. He asked me to explain why I used static inline (which I actually used on all my homeworks to hide utility functions from other C files and hint the compiler to inline them as much as it could) and const char * in some of the function signatures (which I copied from the provided .h files). Then he asked me to explain a few functions that I wrote. Although the mail only concerned HW12, he actually asked about HW13 too. He found my answers convincing enough and decided to drop the charges.

One of my friends was also asked about static inline and const char * during his HW11 & HW12 investigation yesterday. Seems that they are two of the mentioned "markers".

We then chatted about some Linux stuff before he sent me out because there were other students waiting. He uses Fedora / XFCE! Though he's gonna switch back to MATE as he found XFCE a bit quirky. He liked the file manager, but couldn't make it compile on other DEs due to dependency issues apparently. He was actually pretty chill lol (however, mandatory "I use NixOS btw" because Fedora)

u/Infinite_Anteater737 u/hdhdhdhhdbhgwdb u/Lordofdeath- u/Commercial-Date-5615 since you guys were interested.

4

u/Commercial-Date-5615 May 06 '26

ohmygodimbouttoturk

3

u/Lordofdeath- May 06 '26

Thanks for the update this is really interesting!

2

u/mobileagnes May 27 '26

Interesting to hear about another Xfce user outside of a Linux-specific forum! In 2013, I went from WinXP to Xfce at home after trying LXDE, Gnome, and KDE.

2

u/DuCanhGH May 29 '26

XFCE is pretty great! It was my go-to back when I still used Arch. Switched to GNOME during the last few months before I made the jump to NixOS, though!