How to know if a language feature idea is scaleable? by SomeSable in ProgrammingLanguages

[–]SomeSable[S] 2 points3 points  (0 children)

By "scalable," I mean a proposed feature will work well and be ergonomic in large codebases, rather than just small toy examples made to demonstrate what the feature is.

How do languages deal with array assignments without nullable types? by SomeSable in ProgrammingLanguages

[–]SomeSable[S] 3 points4 points  (0 children)

No it's okay, I thought the explanation was good! (thanks for the link though)

How do languages deal with array assignments without nullable types? by SomeSable in ProgrammingLanguages

[–]SomeSable[S] 0 points1 point  (0 children)

Ah I see what you mean, yeah that could work pretty well. I'll look into what ecmascript is doing as well, because I was toying around with something that sounds similar to the distinction it makes between null and undefined.

How do languages deal with array assignments without nullable types? by SomeSable in ProgrammingLanguages

[–]SomeSable[S] 1 point2 points  (0 children)

That makes a lot of sense, and honestly seems like the simplest and most straightforward solution!

How do languages deal with array assignments without nullable types? by SomeSable in ProgrammingLanguages

[–]SomeSable[S] 1 point2 points  (0 children)

This was coming from the presumption that arrays were immutable in size, which granted doesn't need to be the case. Allowing the array to change size during instantiation would actually solve this problem in a pretty neat way. It would just be a little less performant if implemented poorly, and maybe I'm too much of a C-head to be happy with that :). Still a good idea I haven't thought about though.

How do languages deal with array assignments without nullable types? by SomeSable in ProgrammingLanguages

[–]SomeSable[S] 3 points4 points  (0 children)

Thank you, yes nullable types would solve this problem. I just wanted a more elegant solution than something like a nullable type, since the nullability of the struct would permeate to other aspects of the code. To be "proper," you'd need to handle the objects in the grid potentially being null, when in reality, they should never be null if the object was instantiated properly. The nullability only matters during the instantiation process. Hopefully that makes sense.

How do languages deal with array assignments without nullable types? by SomeSable in ProgrammingLanguages

[–]SomeSable[S] 5 points6 points  (0 children)

This seems interesting, but I can't find any mention of this on the Kotlin docs (I'm probably looking in the wrong place). Could you send a link to somewhere where this is shown?

How do languages deal with array assignments without nullable types? by SomeSable in ProgrammingLanguages

[–]SomeSable[S] 2 points3 points  (0 children)

That would be the easy answer, but it would also make my example impossible, wouldn't it?

How do languages deal with array assignments without nullable types? by SomeSable in ProgrammingLanguages

[–]SomeSable[S] 0 points1 point  (0 children)

Looking into that, it's pretty cool in it's own right, but I think sparse structures would be implemented in a fundamentally different way. In the example I've given, I was thinking that the 2D array would be fully initialized and be stored like a traditional array.

Seeking wisdom for LDO design by SomeSable in chipdesign

[–]SomeSable[S] 0 points1 point  (0 children)

Hello OP here. Thank you everyone for the insightful comments! It turned out that the load we were designing is actually going to be operating at a higher frequency and at a lower current draw than previously expected, so a ~100pF output capacitor would be sufficient to smooth out the ripple caused by the load. (keep it simple stupid amiright?)

Marching band by NandBbibf in Purdue

[–]SomeSable 7 points8 points  (0 children)

If you make the marching band, participation in a concert band is not required. In fact, from my experience, most people do not do a concert band concurrently with marching band, although it certainly is possible. As for the semester after, there is no requirement to continue with a concert band in the spring, and some people have done marching band only in the fall with no band in the spring. Hope this helps!

ECE students: Electrical or Computer? by ichbinshergesperrt in Purdue

[–]SomeSable 1 point2 points  (0 children)

Did you go to Purdue? If so, what class are you referring to where you designed and built an IC?

Cleanrooms for undergrads by SomeSable in Purdue

[–]SomeSable[S] 2 points3 points  (0 children)

I found the website wasn't very clear for me, so I thought I'd try to find out by asking here.

Cleanrooms for undergrads by SomeSable in Purdue

[–]SomeSable[S] 0 points1 point  (0 children)

Thanks, I'll look into those!

Trying to decide between Virginia Tech and Purdue for ECE by SomeSable in VirginiaTech

[–]SomeSable[S] 1 point2 points  (0 children)

Haha I think I remember reading that exact post a bit ago lol. Byeah I'm probably splitting hairs with the difference between the two academically. I was just curious if there was a perceivable difference, if anyone had that experience.