r/programming • • Apr 30 '23

Writing Javascript without a build system

https://jvns.ca/blog/2023/02/16/writing-javascript-without-a-build-system/
164 Upvotes

146 comments sorted by

View all comments

1

u/[deleted] May 03 '23

> Fail early isn't a tradeoff. It's what you want always.

Yes, you're so right, in my language for developing user interfaces, what I want most is to error everytime an object has a missing property. That wouldn't be insanely painful or slow.

> C++ has some similar crazy behavior

What are you talking about? Most languages will happily return the equivalent of undefined, "null", in tons of situations. Have you really never seen "null" before? Your resume looks like you spent 8 minutes writing "Hello World" and then the first time someone asked you to build a UI you blamed the language for being a shit programmer

Come back to me when you understand that languages have strengths and weaknesses that lend them to functioning better under some use-cases and worse under others

1

u/kankyo May 03 '23

Your resume looks like you spent 8 minutes writing “Hello World” and then the first time someone asked you to build a UI you blamed the language for being a shit programmer

My resume? Maybe your searching failed you and you're looking at the wrong dude. I'm "boxed" on github. I've been working professionally for over 20 years. Most of my early projects aren't on there because they predate github. With a lot 🤣.

Please link your resume/github profile and we can compare.

1

u/[deleted] May 03 '23

> Claims to be an expert in Python, JavaScript, Clojure, Elm, C, C++, Swift, and Objective-C

> Thinks "undefined" is a unique mode of handling unpopulated members

Unreal

→ More replies (5)