News for hackers. Stuff that matters.

nidu

Re:Economic growth no longer requires rising emissions on Friday November 11, 2022 @09:42AM (#33561378)
Would be especially inconvenient in places where you have daylight from 9AM till 4PM and where people rely on electric heating.
Re:From Rust to TypeScript on Saturday September 12, 2020 @01:22PM (#24453930)
1. You can define enum like `const enum A {...}` and they will not have runtime representation.
Re:Why is modern web development so complicated? on Thursday August 08, 2019 @05:54AM (#20643075)
I'm not sure comparison is correct. If you want routing in jQuery app - you will have some similar concept to routers. Using packers is also not required. And if you want some good automating module splitting in jQuery app - you'll probably pick up some packer as well. So it's more like HTML5/jQuery can be compared to just React without additions.

Most of these things that bring cognitive load have some purpose. It looks from time to time that developers start making tools in the sake of tools, but most of the time there's some sane reasoning behind.

Re:Functional programming in JavaScript is an antipattern on Tuesday June 27, 2017 @04:45AM (#14643448)
Agree with this one. Reading article i though "Why don't you just drop ImmutableJS in favor of pure js collections with lodash/fp?". I felt the same when were using ImmutableJS. Two collection libraries across the app is very inconvenient. One could build entire infrastructure with ImmutableJS and restrict native collections to only system boundaries, but in js you usually befriend a lot of libs which makes it complex.
Re:Why we chose Vue.js on Friday October 21, 2016 @02:10AM (#12758477)
I suppose Vue.js is not very TypeScript friendly?
Re:Why we chose Vue.js on Friday October 21, 2016 @01:55AM (#12758427)
Don't you use router with vue.js? And what's so messy about JSX?
Probably when you accidentally scanned a document to PDF. Or when you received a document in PDF from some nasty man.
Re:My Increasing Frustration with Clojure on Saturday June 11, 2016 @11:19AM (#11883722)
Once I tried to make a union of a sorted set and an unsorted one. Result set inherits behaviour of a bigger input set so when i first got my sometimes-sorted set i thought like loosing my mind.
Re:I Was Wrong About TypeScript on Monday June 06, 2016 @02:12AM (#11844957)
It could also benefit from constant propagation (iirc the term) where you could write obj.get(Item.name) and both get type check and stay refactoring friendly (though with cost of some more typing).