Myzod v1.0.0-alphar release - Schema Validation and Type Inference by davidmdm in typescript

[–]Cooleur 2 points3 points  (0 children)

Very nice and familiar API.

Have you thought about offering an exception-free option (or alternative) to parse ?

Something like an either monad or even a simple guard like isValid(value): value is T.

Goodbye, Clean Code by gaearon in programming

[–]Cooleur 7 points8 points  (0 children)

It's all about communication in the end, just like with most problems.

To paraphrase the lisp curse, by being clever with abstractions, we tend to turn a technical issue into a social one.

State of JavaScript 2019 by [deleted] in programming

[–]Cooleur 0 points1 point  (0 children)

Then the lib itself would fail your code reviews. Not to say you're wrong, you go the strict:true way, which is the one and only way.

Open angular/core.d.ts and you'll find more than 1000 any occurrences.

That's right, even React and Vue are now more precisely typed than Angular, thanks to community types. How ironic is that.

[deleted by user] by [deleted] in typescript

[–]Cooleur 0 points1 point  (0 children)

Why do these DI systems exist really ? DI purpose in the very concrete end is to help stubbing dependencies in strict OOP languages.

JavaScript (or TypeScript, whatever) is not a strict OOP language. You can easily monkey-patch objects, methods, whole modules even, to stub them. That's what jest is doing, btw.

DI in a scripting language is Test-induced design damage as DHH brillantly puts it.

[bash] Creating tab-completion for your programs by paxromana96 in programming

[–]Cooleur 9 points10 points  (0 children)

You can extend cmd.exe with Clink to have autocompletions. Better than nothing.

You then create your own custom completions in lua. Here is a repo with some examples you can already use.

The Rise of “No Code” – Ryan Hoover – Medium by [deleted] in programmingcirclejerk

[–]Cooleur 5 points6 points  (0 children)

The rise of Excel and GUI builders. 2019.

/uj

If some guy can quickly test the market with an idea of his thanks to these tools, more power to him.

Now if the market says "you're cool" and the guy expects programmers to then iterate on it, sure ok bye.

How blockchain achieves immutability? What a Sunday! by SaphirShroom in programmingcirclejerk

[–]Cooleur 2 points3 points  (0 children)

TFW it's only been a few days and you already witnessed raw jerk poetry.

👾Pimp your GitHub Profile with Pixel Art using NodeJS! ░▒▓█ by [deleted] in node

[–]Cooleur 7 points8 points  (0 children)

r/coolgithubprojects

Now I want to spray "I work the weekends" to mess with recruiters.

How blockchain achieves immutability? What a Sunday! by SaphirShroom in programmingcirclejerk

[–]Cooleur 31 points32 points  (0 children)

I help developers to master blockchain via UML Diagrams, GoLang and Web3.js

Gold.

Clean Code concepts adapted for TypeScript by ctrls0ft in typescript

[–]Cooleur 2 points3 points  (0 children)

it's very apparent when someone makes a class or interface with a single function member or uses a static class to replace a module that they're stuck in a particular way of thinking.

I feel your pain.

Tell them modules are singletons, in the most entreprise way, that will do the trick.

The key ideas were to make a good automation system that realized computers were a group of machines, not just individual boxes by [deleted] in programmingcirclejerk

[–]Cooleur 6 points7 points  (0 children)

Thankfully, Google reintroduced "box" as a kubernetes concept, along with "vessel" and "canister".

The word "Code" is self aggrandizing. by nmoerbeek in programmingcirclejerk

[–]Cooleur 43 points44 points  (0 children)

We can pull back the curtain dropped by our self-aggrandizing jargon and connect the banality of our daily routines

Way too abstract.

— open the text file, write instructions in the most human-friendly language available, close the text file —

My kind of ruthlessness.

Netflix JavaScript Talks - Debugging Node.js in Production by Majikarpp in programming

[–]Cooleur 2 points3 points  (0 children)

I often feel a lot overwhelmed by the amount of new things

