blob: 691abf49f7d59b5be7359a5db177e3e8e07738b8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
|
<!DOCTYPE html>
<html lang="en">
<head><title>Romanticism in Programming – Kumar Damani - Home</title>
<meta name="description" content="Git, email, resume etc.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta charset="utf-8"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/academicons/1.9.1/css/academicons.min.css" integrity="sha512-b1ASx0WHgVFL5ZQhTgiPWX+68KjS38Jk87jg7pe+qC7q9YkEtFq0z7xCglv7qGIs/68d3mAp+StfC8WKC5SSAg==" crossorigin="anonymous" />
<link rel="stylesheet" href="https://kumardamani.net/css/colour/gruvbox-dark.css">
<link rel="stylesheet" href="https://kumardamani.net/css/colour/dark-mode.css">
<link rel="stylesheet" href="https://kumardamani.net/css/risotto.css">
<link rel="stylesheet" href="https://kumardamani.net/css/custom.css">
</head>
<body>
<div class="page">
<header class="page__header"><h1 class="page__logo"><a href="https://kumardamani.net/" class="page__logo-inner">Kumar Damani - Home</a></h1>
<nav class="page__nav main-nav">
<ul>
<li class="main-nav__item"><a class="nav-main-item active" href="/post/" title="Posts">Posts</a></li>
</ul>
</nav>
</header>
<section class="page__body">
<header class="content__header">
<h1>Romanticism in Programming</h1>
</header>
<div class="content__body">
<p>Why programming I see programming as an art form.</p>
<p>It started off in my first year as a CS student during a lecture about loops.
It was mind-bending to see “Hello World!” getting printed out to the console N-thousands of times
in just 3 functional lines of code.</p>
<p>But there was more. The TA then asks us to put our newly found power to use by producing the
sum of 1 to 100. Ofcourse, it was a natural application of our topic. We simply set the limit,
and do an increment a sum in the loop’s body.</p>
<p>Sure enough we saw the answer 5050 in the console.
But then the TA reminds us that we are making that computer work too hard.
It needs to do 100 basic ADD instructions in order to make this happen.
What if it was a million?
Is there a better way?</p>
</div>
<footer class="content__footer"></footer>
</section>
<section class="page__aside">
<div class="aside__about">
<div class="aside__about">
<img class="about__logo" src="https://kumardamani.net/images/rice.svg" alt="Logo">
<h1 class="about__title">Links</h1>
<p class="about__description">Git, email, resume etc.</p>
</div>
<ul class="aside__social-links">
<li>
<a href="https://gitlab.com/kdam0/" rel="me" aria-label="GitLab" title="GitLab"><i class="fa-brands fa-gitlab" aria-hidden="true"></i></a>
</li>
<li>
<a href="mailto:me@kumardamani.net" rel="me" aria-label="Email" title="Email"><i class="fa-solid fa-envelope" aria-hidden="true"></i></a>
</li>
<li>
<a href="/KumarDamaniCV.pdf" rel="me" aria-label="Resume" title="Resume"><i class="fa-solid fa-file" aria-hidden="true"></i></a>
</li>
</ul>
</div>
<hr>
<div class="aside__content">
<p>Why I see programming as an art form.</p>
<p>
By Kumar Damani,
2022-11-29
</p>
</div>
</section>
<footer class="page__footer"><p class="copyright"></p>
<p class="advertisement">Powered by <a href="https://gohugo.io/">hugo</a> and <a href="https://github.com/joeroe/risotto">risotto</a>.</p>
</footer>
</div>
</body>
</html>
|