News for hackers. Stuff that matters.
Re:Why static languages suffer from complexity by preseinger on Wednesday January 19, 2022 @01:27PM (#29997835)
Structure is a virtue, not a vice. By doing this you're subverting your own interests.
Re:Why static languages suffer from complexity by pdpi on Wednesday January 19, 2022 @01:44PM (#29998102)
Structure is a tool. Like any tool, it can be misused or overused.

For anything even remotely production-y I'll always prefer explicitly parsing JSON into a known structure, but there's a lot of value in in being able to do some exploratory scripting without those constraints.

Re:Why static languages suffer from complexity by preseinger on Wednesday January 19, 2022 @04:56PM (#30000819)
Yes! Exploratory scripting is a categorically different thing than programming, though, I think.
Re:Why static languages suffer from complexity by convolvatron on Wednesday January 19, 2022 @05:47PM (#30001537)
not necessarily. there is a bottom up school of thought that encourages people to noodle around and construct primitives by playing in the domain, and then interactively composing those primitives into larger and larger systems.
Re:Why static languages suffer from complexity by preseinger on Wednesday January 19, 2022 @05:52PM (#30001590)
Yeah, that's true. It's a judgment call for sure, but I've always found that angle on things to be self-subversive. The best programmers I know are all bottom-up learners, not top-down.