Posts by Kirkpatrick Araujo Triple K • 48 points
4 posts
-
-2
votes3
answers279
viewsA: Is there any way to replace these ifs?
Functional programming is beautiful! Everything you wanted with none Ifs. const tabela = [ { min : 15.45, max : 15.5 }, { min : 15.5, max : 15.55 }, { min : 15.55, max : 16 }, { min : 16, max :…
-
0
votes1
answer82
viewsA: Is the math going wrong? C##
Hello, If you intend to make a Cartesian turn, you should make a for with a range encompassing this code to create a curve. public static List<double> GetDist(Point A, Point B){…
c#answered Kirkpatrick Araujo Triple K 48 -
1
votes2
answers981
viewsA: Angular2 ngFor help with loop
So I could simulate here your problem is in pure Javascript, see the json is an object or even if it looks like a nested array it is not in this format. See how to transform an object into an array:…
-
1
votes2
answers2209
viewsA: How to Extend/Inherit Angular2 Component?
it does not make much sense to inherit the class of components, if I understand well what you want to do is reuse components, if that is simple to do, just imagine that you are in HTML and make a…