Skip to content

u/the-ace

In this archive from Jan 2009 to Jul 2016

8
posts
96
comments
3
media
311
score

Top posts

Top comments

Okay, I'll try to be the devil's advocate here, and I also have a point.

You see, I consider writing code very similar to writing any other piece of information. Infographics, books, articles, poems, research papers, essays, and the list goes on.

As we have different styles of writing different texts, we shouldn't coerce our "developers", or code writers, to write in only one format or way.

There is a plethora of coding styles out there, most of them are pretty much the same, and yet when you see a code like the one displayed above, you see something completely and utterly different.

You see the punctuation marks being aggregated in such a way that the words are separated in a pretty clear and humanly understandable way.

Look at the code as a shopping list:

if 
    supermarket
        buy
            milk
            eggs
            bread
        return
            empty beer/milk bottles
else if
    clothing shop
        buy 
            pants
            shirts
...

Maybe it's not instantly recognizable and understandable for you to read right away, but considering the fact that we've all been raised thinking there is only One True Way of writing code, that is understandable.

I experiment with my code a lot, and the above example is very similar to what I've been trying to develop myself as a form of writing code. Maybe you don't consider it pretty, but once you understand the logic behind it, and although it's a short example, it seems pretty consistent, than you can start "Reading" the code as it was meant to be read.

I've prepared my downvotes umbrella.

21 points

Have a big fat upvote from me, sir!

Awesome job, looks clean and dandy, and I'll be using that a lot.

By the way, how are you planning on making money off of it? Right off the bat I suggest letting people use this service in their companies with their own domain (i.e. designs.mydomain.com --> mydomain.discuss.io), the reason for the "private" domain is because people will feel a lot safer giving it to clients without clients being paranoid thinking their super-secret-multi-million-dollar-the-next-facebook designs will be visible to outsiders. That's for $29/month, and you've got a goldmine.

17 points

I beg to differ. Currently reading The Fall of Hyperion, and thoroughly enjoying it, although the humans there are far from being gods, the AIs there are quite close to it, and yet the author is able to provide an interesting story and great SciFi.

15 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.