DEV Community

loading...
Heiker profile picture

Heiker

Web developer from Venezuela. I like solving problems. Currently trying to improve my communication skills

Joined Joined on  GitHub logo External link icon

Last 250 comments

quick search in terminal

might want to make the title a little more specific. Like "a ...

Jan 18: DEV Daily Discovery

You know how some people say that it's useless to re-implemen...

3 Consejos para empezar a Programar 💻️💜️

Tomar notas de lo que uno aprende puede ayudar con el síndrom...

Usando Netrw, el navegador de archivos nativo de vim

Espero que sea útil. Aún tengo más artículos como este planea...

💬 - What's the COOLEST Vim plugin?

My favorite plugins are the ones that make native features mo...

My Favorite Bash Tips, Tricks, and Shortcuts

Oh I know about fzf, I use it extensively inside vim (I would...

My Favorite Bash Tips, Tricks, and Shortcuts

Sure. I'll do that. I would like to mention that I got this ...

What's the best Linux distro for Windows users?

Q4OS. They really try to be close to windows in terms of UI. ...

What if we had a method on arrays called `.combineWith`?

Nice. I'm curious now, what was the use case?

What if we had a method on arrays called `.combineWith`?

Yes. It is exactly what reduce is good for. I'm trying an exp...

Which Linux distro is most stable for daily use?

For me is Debian. I have written about my experience with it ...

Why I don't like reduce

I would like to add to that reduce is very good with binary o...

My Favorite Bash Tips, Tricks, and Shortcuts

# Up Arrow bind '"\e[A": history-search-backward' # Down Ar...

🔥 Getting the largest number from an array

It looks like this works, too. Math.max.apply(null, [69, 4...

What does the unicorn icon do in dev.to posts?

As far as I know, it's like the heart but funnier. That's it....

Explain a State Machine Like I'm Five

I only know about finite state machines, so I'll do that Ima...

Transducers in javascript

Inspired by this post, that's about getting data from your de...

My functional approach to HackerRank's 'Mini-Max Sum' challenge

I see your single purpose reduce and raise you a reduce that ...

My journey to vim

Thank you for taking the time to read it and also for sharing...

Redux: Switching to other case within the same reducer

The quick way that I can think of is using recursion. if(!...

Turn Object to Array using Object.entries()

That feels like a lot of work. If you are looping through a p...

La utilidad de los reducers

También existe el método .reduceRight en los arreglos.

La utilidad de los reducers

Que interesante esto sobre funcionalidad de Redux sin Redux....

GitHub discussions: Your thoughts?

I was waiting for this feature for awhile now, because then p...

do you have any question about functional programming in javascript?

Somebody in a previous post ask me some fundamental questions...

Is functional programming in JS really worth it?

I'm also on a journey to learn functional programming. For me...

What was your win this week?

thanks!

What was your win this week?

my post about reducers did well this week. The case of reduc...

Tools for creating shell command in PHP

You can make your own framework. If you don't have any specia...

Don't bother me with your awesome framework, I simply want to retrieve data from a public API :-)

I'm glad this is not a serious post. I still think it would ...

To Vim, or not to Vim? with Allan MacGregor & Alex Smith

No one mentioned how well vim integrates with external tools....

Don't bother me with your awesome framework, I simply want to retrieve data from a public API :-)

But just ask yourself, is this safe?

The case for reducers

Thanks for the kind words. About those examples I made in...

Declarative functions

There is a whole bunch where that came from. In the javascrip...

Declarative functions

In some functional programming languages there is this one fu...

Explain functional programming to me like I'm five

Functional programming is a lot like playing with legos. You ...

Dealing with side effects and pure functions in javascript

I'd be happy to use it. It would be great because if one coul...

How do you convert a class to functions in FP?

Classes are not the problem. I would focus on the methods, do...

How do you launch your coding projects?

How do I start projects? The only way I know: through a serie...

Can we all try to bring back upterm?

If you know about a terminal that has a plugin system capable...

Can we all try to bring back upterm?

It would be interesting if we could make something to include...

Vue over React just for the syntaxis? :(

Interesting. As far as I know redux uses a similar conventio...

Using Vim Wrong - Relative Line Numbers

Yes, when I use it really does save keystrokes. I find it par...

Using Vim Wrong - Relative Line Numbers

I don't use line numbers anymore. To move around in the same ...

Vue over React just for the syntaxis? :(

I'm going to leave this right here just in case someone finds...

Vue over React just for the syntaxis? :(

Choosing Vue just because of syntax makes sense. Think about ...

What do you use shell scripts for?

Mostly wrappers around other commands. Got one for apt mostly...

Should React opt for compile time instead of Virtual DOM?

It is possible? I think so. I is it necessary? Nop. Just as ...

How Can I Access Environment Variables in My Static Website?

From where I stand now, I'm going to need to incorporate Nod...

How do I create a desktop app that easily allow plugins?

I feel like lua is good for that kind of thing, and it's seri...

What do you use Cron jobs for?

Technically I use anacron, but it's the same principle. I onl...

What are your favorite free tools or resources?

My favorites tools are the ones I use every day. fzf ripgre...

Is Deno the future of JavaScript?

About the package ecosystem issue, a CDN like jspm.dev can he...

It's ok if you forget to use the sudo command

For the people who want to be extra careful when running comm...

Do we really need package.json? (But of course, lockfile is always needed.)

For single file scripts it is really nice not needing package...

Webdev in Vim

I've been using vim for webdev for about two years now, it's ...

I'm looking for a new coding paradigm.

Right... typescript. I don't know much about it but I underst...

I'm looking for a new coding paradigm.

This sounds a lot like the reader monad. Take a look at this ...

What was your win this week?

I'm giving fish shell a proper chance. My win was that I was ...

September 24th, 2020: What did you learn this week?

I'm learning about fish shell.

What's YOUR Linux Distro of choice? (and hurdles?)

I'm using Debian stable. I heard that debian was a "rock soli...

What are some useful bash aliases you use?

The only use case I have for du alias duh='du -d 1 -h' ...

What are your favorite Microsoft products?

'nuff said.

What OS do you use for development?

Debian. It began as a test and it worked. Turns out Debian st...

Ditch VSCode for neovim

You're not missing too much by not using tmux. Find yourself ...

Writing posts with interactive code snippets is awesome

Thanks. I'm glad you liked them.

What is the best linux distros?

Apparently you have some experience with linux so I suggest y...

Show and tell: Show off your vim setup 🚀

Theme: rubber-enhanced Font: The default Debian gives you. ...

🧐 Which Terminal Emulator are you using?

I use kitty. At first it was an experiment, because it's supp...

Homebrew Basics

Thanks for this, it's really nice. I started using homebrew...

September 10th, 2020: What did you learn this week?

I learned about the package manager known as Nix. I read some...

Modern JS, when to use map or for?

When to use .map? When you want to transform the items in the...

Dealing with side effects and pure functions in javascript

That's a little bit of the functor pattern*, it's really weir...

Desktop CHALLENGE :)

I'm lazy (and old), but I also like minimalism. I used Qtile ...

Desktop CHALLENGE :)

Some good ol' fashion Debian with LXDE.

What was your win this week?

I tried to explain monads using javascript.

An introduction to Monads (in js)

It is hard to understand monads if you don't talk about appl...

September 3rd, 2020: What did you learn this week?

I learned about anacron, cron's companion. Just like cron you...

Which is your favourite static website generator?

Currently I'm using Zola for my personal blog. It's my favori...

JS Coding Patterns that give you away as a Junior Developer

I like to think they refer to a "functional style". At the en...

An OS where containers are apps. 🐳

Could it be done? I think so. You're not the first one that w...

Explain lifting state up(React) Like I'm Five

Passing props down and lifting state is basically the first t...

JS Coding Patterns that give you away as a Junior Developer

misuse of functional programming techniques can identify you...

Which OS do you use?

I have been using Debian for a month now, it's been nice. I h...

Showoff your best creation

Tinytina. A tiny cli tool that helps me avoid using Postman ...

Why doesn't it exist?

I think these are close enough: Nim Crystal (this one is m...

When's the Last Time You Finished a Coding Side Project?

This is awesome, advice I can actually follow. I did "finis...

What terminal do you use?

I use kitty. When kitty isn't available I use termite. If I c...

What are your favorite articles on dev.to?

I found myself reading this one a couple of times while I was...

My terminal became more Rusty 🦀

Cool. Now all you need is a rusty interactive shell. Have you...

Operators/Conditional statements: if (youUnderstand) {'Great!'} else {'Read on'}

I want to share a tiny bit of trivia I learned last year. Her...

Why do we write JavaScript like this?

Peer pressure? Almost everyday I read an article that has the...

No More postman just use cURL + vim = ❤

I used to do something like this, but not as organize as you ...

Which Linux distros have you tried?

It began like an experiment, but I like it so far. It does e...

Which Linux distros have you tried?

No, I haven't tried Linux Mint. I didn't even know they had a...

Single shell script command to stage all files, commit and push to current branch

Have you tried making a "custom command" for git? You could...

What's your fav Linux distro

My favorite is Manjaro. Is almost like the Ubuntu of Arch. Yo...

React, where are all the plugins at?

Yes. I think hooks are a good fit for this.

React, where are all the plugins at?

I think the closest thing right now are "Hooks". In theory th...

Which Linux distros have you tried?

Ubuntu It was the first linux distribution I used. At the ...

What are the CLIs you use very often?

I have used GitKraken before, but after a while I realized th...

What are the CLIs you use very often?

Hope you find something useful. Using tmux + neovim + lynx i...

What was your win this week?

Publishing that article I had on draft for months now. It's h...

¿Qué son los applicative functors?

Puede que este tema que explicas de functors viva algo simil...

¿Qué son los applicative functors?

Ahora, este tipo de patrón se vuelve un tanto esotérico de u...

What are the CLIs you use very often?

I spend most of my time editing files so. tmux nvim (neovi...

can't use .filter() after .forEach()

.map is the only option here. If the problem is process retur...

August 6th, 2020: What did you learn this week?

I learned that Debian has an "alternatives" system. Is like a...

Getting Started with Deno 🦕

Not yet. I would rather wait until deno can do something node...

What is an analogy or visualization of a coding concept that really helped you understand it better?

Some time ago someone explain concurrency using a cooking ana...

Getting Started with Deno 🦕

i fail to see what deno is solving I think deno is trying ...

Creating a smart alternative to 'cd' command

I want to hear about these bash features that zsh doesn't hav...

Do you use a vim-like editor?

At one point I tried VSCode but the language server for PHP w...

Do you use a vim-like editor?

Sure. Here is the vim folder.

Do you use a vim-like editor?

I agree. But I still want to see what else is out there.

Do you use a vim-like editor?

I went in the reverse path. Started with sublime text, used a...

Do you use a vim-like editor?

Awesome, you should write it. I'm curious, have you tried Ne...

Learning functional programming in javascript: A roadmap

Not really. I've been writing plain javascript on a small sca...

What´s wrong with Array.reduce ?

I can talk about the "good use case" a little bit. Let's sta...

What´s wrong with Array.reduce ?

Function like in the mathematical sense? Sure, I like to thin...

What´s wrong with Array.reduce ?

You did read the thing, right? If you didn't, please don't le...

What´s wrong with Array.reduce ?

array.reduce isn't functional -- it's just an application of...

What new software libraries and tools etc. are you excited about?

They changed the name of the project, maybe you knew them wit...

What´s wrong with Array.reduce ?

That's why it's wrapped in quotes.

What´s wrong with Array.reduce ?

I'm just repeating the only argument against reduce I think i...

What new software libraries and tools etc. are you excited about?

Tauri: A framework for building tiny, blazing fast binaries f...

What´s wrong with Array.reduce ?

There is nothing wrong with reduce, it's only sin is to be sl...

Why is Isomorphic JavaScript not longer talked about?

Or is it no longer talked about simply because it is now com...

What are your top 3 focus songs?

If I had to choose songs to focus I guess I would reach for t...

Is JavaScript truly a functional language?

I'd like to know what are these features that make a languag...

How do you deal with node_modules?

I use pnpm. Like deno it uses a "central storage" where it ke...

Are you feel that is so dependent of packages, libraries or frameworks?

With "normal" I meant, is a good thing don't try make the su...

Are you feel that is so dependent of packages, libraries or frameworks?

Is it a new normal? Or I have to create things from scratch?...

How to Create a Gnome Desktop Entry

Thank you very much for this. I just created a desktop entry ...

What was your win this week?

I can finally use my work machine again. I had to change the ...

[Challenge] 🐝 FizzBuzz without if/else

You can still have flow control with functions. const troo ...

What are your preferred bash aliases?

You're welcome. This also seems to work. alias -- ?='some-...

ELI5: Why was Deno necessary when we had Node.js

Why deno was created when nodejs existed? So, okay, we (as...

What are your preferred bash aliases?

I believe this is what you are looking for. alias '?'='duck...

July 10th, 2020: What did you learn this week?

They are not the same. But I believe that the most recent ver...

July 10th, 2020: What did you learn this week?

I learned about text-based browsers. Naturally I've made some...

What is the concept that gave you the most trouble understanding ? 🤯

higher order functions. Once I understood them soooo many thi...

What are your preferred bash aliases?

Oh no I don't have favorites, but if I did it would be these....

Is C still a high level language?

Depends on who you ask. Some people who only know languages l...

What language or tool are you curious about, but have not found the time to use or learn?

Have you started using it after reading this? Yes. But fun...

What language or tool are you curious about, but have not found the time to use or learn?

Did someone said fantasy land? Some time ago I found a series...

What do you use Rust for?

I believe they dropped the "system-level language" label a wh...

What language or tool are you curious about, but have not found the time to use or learn?

V Nim Crystal PureScript Reason ML Sadly I don't have the ...

How does your blog look in plain text 🤔

I looked around and it turns out those colors lynx shows are ...

Is using Linux really productive?

Is it productive? When it works, yes. It's unfortunate that ...

Share your personal blog or résumé website

I do have a blog. I mostly write about functional programming...

What was your win this week?

I fixed a bug on my personal blog, that was nice.

Purely Functional Python With Static Types

I don't use python but I like this very much.

July 3rd, 2020: What did you learn this week?

I continue my journey into the "functional side" of javascrip...

Hay algúna forma de identificar contenido en español?

Genial. Hay otra cosa que se puede hacer: aquí en dev también...

Hay algúna forma de identificar contenido en español?

Hay una opción en la sección settings > misc para darle "p...

Discuss: What's the one thing you hate about programming?

Might want to check Crystal. I think the slogan used to be "T...

What was your win this week?

My series of posts "Functional programming for your everyday ...

June 26th, 2020: What did you learn this week?

I learn how to add forms to an observable notebook (it's like...

Send a screenshot of your Code Editor 📸

I haven't change in a while now. Editor: Neovim Theme: rubb...

What's the last technical book you read?

I believe it was this one: Professor Frisby's Mostly Adecuate...

Unconditional Challenge: FizzBuzz without `if`

Glad you like it. I got the idea from this talk by Anjana Vak...

A simple way to replace npm scripts in Deno

For that you would get. [ "echo", "'And", "he", "said:", "M...

A simple way to replace npm scripts in Deno

I found this package: exec. It does the same thing as that fu...

Share some frontend resources!

A collection of free single-purpose online tools for web dev...

A simple way to replace npm scripts in Deno

That's awesome. But I'm a little bit worried by this right he...

Unconditional Challenge: FizzBuzz without `if`

I'm sure I could make a fancy function composition but my bra...

what are the missing features on dev.to?

I would like to see some features for multi-language support ...

What's so bad about inheritance in comparison to composition?

The thing about inheritance is that you have to be careful wh...

Persuade me to switch away from Nano?

This sounds like a job for micro. These are some of the feat...

Is reduce() bad?

Ofc, .map() and .filter() are very clear on intention Funn...

Is reduce() bad?

Why do you think .reduce has little to no value? .reduce fol...

Function Composition Explained Using Pokémon Evolution

*article

.bind it's more than just this.

Today I learned.

.bind it's more than just this.

I do prefer the first option you mention. Now, I don't think ...

Why do only posts in English have relevance on Dev.to?

I think is because adding special support for multiple langua...

.bind it's more than just this.

I think the term is partial application.

React development setup with just a single file!

There's also another way. If you use htm you can skip babel. ...

What's the name of the Javascript framework that...

I'm assuming is not one of the mainstream framework. Could it...

Reveal intent, hide implementation

this reminds me of a phrase I heard once, "friends don't let ...

Should we post in our native language?

Do it. Don't worry about the feed. Creating content in other ...

What JS Libraries Have You Made?

What libraries are you proud of? Is not exactly a library...

Will Deno replace Node js ?

I say no. They only way to do that is by being 100% compatibl...

A simple way to replace npm scripts in Deno

Looks really good. I see that it can run a selected file with...

A simple way to replace npm scripts in Deno

Thanks. I've added the alias example on powershell. I hope I...

A simple way to replace npm scripts in Deno

It does look nice. I've been using task, it also uses YAML bu...

May 15th, 2020: What did you learn this week?

I finally understood one of the use cases for fantasy-land/ap...

What are your most used aliases?

Most used are these. alias ls='exa' alias la='exa --git --h...

Explain Deno Like I'm Five

I like to think Deno is the answer to the question "what if n...

Switch is ok

The best thing about switch statements is that you're not lim...

May 1 — Daily CodeNewbie Check-in Thread

So I begin another side project. I want to create a C-like la...

PHP or Node.JS in 2020?

The trend in the javascript world is kinda like "choose your ...

Do you have a self-hosted blog? If so, what's the URL? If not, why not?

does github pages count? vonheikemen.github.io/devlog/

What is your top tool that most devs would be surprised you use regularly?

They'd be surprised if they knew I don't use a language serve...

April 24 — Daily CodeNewbie Check-in Thread

Anyone here interested in functional programming in javascrip...

JavaScript error handling pattern tip

If you're going to use tags and helper functions, why not go ...

Reduce: cómo y cuando

Siempre vi Array.reduce como una forma de sumar números en u...

April 21 — Daily CodeNewbie Check-in Thread

Thanks. Finding content in spanish is harder than it should...

April 21 — Daily CodeNewbie Check-in Thread

I hope it was useful.

Reduce: cómo y cuando

gracias.

April 21 — Daily CodeNewbie Check-in Thread

I wrote a little something about Array.reduce in javascript. ...

Name the song you love the most 😁

Those lyrics...

Welcome Thread - v69

Nice. Hey everyone! What brought me here? I think it was ...

#discuss Best course for functional programming?

I don't know about any course but I think your best bet wou...

JavaScript: Write cleaner code with Functional Programming

The problem is not the browser, is me. I made a lot of mist...

JavaScript: Write cleaner code with Functional Programming

May I suggest also creating more "generic" helper functions...

Why do programmers say when they use tmux, their productivity shoot up the roof?

A certain kind of programmers. The ones who love to do a lo...

Why testing-library fails to do what it set out to do

Does it allow to run @testing-library/react based tests in...

Why testing-library fails to do what it set out to do

But to sum up, you say we should bundle jest and all test ...

Why testing-library fails to do what it set out to do

In theory, if you use a test runner that can be used in a b...

Hit me with a good rant

Code worship is the greatest mistake in the software industry.

The Maybe data type in JavaScript

I think is more about returning a meaningful "empty" value,...

What was your win this week?

I have officially written everything I know about functiona...

What's something you did this week that you're proud of?

I wrote the last piece of a (not planned) series of posts. ...

How did you estimate your coding experience level for dev.to?

I haven't answered that one. I need more context on what th...

What is a project, you are really proud of?

For me is tinytina. Command-line http client. Is like the...

Functional programming for your everyday javascript: Composition techniques

Whoa, that means a lot. Thank you. A lot of the content on...

Functional programming for your everyday javascript: Composition techniques

Thank you for your feedback. I appreciate the information. ...

Mar. 27, 2020: What did you learn this week?

I found out about task the task runner and also minify an a...

What was your win this week?

Finally found the energy to put some on my content on its o...

Any easier way to create react app?

May I suggest to try replace npm (and npx) with pnpm. pnpm ...

Do you have a side project? Talk about it!

Yes, I did knew about newman. But it really didn't solve th...

Do you have a side project? Talk about it!

I do have one. It's called tinytina, I like to describe it ...

Utils for JavaScript - what do you use regularly?

map and filter for objects. I've done this a couple of time...

What was your win this week?

I wrote about partial application in javascript. In english...

Oh My Glob: alias expansion in zsh

The expansion should also work with special symbols like !!...

Is this procedural programming?

I wouldn't call this "forcing" immutability. It is easier ...

Is this procedural programming?

I understand that immutability has benefits and overall is ...

Is this procedural programming?

"Global" in the game scope, but not really global global. ...

What makes for readable code?

I think readable is code is too subjective to provide a one...

What is the best scripting language for secure automation and speed?(python, ruby, rust)

The syntax does look a lot like python but they take ideas ...

What is the best scripting language for secure automation and speed?(python, ruby, rust)

Take a look at Nim. It can compile to C so speed should not...

Why would people hate React (or JSX), but not Vue SFC, or even Angular?

I don't understand this attitude of "I hate framework X beca...

Why would people hate React (or JSX), but not Vue SFC, or even Angular?

I'm not familiar with Nuxt. I imagine that <client-only&...

Why would people hate React (or JSX), but not Vue SFC, or even Angular?

Tell me you're not defending the XML Sort function.

Why would people hate React (or JSX), but not Vue SFC, or even Angular?

Old man yelling at cloud here. I know that JSX can be use for...

. Remembering .reduce() arguments ?

A.V.K.? Accumulator, Value, Key. Maybe you can think of av...

What React app(s) do I build to become really knowledgeable in it?

Have you seen RealWorld repository on github? You can try t...

Deno dependencies, xstate

If you use pika.dev you don't have to do anything to get th...

Deno dependencies, xstate

Packages would need to be valid ES6 modules. I guess you'll...

What interesting open source projects have you come along lately?

vgtk: A declarative desktop UI framework for Rust built on ...

Is it possible to code without drugs?

I do. Me. The secret is that I don't actually code for eigh...

New Machine; New Browser

Firefox devtool has some really nice details. One of my fav...

loading...