puts only outputs. On the other hand, return just returns the return value. puts cannot be used to pass values. return does not output.
[Java] [Read Effective Java] Chapter 2, Item 2 Consider a builder when faced with many constructor parameters
Consider a builder when faced with many constructor parameters
Difficulty, what you want to do
What is # devise One of the gem (library) that can easily implement the authentication function to the application created with Rails Create login func...
Why did you write If you create a user authentication with devise, you will have an email and password from the beginning, but you need a name to register a...
When I tried to #bundle install, I was angry to do a bundle update.
[Java] [Introduction to Java] About conditional branching (if statement, if-else statement, else if statement, ternary operator, switch statement)
chartkick is a library that makes it very easy to create charts
[Java] [Android 9.0 Pie Java] Implement setOnTouchListener in the margin of RecyclerView and close the soft keyboard
at first It is a convenient RecyclerView for list display, but if you keep the default, you can not fire the event when you touch the margin part. Since I s...
Hello, this is Moe. This time, I tried to summarize the “object-oriented” that often appears when studying Java. What is an object? Object-oriented is a con...
Hello, this is Moe. This time, I would like to write about Java, which made me come into contact with programming languages.
Style/HashLikeCase added to rubocop If you don’t need to describe it in case statement, let’s define it as an array.
It’s been a while since I posted.
Java 13 was released on September 17, 2019. Java SE 13 Platform JSR 388
Collect for yourself.
HH:MM:SS in seconds
-Environment -CentOS Linux release 7.8.2003 (Core) -Payara Server 5.194 -Eclipse IDE for Enterprise Java Developers.Version: 2020-03 (4.15.0)
Event Even if you write as follows, the flash message is not displayed and msg is included in the query parameter.
Overview If you use scaffold in Rails, the create action will be as follows. When saving is successful, redirect_to is used, and when page transition fails,...
Markdown notation used [#] Use as headline Font-size becomes smaller as the number increases. HTML h1~h6 tags
Introduction This is the first post this time. I learned Ruby on Rails at school and had a refactoring curriculum, but at that point I was desperate to comp...
[Java] [Read Effective Java] Chapter 2, Item 1 Consider static factory method instead of constructor
Do you put parentheses in the argument of #render method? Don’t you wear it?
Difficulty, what you want to do
What is Rubocop Airbnb It is a library that checks whether the written code complies with the coding standard. Rubocop is famous as a syntax analysis tool, ...
Target Build AWS SQS, put a message in a queue (put it from the AWS console), and then use the AWS SDK to get (polling) the message from EC2.
[Java] (Java SE8 Gold Exam Preparation) A memo for those who want to get along with Comparable and Comparator.
If you find any mistakes, I’d be happy if you could point me out gently.