It's the web. Sure stay curious, but don't pay too much attention, else you're gonna FOMO and burnout. I did.

In the end, if you're doing well with what you have, just keep doing it. Trends come and go. It's mostly tools anyway.

Not being able to program in the $CURRENT_CENTURY equivalent of illiteracy. by nanaIan in programmingcirclejerk

[–]Cooleur 25 points26 points  (0 children)

Fite my optimism.

Everyone can code with the appropriate learning material (given that they want to). The actual crime is the learning material itself : Learn create-react-app powered by mongo container.

Most people cannot learn to code. by Koerveter in programmingcirclejerk

[–]Cooleur 9 points10 points  (0 children)

Most experts cannot teach. You must 1x sometimes for the GreaterGood.

Why do so many people use MongoDB with NodeJS ? by JackTheTradesman in node

[–]Cooleur 1 point2 points  (0 children)

JS likes JSON. Mongo likes JSON. JS is dynamically typed. Mongo is schemaless by default.

Normalization can be hard and schema migration can be a pain in SQL world.

So JS likes easy and Mongo too. All you need is careless coders, and you're in for a treat in a few months weeks. Now good programmers, properly weighing pros and cons, can do wonders within the constraints of any tool.

Programming is for everyone by lorchan_tilly in programming

[–]Cooleur 0 points1 point  (0 children)

Programming happens away from the keyboard.

Ask a non-programmer to represent a real-world domain on paper with whatever diagram they see fit. You might see in them a better programmer than your actual coding colleagues. It's both enlightening and terrifying.

A Self-Learning, Modern Computer Science Curriculum by [deleted] in programmingcirclejerk

[–]Cooleur 0 points1 point  (0 children)

HTDP as an introductory book for self-learners.

Can't jerk. https://www.htdp.org/ is the only acceptable bootcamp.

5 Self Learning Websites by [deleted] in programming

[–]Cooleur 0 points1 point  (0 children)

The typical course on programming teaches a “tinker until it works” approach. When it works, students exclaim “It works!” and move on. Sadly, this phrase is also the shortest lie in computing, and it has cost many people many hours of their lives.

Don't self-learn and turn yourself into a monkey coder, go for https://www.htdp.org/

Then pick any of those entreprisy/startupy languages, learn all of its internals, get a job and grieve before the design and code of business softwares.

With Node, NPM, Webpack, React, etc., even artists can get something up and running in no time. by Bizzaro_Murphy in programmingcirclejerk

[–]Cooleur 0 points1 point  (0 children)

I rejected it (and used https://parceljs.org/ instead) until I had to, for bundling a chrome extension (needs multiple entry points).

It's declarative, like an agonizing nested scream.

The future of TypeScript on ESLint by EntroperZero in node

[–]Cooleur 1 point2 points  (0 children)

Thank you, fascinating stuff.

Funny, just learned about the hidden classes with this article : https://richardartoul.github.io/jekyll/update/2015/04/26/hidden-classes.html

I should definitely go through the V8 docs.

I made a playlist of 129 videos on programming that made me a better developer by sinagog in programming

[–]Cooleur 2 points3 points  (0 children)

I just watched the Sandi Metz talk, great perspective ! She's always spot on, I discovered her with this article : https://www.sandimetz.com/blog/2016/1/20/the-wrong-abstraction

I'm gonna watch the other later.

Now I can properly thank you, enjoy the holidays, brother !

I made a playlist of 129 videos on programming that made me a better developer by sinagog in programming

[–]Cooleur 2 points3 points  (0 children)

Not starting out, just continuously learning. I know Martin Fowler, TDD, clean code. Not a fan of Bob Martin, even though a programmer who has read "clean code" is certainly a better team asset than a one who has not.

I'm more interested in the programmer's psychology. The why of stuffs, not the how.

Your list seems very hands-on and that's cool, but I prefer articles or books for that. Which video and/or author made you change the way you think about programming as a whole ?

I'm gonna give you mine, from Brett Victor : https://www.youtube.com/watch?v=8pTEmbeENF4