oneeyedziggy

oneeyedziggy t1_j586ajq wrote

Imagine how caught off guard Breonna Taylor must have felt

edit: commented before realizing this wasn't about the other patrons being offended by a display of the brutal reality we live in, but some sick fuck GOP shitheels reveling in her death like it was a training video or something. Not sure if/how that changes the context :/

57

oneeyedziggy t1_iy75wuf wrote

Definitely-ish, but mostly a few different printers (minus the motors, maybe the nozel, and control computer) ... Look up the rep-rap printer https://reprap.org/wiki/Build_A_RepRap designed to be able to print as many of its own parts as possible... Obviously at minimum the nozel needs to be metal, and the control board would need A specialized printer if you wanted to print that too... The motors and microchips will still probably need other manufacturing techniques to produce for the foreseeable future

1

oneeyedziggy t1_ixilahp wrote

Awesome context... As I'm not a c# dev (well, my professional use of c# was extremely short lived and 10+ years ago...)... I was thinking in terms of what little java I know (also not a java dev) but how basically all options 9n a variable are enumerated in long-form when declaring ( public static String blah blah...) and just imagining (naively, based on the previous comment) that it might have been as simple as adding a byref or byval to the string of qualifiers when using a class to get struct behavior (and defaulting to some sane default where omitted)... Is this even relevant to the situation either in c# having such qualifiers or in classes and structs being sufficiently similar for that to be feasible (if only everything had been different)?

1

oneeyedziggy t1_ixdasff wrote

So think of classes as representing a thing... Like pie. You can make a new pie and it's not the class itself, but it is A pie.

Constructors are like a method that runs upon making a new pie... Set the flavor, crust type, size, et cetera.

Methods are things the pie does (the metaphor is breaking down a bit, but stay with me)... A pie might have an "eat" method that subtracts from it's current amount and returns a text description of the subtle flavor notes... Or maybe a specific message for the last slice about how uncle marvin was pissdd because he was saving that piece for your aunt. (so, like a function that belongs to a class)

I'm not a C# dev so while the rest may be close enough, Imma have to just have a go at describing structs: I'm pretty sure they just typed sets of properties... Like a class without methods... Like you might instead make a pie struct (because honestly, pies probably don't need methods, they don't DO a lot, and they're probably not dynamic or complex enough to need a constructor) so then you just make a "feast" class that has a bunch of food struct-typed properties with single eat method that takes the name of a food and subtracts from its quantity

2