다양한 영어 선생님을 검색해 보세요...
게시물
"Rolling this all the way forward..." What does it mean?
Can somebody explain what the author meant with "rolling this all the way forward" in this context?
"As a transient step, we create a new package called Customer. We can then use an API to expose Customer code to other packages, such as finance or warehouse. Rolling this all the way forward, we may now end up with a distinct customer service"
I suppose it means doing what he explains at the beginning of the paragraph but I'm not sure...
5
0
The importance of Pure Functions
(Corrections Please!)
Working with functions is not the only thing you need to do in order to work in a functional way. Your functions also need to be pure. But what does that mean? Well, according to Federico Kereki, you have a pure function when it meets the following criteria:
[QUOTE HERE]
Let's see an example:
[EXAMPLE HERE]
The past function is pure because it will always return the result "6" for the given arguments: "2" and "3". This function is not affecting its external context at all. Everything is happening inside of it. So we can be absolutely sure to say: It does not have side effects, therefore, the function is pure.
That's pretty much it. Your function is pure when it does not have side effects. If it does not have side effects, then your function is pure. Easy right? But what that hell is a side effect anyway? Here there's a list of possible side effects you might find around:
[LIST HERE]
And last but not least, using a function that happens to be impure. Federico says in his book that impure functions are "contagious". So if your function uses something that causes a side effect, impure your function will be. (Yoda way of speaking intended)
0
0
Understanding Functional Programming (Corrections please)
When doing Functional Programming, functions are first-class objects. This means you can use functions as variables, constants, and parameters. You can combine functions with other functions and generate new functions in the process. You can chain functions together to make complex calculations. In general, functions are everything!
1
0
Understanding Functional Programming in
JS is not a functional programming language, or at least, it's not its main oriented paradigm. That doesn't mean, we cannot work in a Functional way, whether by using libraries like Lodash, Underscore, and RambdaJS or only using Vanilla JS.
This year I had the chance to read the following book: Mastering JS Functional Programming by Federico Kereki. This is a book I personally recommend to whoever wants to have a deep understanding of Functional Programming concepts and their applications using the JS language. Throughout this article, I'll be explaining what I learned from Kereki's book. My intention is not to offer an in-depth comprehensive guide - If you want that, read the book! - but rather offer a summary and some of my thoughts.
...
1
0
Understanding Functional Programming
When it comes to programming paradigms. Maybe the most popular kid on the block is Object-Oriented Programming. It's not a problem to find developers who can describe what a Class does, or how to instantiate an object in any language. Functional Programming has been around for a much longer time. The best example is LISP, which its first specification was written in 1958. However, unlike OOP it's not that simple to find developers who can understand functional concepts like Purity, Currying, and Immutability.
4
0
Creating a Todo App with Spring Boot
As to create our first app using Spring Boot. First, we will need to set up our database schema. This time I used PostgreSQL. I did this through Docker, but you can use a local instance if you prefer so. Whichever option you decide just run this SQL script to create our unique table: todos.
*Initializing project with Spring Initializr*
Spring Initializr is a great web tool for kick-starting Spring Boot projects. Here you can pick among a large variety of dependencies. In our case, we will choose just three.
- Web.
- JDBC.
- PostgreSQL.
You can set the other options too. In my case, I set both, Artifact and Name as “todoApp” and select Java Version as “8”.
{IMAGE_HERE}
Once finished with all the options. Just click on the “Generate Project” button. A new project’s folder should download immediately.
3
0
커뮤니티 가이드라인을 위반한 콘텐츠입니다.2019년 9월 20일
1
0
Hello world
Since I was a kid, I always felt fascinated by technology…
My first computer (Pentium II) was brought at home when I was 12 and back then, I didn’t know how computers worked. It was pretty much magic what it was happening in front of my eyes. Soon I understood what I want to become when I grew up. I didn’t have any idea of the profession’s name but “It had to do with computers!” for sure.
So here I’m am today working as a web developer — and loving it. Trying to become a better version of myself every day that passes. I’m aware there’s still a lot to learn. And that’s perfect to me! I love to learn. That’s the reason today I’m starting this blog. So that I can share what I’ve been learning, experimenting and exploring recently about this world.
I hope you have fun reading my articles. I’ll be writing majorly about Full-stack development, docker, software architecture, DevOps and any other topics I find interesting. Remember, I’m new on this, so any constructive feedback is always welcome.
Cheers!
1
0
