While typing is a good way to reduce programmer errors, specially for large scale programs, it's much like autocomplete in a word processor. It's cool to have but also a bad habit to form. The quality of prgrams would improve if such aids were reduced and the programmer was expected to form good programming habits instead.
This seems like some bizarre luddite-esque argument. We should use computers to aid our work, but not too much!!
The power of Result types in Swift
21–30 of 77 posts
Re: The power of Result types in Swift
#22While typing is a good way to reduce programmer errors, specially for large scale programs, it's much like autocomplete in a word processor. It's cool to have but also a bad habit to form. The quality of prgrams would improve if such aids were reduced and the programmer was expected to form good programming habits instead.
What would a typeless language look like?
Re: The power of Result types in Swift
#23While typing is a good way to reduce programmer errors, specially for large scale programs, it's much like autocomplete in a word processor. It's cool to have but also a bad habit to form. The quality of prgrams would improve if such aids were reduced and the programmer was expected to form good programming habits instead.
We should also remove airbags and seatbelts in automobiles. Surely then better driving habits would form.
Re: The power of Result types in Swift
#24Earlier quoted context omitted.
This seems like some bizarre luddite-esque argument. We should use computers to aid our work, but not too much!!
It's more an expression of "if it any broke don't fix it" or a minimalist approach to prorgamming.
The desire to remain ignorant of the problems (by not using tooling which can reveal it) is remarkably popular, however. Enjoy your bliss!
Re: The power of Result types in Swift
#25Earlier quoted context omitted.
It's more an expression of "if it any broke don't fix it" or a minimalist approach to prorgamming.
Programming is broken though. If it weren't, we wouldn't have so many issues with our main operating systems and popular applications. The desire to remain ignorant of the problems (by not using tooling which can reveal it) is remarkably popular, however. Enjoy your bliss!
Re: The power of Result types in Swift
#26Re: The power of Result types in Swift
#27It's a very well written article. I'm just a bit surprised there is no mention of the origins of this paradigm as it originated in functional languages (Maybe monad in Haskell).
Re: The power of Result types in Swift
#28Earlier quoted context omitted.
C. Just basic data types.
C is in no way typeless. Furthermore, i would expect a well behaved dev to avoid c at all cost.
Re: The power of Result types in Swift
#29While typing is a good way to reduce programmer errors, specially for large scale programs, it's much like autocomplete in a word processor. It's cool to have but also a bad habit to form. The quality of prgrams would improve if such aids were reduced and the programmer was expected to form good programming habits instead.
Re: The power of Result types in Swift
#30While typing is a good way to reduce programmer errors, specially for large scale programs, it's much like autocomplete in a word processor. It's cool to have but also a bad habit to form. The quality of prgrams would improve if such aids were reduced and the programmer was expected to form good programming habits instead.
What would a typeless language look like?
See chapter 13 example BCPL programs:
http://www.cl.cam.ac.uk/~mr10/bcplman.pdf
See chapter 13 example MCPL programs: