You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
382 lines
17 KiB
382 lines
17 KiB
<!DOCTYPE html> |
|
<html lang="en"> |
|
<head> |
|
<meta http-equiv="X-UA-Compatible" content="IE=edge"> |
|
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|
|
|
<!-- Enable responsiveness on mobile devices--> |
|
<!-- viewport-fit=cover is to support iPhone X rounded corners and notch in landscape--> |
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1, viewport-fit=cover"> |
|
|
|
<title>Julio Biason .Me 4.3</title> |
|
|
|
<!-- CSS --> |
|
<link rel="stylesheet" href="https://blog.juliobiason.me/print.css" media="print"> |
|
<link rel="stylesheet" href="https://blog.juliobiason.me/poole.css"> |
|
<link rel="stylesheet" href="https://blog.juliobiason.me/hyde.css"> |
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface"> |
|
|
|
|
|
|
|
|
|
|
|
</head> |
|
|
|
<body class=" "> |
|
|
|
<div class="sidebar"> |
|
<div class="container sidebar-sticky"> |
|
<div class="sidebar-about"> |
|
|
|
<a href="https://blog.juliobiason.me"><h1>Julio Biason .Me 4.3</h1></a> |
|
|
|
<p class="lead">Old school dev living in a 2.0 dev world</p> |
|
|
|
|
|
</div> |
|
|
|
<ul class="sidebar-nav"> |
|
|
|
|
|
<li class="sidebar-nav-item"><a href="/">English</a></li> |
|
|
|
<li class="sidebar-nav-item"><a href="/pt">Português</a></li> |
|
|
|
<li class="sidebar-nav-item"><a href="/tags">Tags (EN)</a></li> |
|
|
|
<li class="sidebar-nav-item"><a href="/pt/tags">Tags (PT)</a></li> |
|
|
|
|
|
</ul> |
|
</div> |
|
</div> |
|
|
|
|
|
<div class="content container"> |
|
|
|
<div class="posts"> |
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/app-composition-stupid/"> |
|
Things I Learnt The Hard Way - Even for Application Composition, Start Stupid |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-15 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/composition/">#composition</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/microservices/">#microservices</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>Application composition may lead to microservices -- which is good -- but |
|
microservices require some ideas about how applications "talk" between them |
|
over the wire (protocols and such) which you don't need to start with.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/app-composition-stupid/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/application-composition/"> |
|
Things I Learnt The Hard Way - Not Just Function Composition, But Application Composition |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-15 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/composition/">#composition</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/applications/">#applications</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>When we were discussing <a href="/books/things-i-learnt/magical-number-seven">the magical number |
|
seven</a>, I mentioned that it made |
|
more sense to actually call the functions in sequence instead of each calling |
|
the next. That's basically a "function composition", one thing you can also do |
|
with your applications.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/application-composition/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/command-line-options/"> |
|
Things I Learnt The Hard Way - Command Line Options Are Weird, But Helpful |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-15 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/configuration/">#configuration</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/command-line-options/">#command line options</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/cli/">#cli</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>In this day and age, when everything has a graphical interface, does it still |
|
makes sense to add command line options to your application? In fact, it does.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/command-line-options/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/config-file/"> |
|
Things I Learnt The Hard Way - The Config File Is Friend |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-15 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/configuration/">#configuration</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/config-file/">#config file</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>Do not ignore the power of configuration files.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/config-file/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/libraries/"> |
|
Things I Learnt The Hard Way - Create Libraries |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-15 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/libraries/">#libraries</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/project-organization/">#project organization</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>One thing you must learn is how to break your project into smaller libraries, |
|
to avoid doing rounds to deal with "the same, but a bit different".</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/libraries/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/monitoring/"> |
|
Things I Learnt The Hard Way - Logs Are For Events, Not User Interface |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-15 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/monitoring/">#monitoring</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>On a previous life, to understand how a system behaved, I added a ton of |
|
metrics: how fast things were going in, how fast things were going out, how |
|
many things were in the middle, how many the job processed... Not doing it so |
|
makes me feel... naked.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/monitoring/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/optimization/"> |
|
Things I Learnt The Hard Way - Optimization Is For Compilers |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-15 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/optimization/">#optimization</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>Let say you need more performance on your application. You may be tempted to |
|
look at your code and think "How can I keep this same logic and still remove a |
|
few cycles, so things seem to go faster?" Well, if you want performance, you |
|
need to change your logic.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/optimization/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/project-organization/"> |
|
Things I Learnt The Hard Way - Organize Your Code by Data/Type, Not Functionality |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-15 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/project/">#project</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/project-organization/">#project organization</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>A lot of projects assume that you'll put things with the same functionality in |
|
the same place, no matter what data they deal with. This makes things harder |
|
to break apart later.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/project-organization/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/one-change-commit/"> |
|
Things I Learnt The Hard Way - One Commit Per Change |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-09 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/source-control/">#source control</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/commits/">#commits</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>When working with source control tools, keep one change per commit. Avoid |
|
bundling more than one change in a single commit just to "save time".</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/one-change-commit/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
<div class="post"> |
|
<h1 class="post-title"> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/always-vcs/"> |
|
Things I Learnt The Hard Way - Always Use A Version Control System |
|
</a> |
|
</h1> |
|
|
|
<div class="post-meta"> |
|
<span class="post-date"> |
|
2019-07-08 |
|
|
|
<a href="https://blog.juliobiason.me/tags/books/">#books</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/things-i-learnt/">#things i learnt</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/source-control/">#source control</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/vcs/">#vcs</a> |
|
|
|
<a href="https://blog.juliobiason.me/tags/git/">#git</a> |
|
|
|
</span> |
|
</div> |
|
<div class="post-summary"> |
|
<p>"This is my stupid application that I just want to learn something" is not |
|
even a good excuse to not use a version control system.</p> |
|
|
|
</div> |
|
<a href="https://blog.juliobiason.me/books/things-i-learnt/always-vcs/"> |
|
Read more... |
|
</a> |
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</body> |
|
|
|
</html>
|
|
|