• 0 Posts
  • 54 Comments
Joined 1 year ago
cake
Cake day: August 14th, 2023

help-circle


  • If you used good objects, you’ll only have to make the change in one place

    IMO that’s generally a retroactive statement because in practice have to be lucky for that to be true. An abstraction along one dimension – even a good one, will limit flexibility in some other dimension.

    Occasionally, everything comes into alignment and an opportunity appears to reliably-ish predict the correct abstraction the future will need.

    Most every other time, you’re better off avoiding the possibility of the really costly bad abstraction by resisting the urge to abstract preemptively.




  • I think this is common in scientists and researchers. They operate at the edge of knowledge with one foot in the unverifiable and their eyes peering further still into the murky unknown. There is no map nor direction where they’re going, and that extension out into the darkness is often much like superstitious belief.

    What makes them different from followers of the occult that remain lost in the fog is that science returns from explorations with verifiable proof. Research extends it’s own foundations with new findings in order to venture yet another step further outwards.


  • IMO mathematical/logical/abstract thinking is critical for programming well, but IMO that’s different from “math degree” math.

    Software as a means to an end can be used in almost every domain, so proficiency within that applicable domain is often either useful or necessary. That is to say, “math degree” math is likely needed for 3d rendering (certain games), scientific computation (incl machine learning), etc, but maybe not, otherwise. It depends on what software you’re trying to build.

    To be more specific, general programming is definitely and specifically different from trig and calc. However, because math is also broad, “mathy” concepts like type theory, relational algebra, set theory are considered important for programming, even if only informally or indirectly so.







  • IMO factory functions are totally fine – I hesitate to even give them a special name b/c functions that can return an object are not special.

    However I think good use cases for Factory classes (and long-lived stateful instances of) are scarce, often being better served using other constructs.