Better HN
topnewbestaskshowjobs
Log inSign up

typescriptfan1

46 karma · joined Jan 15, 2020 (6y ago) · 13 submissions

Submissions

comment 5y ago · link · parent

Lack of engineering talent + accessibility of the cloud + buzz words got us here. Looking forward to the end of this cycle.

This is somewhat reminiscent of the abuse of higher level languages and the mindset computers are so powerful there's no need to think too hard. However, the consequences are no longer limited to a slow and buggy program but many slow and buggy programs and a large AWS bill too!

comment 6y ago · link · parent

It's funny to hear people, typically those with some stock involved, talk about how revolutionary 5G will be. Poor range and interference almost negate the benefits of increased speed. I can't think of any app, etc. that is is currently inhibited due to the lack of 5G. Can anyone name something that 5G actually makes possible (other than giving companies like AT&T an opportunity for a marketing gimmick)?

comment 6y ago · link · parent

Not sure pattern matching will age well. It seems to promote anti-OO design, may cause the switch statement to devolve into if/else, and creates another way to do the same thing.

comment 6y ago · link · parent

Date is actually pretty good.

* If you're reading UTC dates from the backend and displaying them in local time, new Date(year + 1900, month, day, hour, minute, second) works great.

* It's also easy to calculate repeating intervals in local time by using that constructor with getYear(), getMonth(), etc.

* Send it back to the server with .toISOString(). Add a .replace('Z', '') on that so .NET binds a DateTime with the right Kind.

comment 6y ago · link · parent

Rokenbok

comment 6y ago · link · parent

I was looking for an apartment this weekend in NJ and found myself in an unfamiliar building with destination dispatch elevators. What would you personally press to exit?

7.

Subtle expectations for everyday things(imgur.com ↗)

1 points · by typescriptfan1 · 6y ago · 1 comment

comment 6y ago · link · parent

Even babies? (To illustrate the extreme end of the spectrum.)

comment 6y ago · link · parent

I'll go on... the 95/XP UI was meticulously crafted. It solved some real usability problems by drawing on metaphors to aid discovery. It was close to a language. I think what happened was eventually the designer types got their hands in there and started making changes here and there to make specific things look good. Now we're here.

comment 6y ago · link · parent

Bring back the classic start menu and UI and call it a day. The Windows UI is so inconsistent, tedious and un-metaphorical today.

comment 6y ago · link · parent

My olde PHP sites are still running just fine.

comment 6y ago · link · parent

I love the cool images they seem to always put together when they do this.

comment 6y ago · link · parent

It's interesting that someone who is primarily using JavaScript in the backend is criticizing TypeScript's type system. There is a simple reason why TypeScript's type system is how it is... TypeScript is additive which works well in practice.