Details
-
SkillsPHP, JS (ES+), Java
-
LocationEurope
-
Github
Joined devRant on 11/7/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
It was a basic java lesson. We had four values that we stored in a array. We had to make some calculations with the values. Then we had to sort those four values. That's the solution our teacher proposed:
if (arr[0] > arr[1]) {
int temp = arr[0];
arr[0] = arr[1];
arr[1] = temp;
}
if (arr[1] > arr[2]) {
int temp = arr[1];
arr[1] = arr[2];
arr[2] = temp;
}
if (arr[2] > arr[3]) {
int temp = arr[2];
arr[2] = arr[3];
arr[3] = temp;
}
if (arr[0] > arr[1]) {
int temp = arr[0];
arr[0] = arr[1];
arr[1] = temp;
}
if (arr[1] > arr[2]) {
int temp = arr[1];
arr[1] = arr[2];
arr[2] = temp;
}
if (arr[0] > arr[1]) {
int temp = arr[0];
arr[0] = arr[1];
arr[1] = temp;
}7 -
In my opinion the image feature on devRant is not very user friendly. I think following points should be changed:
- In the rant preview the image has always a 1:>=1 ratio. This means that you can't see the full image unless the image has exactly a 1:1 or smaller ratio.
- To see the image in fullscreen mode you have to tap two times. In my opinion that's just too cumbersome. Often when i browse through devRant and i see a image i just scroll along because i don't wanna tap two times to see the image.5 -
Just received my stickers and stress ball! A big thanks to the devRant Team. Keep up the awesome work!
-
Front-end developer's to-do list :
☑ Climb Everest
☑ Learn how to speak mandarin
☑ Become god
◻ Vertically center something in CSS20