Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

Zen Coding

kdawson posted more than 4 years ago | from the change-your-life dept.

Programming 175

Download Squad has a quick review, with video, of Zen Coding (Google Code project page here), an extremely well-thought-out accelerator for anyone who codes HTML. Its syntax is CSS-like. Zen Coding has been around for a while — here's its author Sergey Chikuyonok's introduction in Smashing Magazine from last November — and it has now picked up support for more than a dozen editing environments, including Notepad++ and TextMate.

Sorry! There are no comments related to the filter you selected.

ZedSlashdotting (0, Offtopic)

Anonymous Coward | more than 4 years ago | (#32068726)

FP*1 gets you "First Post"

Re:ZedSlashdotting (-1, Troll)

Anonymous Coward | more than 4 years ago | (#32068874)

I love fisting. Most women don't see to realize a man can get more pleasure from shoving his fist in her wet cunt (or asshole) than he can from sliding his dick in the same orifice. Wehn I bring up the subject, guys are invariably intrigued and turned on whereas women are often disgusted and scared. So imagine my surprise when "Shelia" (not her real name) asked me to fist her last week.

The night started out normal. I dined at a four star restaurant (a nuevo international wine bar). My dining companion, a hardbody escort I had hired for the night, and I managed to rack up a $300 bill, evenly split between food and booze. That bill (and Shelia for that matter) were on the company credit card. Back at the hotel, Shelia changed into a peek-a-boo bra and crotchless panties while I took a shit. She surprised me by entering the bathroom and sucking my dick as a thick brown rope hung just inches from her face. Classy.

Re:ZedSlashdotting (-1, Troll)

Anonymous Coward | more than 4 years ago | (#32069070)

Sure, you lerned those practices from your Mom, who prefferd being fisted instead of being treated with love and tendernes.
From your comment I can see where you come from, I can't help you but show you my understanding for your emotional situation.

Re:ZedSlashdotting (-1, Troll)

Anonymous Coward | more than 4 years ago | (#32069136)

Learn to spell you ass licking faggot.

Re:ZedSlashdotting (-1, Offtopic)

Anonymous Coward | more than 4 years ago | (#32069604)

I apologize, english is not even my fourth language, so I get confused sometimes.

Ideas are sometime faster, and managing german, french, spanish, italian and latin, and english of course, on the human side, is sometimes difficult for me.

On the machine side I also make sometimes mistakes in languages like C/C++, lisp, java and in a couple of scripting languages.

By the way, there is no need to use profanity, please refrain next time you post.

I think the moderators leave your comment posted this time only because they know where you're coming from when you say all these.

It's fucking COMMIE CHINESE MAN (-1, Troll)

Anonymous Coward | more than 4 years ago | (#32069164)

I ain't using no fucking commie chinese shit man. Google should not be having no chinese crap on their sites man!

Vim? (2, Informative)

19061969 (939279) | more than 4 years ago | (#32068752)

There doesn't appear to be support for Vim but that already has another script called snipMate http://www.vim.org/scripts/script.php?script_id=2540 [vim.org]

Re:Vim? (5, Informative)

vroom (43) | more than 4 years ago | (#32068842)

The official page doesn't mention vim support, but this script seems to match the functionality pretty closely http://mattn.github.com/zencoding-vim/ [github.com]

Check the TUTORIAL file in the repo to either turn on by filetype or globally

Re:Vim? (2, Informative)

ProdigyPuNk (614140) | more than 4 years ago | (#32068868)

http://www.emacswiki.org/emacs/ZenCoding [emacswiki.org] ...and here it is for emacs. I've only seen this mentioned once or twice before, but it does make things quite a bit quicker. Work a lot better than my highlight/middle click copy/paste method ;p

Re:Vim? (1, Informative)

Anonymous Coward | more than 4 years ago | (#32068966)

there's this one http://www.vim.org/scripts/script.php?script_id=2981 a clone

It has some portability advantages as it doesn't need python support

Re:Vim? (0, Redundant)

denmarkw00t (892627) | more than 4 years ago | (#32069542)

Minefield isn't respecting my mod+ choice - someone mod this man up to, say, Informative. ZenCoding.vim and vim.org is pretty spiffy.

don't mock the Notepad++ (3, Interesting)

MoFoQ (584566) | more than 4 years ago | (#32068764)

don't mock the Notepad++....it's very powerful, yet lightweight and unbloated.

I'm sure many slashdotters here also live by the "Notepad++ code"....

forgot to mention Notepad++'s line dup (0)

MoFoQ (584566) | more than 4 years ago | (#32068786)

yea...Ctrl-D is very useful.
So is Ctrl-T
Tab and Shift-Tab for formatting.

Also like "nano" but I still prefer N++ since it's got syntax highlighting, support for tab-formatting AND tabs....etc.

Re:don't mock the Notepad++ (2, Funny)

wmbetts (1306001) | more than 4 years ago | (#32068840)

Vim > emacs > Notepad++ Let the war begin!

Re:don't mock the Notepad++ (1)

davester666 (731373) | more than 4 years ago | (#32068906)

BBEdit FTW!

Re:don't mock the Notepad++ (0)

Anonymous Coward | more than 4 years ago | (#32068994)

BBEdit FTW!

It doesn't suck.

Re:don't mock the Notepad++ (2, Interesting)

gfody (514448) | more than 4 years ago | (#32069064)

I prefer emEditor [emeditor.com]

Re:don't mock the Notepad++ (1, Informative)

MoFoQ (584566) | more than 4 years ago | (#32069144)

emEditor isn't open source let alone a $0 software

Re:don't mock the Notepad++ (3, Insightful)

EvanED (569694) | more than 4 years ago | (#32069156)

Yeah, god forbid someone pay money for software they use and like.

Re:don't mock the Notepad++ (3, Insightful)

bit01 (644603) | more than 4 years ago | (#32070192)

Yeah, god forbid someone pay money for software they use and like.

The price and license are important software characteristics whether you like it or not. A non-zero price can make it a practical impossibility to use in many organizations because of the paperwork involved. A license that doesn't allow you to install it where ever you need it, as you need it can also be a problem.

Since their are many free alternatives available in this category it's easily possible that the pay software is more trouble than it's worth even if it is otherwise superior, as the GPP was implicitly pointing out.

---

Like software, intellectual property law is a product of the mind, and can be anything we want it to be. Let's get it right.

Re:don't mock the Notepad++ (1)

bennomatic (691188) | more than 4 years ago | (#32069198)

I heart that program. Only thing I don't like about it is its updater. It sometimes complains taht there's a new version, and when I say, "OK, do the update", it doesn't work. I end up just icing the old one and downloading and installing the new one manually.

Re:don't mock the Notepad++ (1)

deniable (76198) | more than 4 years ago | (#32069664)

Is that a recent thing? It seems to break all of the time now.

Re:don't mock the Notepad++ (1)

FredMenace (835698) | more than 4 years ago | (#32070510)

I've noticed this too. Seems they broke something in the last couple of months.

Re:don't mock the Notepad++ (1)

Sulphur (1548251) | more than 4 years ago | (#32069266)

Is it also swift to anger?

this is now (-1, Offtopic)

Anonymous Coward | more than 4 years ago | (#32068780)

that was zen.

It's a specialized Lisp REPL (1)

istartedi (132515) | more than 4 years ago | (#32068806)

It's a specialized Lisp REPL, or something like it.

Zen (5, Insightful)

mindbrane (1548037) | more than 4 years ago | (#32068826)

Is there a better commentary on the west's general inability to grok zen than our endless bastardization of the word, zen?

Re:Zen (5, Funny)

istartedi (132515) | more than 4 years ago | (#32068922)

Is there a better commentary on the west's general inability to grok zen than our endless bastardization of the word, zen?

ZEN is not a ticker symbol on the NYSE yet, so I guess not.

ZEN is traded on the London exchange (1)

symbolset (646467) | more than 4 years ago | (#32069582)

link [google.com]

Re:Zen (2, Funny)

fractoid (1076465) | more than 4 years ago | (#32069076)

Is there a better commentary on the west's general inability to grok zen than our endless bastardization of the word, zen?

That's so ironic. *ducks*

Re:Zen (3, Informative)

Anonymous Coward | more than 4 years ago | (#32069328)

Zen came to fruition the Tang Dynasty, at the height of development of Buddhism in China. It came as the highest practice, equivalent to Indian Prajnaparamita and Tibetan Dzogchen or Mahamudra traditions. The people who practiced it were those who already had great meditative ability and high capacity for understanding. Without a solid foundation, studying Zen (especially in the West) is simply nonsense. Without a background in the Buddhist sutras, you will likely just become confused or fool yourself into thinking it's just a mind game. From a real Zen master, Hsuan Hua:

The stupid transmit to the stupid,
One is teaching but neither has any idea.
The teacher goes to hell.
Where will the student end up?

Re:Zen (0)

Anonymous Coward | more than 4 years ago | (#32069400)

Analysis error: deity assumed.

Re:Zen (0)

Anonymous Coward | more than 4 years ago | (#32069524)

Isn't Zen something you practice more than study? It seems that one of the problems with Zen these days is that many people approach it far to academically. That is not Zen. The less you know about Buddhist sutras, the better off you might actually be. Zen is for anyone.

Re:Zen (2, Insightful)

Anonymous Coward | more than 4 years ago | (#32070294)

It's mysticism, so it doesn't matter how "serious" you try to be, It's still dressed-up psychobabble in the vein of similar New Age practices. Just because it's old, doesn't mean it should automatically get belief or respect (see also: Christianity, Islam).

Re:Zen (2, Insightful)

chill (34294) | more than 4 years ago | (#32069178)

The wise programmer is told about Tao and follows it. The average programmer is told about Tao and searches for it. The foolish programmer is told about Tao and laughs at it.

The master told me (4, Funny)

goombah99 (560566) | more than 4 years ago | (#32069496)

The master told me to mediate on the sound of one parenthesis closing. I am ashamed that I don't know what this means. Or was that his point.

Re:Zen (2, Informative)

tpstigers (1075021) | more than 4 years ago | (#32069202)

The word zen means 'meditation'. Not real hard to grok. Nor is it difficult to understand why someone would consider coding to be a meditative process. Or were you actually referring to Zen?

Re:Zen (0)

Anonymous Coward | more than 4 years ago | (#32069540)

grok zen

Spirituality is always a nebulous concept, on purpose, so the masters can always claim you need years of dedication to understand their "deep", "meaningful" concepts. Zen is no more meaningful than transubstantiation.

Re:Zen (0)

Anonymous Coward | more than 4 years ago | (#32069754)

Zen has nothing to with "spirituality".

Re:Zen (3, Interesting)

Hognoxious (631665) | more than 4 years ago | (#32070204)

Zen has nothing to with "spirituality".

Oh come on, try to make an effort.

It should be "Zen has nothing to do with spirituality and everything to do with spirituality" or "The student asked about the spirituailty in Zen. 'Lemons', replied the master, and the student was enlightened".

Re:Zen (2, Funny)

mike260 (224212) | more than 4 years ago | (#32070244)

Mod parent "+mu, Has Buddha Nature"

Re:Zen (2, Interesting)

Hurricane78 (562437) | more than 4 years ago | (#32070180)

Actually, I agreed with you, in having been ignorant about anything but the romantic western views on “zen”.
So I read up on the actual philosophies behind it. And now I just as much won’t to come near zen, as I don’t want to come near any other religious insanities. (Please bear with me. Or at least read the points, down there where it’s marked bold. Thank you. :)

See, the goal of Zen, as far as I see, is so get into a “total zero” state. One that they call “enlightement”, but that I call “no different from being a vegetable”. The goal is to seek less and less, and basically just sit there and get into absolute nothingness. Because apparently you don’t exist anyway, as existence is a only defined trough changes (true, but somehow you’re not thinking four-dimensionally, Marty! ^^)
So reaching Zen, is the art of killing your existence, without killing your body.
How in hell is that an ideal? It’s sick. And I don’t say that in a derogatory fashion. I say that, because that is an actual form of repression that mentally ill people use.

See, when we experience horrible things that we can’t fight, we humans tend to go in one of two directions:
1. Build up an inner imaginary world, and explain the horrible experiences trough it, giving it all a sense, and making it “OK” again. In a very mild form, we all have done this. In a medium form, it’s called “religion” (Christian, Muslim, Jewish, etc). And in the worst form, it’s called by its medical name: schizophrenia.
2. Run away and make it so that that part of reality and you never ever come into contact with each other again. Ever. And if we can’t physically run away, we do so, be hiding away in our mind itself. Blocking us from reality. Of course we all also have done a bit of this once in a while. But we learned to face it again, and came back. But what Zen does, is generalizing it, and making it an ideal. Going as far as physically possible. And thereby removing themselves from our reality. Which is, to us, equal to stopping to exist.

So: No thanks. :)

So, you don't understand Zen. (2, Insightful)

Kupfernigk (1190345) | more than 4 years ago | (#32070584)

I don't know what you have read, but you do not understand Zen. Satori is not a "total zero" state. It is what you experience when you suddenly realise that you have spent a whole day coding without distraction, that you have never been conscious of thinking about what you are doing, and the compiled program just works. Or when you realise that you have just driven from London to Birmingham (or your local equivalent) without ever thinking about it: it just happened. Satori is the state when you are "just doing", what programmers (and market traders) call being "in the groove". Zen training can help develop the mind to achieve this state.

Zen philosophy also has the principle of "nothing superfluous". You see something of this in the iPod, or an old Lotus sports car. No irrelevant decoration, no junk, just form fitting function as perfectly as possible.

Zen is not a religion; it is a way of life. Zen masters are famous for anti-religious statements, like the sermon that is said to have gone "What are the spiritual masters? The spiritual masters are a dirty toilet". You do not have to believe in and kind of God to follow Zen, but it helps if you can find an advisor who you relate to. Zen masters, like rabbis, will put off anyone who they think is not yet ready for teaching, or unsuited to their kind of teaching.

However, you show in your third paragraph that you don't have a clue what schizophrenia is either. My advice to you is to do the research, proper research, before posting bullshit. And until you start to overcome your childish and self-important prejudices, you are nowhere near ready even to approach Zen.

The lesser known Zen Coding koans (3, Funny)

Anonymous Coward | more than 4 years ago | (#32068838)

such as:

* What is the sound of one interrupt flapping?
* If an exception gets thrown in an operating system, and no one is around to catch it, does it make a sound?

Re:The lesser known Zen Coding koans (4, Funny)

Anonymous Coward | more than 4 years ago | (#32068860)

I prefer my koans with ice cream.

Re:The lesser known Zen Coding koans (1)

symbolset (646467) | more than 4 years ago | (#32069612)

* What is the sound of one interrupt flapping?

That would be this [youtube.com] . Note: bad music.

* If an exception gets thrown in an operating system, and no one is around to catch it, does it make a sound?

No. An uncaught exception is ignored. Some other ill might come of it, but the throwing of an uncaught exception makes no sound itself because it hits only the absence of a try.

Re:The lesser known Zen Coding koans (0)

Anonymous Coward | more than 4 years ago | (#32070178)

* If an exception gets thrown in an operating system, and no one is around to catch it, does it make a sound?

No. An uncaught exception is ignored.

Wrong. The answer is the same as for the original question: mu. An example of an uncaught exception making sound might be a performance degradation because of the exception being thrown.

Re:The lesser known Zen Coding koans (1)

jesset77 (759149) | more than 4 years ago | (#32070338)

I'm sorry, had speakers muted. Care to repeat?

Let's see... (4, Insightful)

oljanx (1318801) | more than 4 years ago | (#32068960)

When I "write HTML" I'm actually writing HTML, CSS, JavaScript, PHP and SQL queries at the same time. On a good day. What the hell, why not add another syntax?

Re:Let's see... (5, Insightful)

pavera (320634) | more than 4 years ago | (#32069008)

Please keep your SQL and HTML separate. Don't punish those who will come after you.

Re:Let's see... (1)

H0p313ss (811249) | more than 4 years ago | (#32069402)

Please keep your SQL and HTML separate. Don't punish those who will come after you.

Now where's the fun in that?

Re:Let's see... (5, Interesting)

eelke_klein (676038) | more than 4 years ago | (#32069442)

Maybe you should make that, please keep your SQL, PHP, JavaScript, CSS and HTML seperate.

Re:Let's see... (1)

nextekcarl (1402899) | more than 4 years ago | (#32069630)

They didn't actually say they were all in the same file.

Re:Let's see... (2, Insightful)

slimjim8094 (941042) | more than 4 years ago | (#32070012)

How do you suggest separating PHP, HTML, and JS? Sure, the bulk of your code - especially reused libraries - should be separate but how do you use them without inline JS? And if you're using PHP, what are you using it for if not writing HTML (with the aforementioned JS)? Your PHP, even if it calls stored procedures, will also have SQL in it - and do you really need a stored proc for every one-shot thing? Repeated code, sure, but... And do you make one-shot CSS classes or blocks for everything?

Half of what you say is impossible, and the other half is not always practical. I appreciate the spirit... but let's not go overboard

Re:Let's see... (1, Informative)

Anonymous Coward | more than 4 years ago | (#32070076)

You're doing it wrong...
JS should be included via a script tag with an src attribute; there should be NO inline code if you have built your pages cleanly. Your event hooks should be entirely in the scripting code, using your selector engine and event handling/delegation libraries of choice (or do it all with direct calls if you're a masochist that likes lots of capability and browser detection blocks).
Your PHP code should have cleanly separated display files and business logic files; the former are templates, the latter are code.
Your SQL should be kept in a separate resource file, not inlined with your code.
If you're finding yourself making one-shot rule definitions in your CSS, then the site is not very well designed, and your headaches will multiply until it's fixed.
These are ideals. Sometimes there will be a little fudging in the interest of expediency, of course, but if you are doing it all the time... just let us know what you're working on so we can all avoid it in the future.

Re:Let's see... (2, Informative)

FredMenace (835698) | more than 4 years ago | (#32070536)

It is trivial to have not a singe line of Javascript in your HTML, other than the link to the external Javascript file.

See, for instance, http://api.jquery.com/category/events/ [jquery.com] for a set of jQuery methods for attaching events, using css-like selectors. (Most of these methods are special cases of "bind".)

To avoid mixing HTML and PHP, you can use a templating engine like Smarty (http://www.smarty.net/crashcourse.php). (I prefer those that use a different syntax from regular PHP to help enforce the distinction.) I do understand that PHP was originally a templating language itself, at a time when most hard-core back-end logic might have been in C/C++ and the PHP was for gluing that to the markup. But now that PHP is used for that same back-end code, it makes sense to separate it out of the HTML, so front-end coders don't need to wade around in back-end logic, programmers don't need to worry about markup and presentation, and each file to edit is clear and understandable in itself, partly by consisting of a single language and sticking to a single task. (The template language is designed to be as simple as possible, and only has the limited capabilities necessary to include dynamic content - generated elsewhere - in HTML markup.)

At the least, SQL should be in a separate data-abstraction layer. That layer may also be in PHP, but at least it's a special-case set of code just for accessing the data store (partly so that it can be replaced with a different data store if needed, without affecting any other code). Many frameworks use an object-relational mapping layer so you don't need to touch SQL at all.

It's also pretty easy to keep CSS completely out of HTML, and if well-designed, the number of special cases to apply to single paragraphs can be very minimal.

Yes, it can seem like all this is a lot of trouble when you're starting out or working on a very simple project, but as a project grows, it can very quickly become unmanageably complex otherwise. These are all tools for managing complexity and scale so that medium-sized projects are easily workable and large-sized projects are possible at all.

Re:Let's see... (1)

Hurricane78 (562437) | more than 4 years ago | (#32070266)

And keep your actual content out of any of those. (Or you will be punished with problems with translations and others. :)
I preferred to keep content in custom XML formats individualized for the actual content. But nowadays, I have my own lightweight binary (EBML-like) markup format, which, with a tag mapper information file or block, is just as easy, but (other than XML) very efficient.

Re:Let's see... (0)

Anonymous Coward | more than 4 years ago | (#32069504)

don't try that warning on a adobe coldfusion developer

Re:Let's see... (3, Insightful)

EvanED (569694) | more than 4 years ago | (#32069182)

What the hell, why not add another syntax?

To be fair, the syntax is very much like CSS. Further, it's not like it stays in the file for those who come after; it's just that the editor expands things for you.

Re:Let's see... (0)

Anonymous Coward | more than 4 years ago | (#32069216)

To be fair, the syntax is very much like CSS

... with just enough subtle differences to bite you in the ass when you least expect it.

Re:Let's see... (2, Insightful)

EvanED (569694) | more than 4 years ago | (#32069306)

But again, with the instant feedback when it expands it for you, if that happens you can just hit undo and type it out yourself.

Re:Let's see... (1)

ari_j (90255) | more than 4 years ago | (#32069338)

So it's kind of like Lisp macros, except that they are expanded in the source to make maintenance both more difficult and less efficient than just starting over from scratch.

Re:Let's see... (3, Insightful)

EvanED (569694) | more than 4 years ago | (#32069390)

So it's kind of like Lisp macros, except that they are expanded in the source to make maintenance both more difficult and less efficient than just starting over from scratch.

If that's your attitude, feel free to go ahead and use Markdown or ASCIIDoc or one of the other markup lanugages that you can compile to HTML.

However, this is something you can use in documents that are already HTML, need to be HTML because that's what your employer or customer demands, etc. without affecting the end result. Saying "let's replace HTML with something better" is not exactly a realistic proposition.

Re:Let's see... (1)

Hurricane78 (562437) | more than 4 years ago | (#32070252)

That’s what TypoScript is for. ;))

You could see them all as domain-specific languages. (Except for HTML and CSS, which are not programming languages at all.)
Semantics: HTML
Aesthetics: CSS
Logic: (3 layers)
    JavaScript - UI layer
    PHP - back end layer
    SQL - data layer

So, in a way it makes sense. (Except for TypoScript, which makes no fucking sense at all [wikipedia.org] , since PHP already is a easy template language. [PHP = PHP Hypertext Preprocessor!])

Of course, after 10 years of webapp development experience, I stopped and went back to actual client/server software. You can just as well separate the semantics and aesthetics of those nowadays. But without having to have a different language for every separate layer of logic. :)

zen haikus (1)

mattwad (1643895) | more than 4 years ago | (#32069054)

Looks like an automated coding editor, will be nice to use with abbreviated languages like HAML [haml-lang.com] and SASS [sass-lang.com]

Re:zen haikus (1)

arth1 (260657) | more than 4 years ago | (#32069566)

So instead of writing HTML and CSS, you need to know this tool, plus HAML and SASS, and HTML and CSS.
That sure simplifies everything.
Unless you skip the whole "know" part, that is, in which case what you produce shouldn't be unleashed upon others -- you won't be able to troubleshoot it in any meaningful way, for one thing.

Not sheer genius (4, Insightful)

MichaelSmith (789609) | more than 4 years ago | (#32069078)

TFA shows how Zen lets you type in a terse message and have it expanded into a chunk of html code and describes it as sheer genius. Thats neat but I have nedit macros which do pretty much the same thing. They are time savers for sure.

But nothing which you couldn't do a thousand ways. With perl, awk or sed.

Re:Not sheer genius (0)

Anonymous Coward | more than 4 years ago | (#32070508)

"Thats neat but I have nedit macros which do pretty much the same thing"

Maybe you could share those on Niki?

Re:Not sheer genius (1)

MichaelSmith (789609) | more than 4 years ago | (#32070548)

I shall, though I don't think its anything new

Nice... oh, maybe not (2, Informative)

damianpeterson (1690134) | more than 4 years ago | (#32069110)

When I first started watching the video demonstration linked to from the project page I though "nice" but after a while of watching obscure string after obscure string I realise that I'm probably better off just trying to memorise HTML instead of HTML *and* whatever the hell this is.

Zen Coding? (2, Informative)

i_frame (665737) | more than 4 years ago | (#32069126)

In my case, Bluefish or Quanta Plus are more than enough, don't need to learn another syntax.

I nominate this for all-time... (4, Informative)

bcrowell (177657) | more than 4 years ago | (#32069130)

...crappiest article ever to get frontpaged on slashdot.

It's a couple hundred words worth of "OMG!" with a code example.

Re:I nominate this for all-time... (5, Funny)

greg1104 (461138) | more than 4 years ago | (#32069180)

You should save your vote for when its dupe shows up in a couple of days.

Re:I nominate this for all-time... (1)

ari_j (90255) | more than 4 years ago | (#32069344)

The real question is whether we should be assigning a handicap for article quality based on who posted it to the front page.

Accelerator (4, Insightful)

neoform (551705) | more than 4 years ago | (#32069192)

an extremely well thought-out accelerator for anyone who codes HTML.

I don't think that word means what you think it means.

Here's the Emacs version (2, Informative)

patro (104336) | more than 4 years ago | (#32069214)

Emacs users can find the relevant package here [emacswiki.org] with screenshots and demonstration Youtube video.

Re:Here's the Emacs version (-1, Troll)

Anonymous Coward | more than 4 years ago | (#32070388)

I knew that emacs will be the first OS to support that thing.

Confirmed (1, Funny)

Anonymous Coward | more than 4 years ago | (#32069244)

How to program the onboard computer of the Liberator

Not Zen. (0)

Anonymous Coward | more than 4 years ago | (#32069250)

I don't understand what macros have to do with Zen Buddhism? If you haven't read a few of these sutras: Vajracchedika Prajnaparamita Sutra, Saptasatika Prajnaparamita Sutra, Lankavatara Sutra, Shurangama Sutra, Saddharma Pundarika Sutra, Avatamsaka Sutra, Platform Sutra, etc. You probably don't know much about Zen. And yes, I live in East Asia and talk to Zen Buddhist monks on a regular basis. It's Buddhism, not your hippie ideas about minimalism and exotic art.

Not Zen? (0)

Anonymous Coward | more than 4 years ago | (#32069650)

How very Zen that is...

for those ruby railers (2, Informative)

XaXXon (202882) | more than 4 years ago | (#32069392)

I recommend sass and haml for doing css and html respectively.

http://haml-lang.com/ [haml-lang.com]

http://sass-lang.com/ [sass-lang.com]

Codes.... HTML... NOTEPAD?! (2, Funny)

Greyfox (87712) | more than 4 years ago | (#32069434)

*head explodes*

Re:Codes.... HTML... NOTEPAD?! (1)

thisisntme (1617485) | more than 4 years ago | (#32070038)

Notepad++ != notepad

hi (0)

tommydesai (1802956) | more than 4 years ago | (#32069672)

Is there a better commentary on the west's general inability to grok zen than our endless bastardization of the word, zen? Holidays in Croatia [welcome-to-croatia.com]

Why not go all the way? (2, Interesting)

joost (87285) | more than 4 years ago | (#32069686)

z0mg zen! As far as I am concerned it's a nice gimmick. If you are going to 'Zen' up your html, why not go all the way and switch to Haml [haml-lang.com] ? You actually code in this CSS-like syntax and let Haml compile it to html for you.

Sublimetext (1)

caubert (1301759) | more than 4 years ago | (#32069750)

I prefer Sublimetext on Windows computers. It's a free-shareware program that mimics TextMate almost fully. ZenCoding package is also available for SublimeText.

I like video tutorials with good D'n'B (0)

Anonymous Coward | more than 4 years ago | (#32069820)

That's already compltley Zen to me. :)

It's not called "coding". (1)

El_Muerte_TDS (592157) | more than 4 years ago | (#32069938)

Writing source code is called "programming", not "coding". Coding is converting readable text to some sort of encrypted text.

And for the observant reader, yes writing Perl source code can be both called programming and coding.

Re:It's not called "coding". (0)

Anonymous Coward | more than 4 years ago | (#32070088)

"coding" is short for "writing computer code" and is in common use as a synonym for "programming".

Re:It's not called "coding". (0)

Anonymous Coward | more than 4 years ago | (#32070236)

Since HTML isn't a programming language, writing HTML isn't coding. But thanks for playing, have a safe trip home!

Writing HTML is not programming (2, Insightful)

Viol8 (599362) | more than 4 years ago | (#32070148)

HTML is a formatting language, not a programming language

Re:Writing HTML is not programming (1)

El_Muerte_TDS (592157) | more than 4 years ago | (#32070264)

Erm... right. But then it's still "writing" HTML and not "coding".

No it isn't (1)

Kupfernigk (1190345) | more than 4 years ago | (#32070622)

Programming includes elements of analysis, system design, algorithm specification, library selection, test methodology and all the other things you have to do to make a computer do what you want. Coding is the process of converting the results of all these specifications and decisions into something that can be compiled, by writing source code. Traditionally, they were done by quite different people (and the compilations and run done by a third group.) A lot of bad code results from design while coding. The functions should be clearly separated.

You don't "code" HTML (4, Insightful)

Viol8 (599362) | more than 4 years ago | (#32070118)

You code in java,C++,javascript, but HTML is a formatting language - you do not code in it because it isn't a coding language. I know it makes fluffy web page designers feel like their playing with the big boys to talk about "coding" in HTML but you might was well talk about "coding" .ini files.

Re:You don't "code" HTML (2, Funny)

IRoll11!s (1609859) | more than 4 years ago | (#32070262)

Stop being so pedantic or I will hack your internets.

Re:You don't "code" HTML (0)

Anonymous Coward | more than 4 years ago | (#32070272)

The only reason I was able to continue to pursue this miserable experience we call life is the fact that I believed that by being paid to express ideas in a markup language like HTML I was intellectually and socially the equal of my colleagues in the next office who are paid to express theirs in a variety of Turing-complete languages.

Thankyou for tearing this, the final foundation, from underneath me. I am going outside now, and I may be some time.

Re:You don't "code" HTML (1)

nebulus4 (799015) | more than 4 years ago | (#32070432)

If it's acceptable to refer to HTML or CSS code as code then it's perfectly acceptable to say you code in HTML or CSS. And besides when I say I code in Java, C, etc. what I'm really saying is that I'm programming in those languages.

HTML Programmer (0)

Anonymous Coward | more than 4 years ago | (#32070670)

You code in java,C++,javascript, but HTML is a formatting language - you do not code in it because it isn't a coding language. I know it makes fluffy web page designers feel like their playing with the big boys to talk about "coding" in HTML but you might was well talk about "coding" .ini files.

What is a .ini file? It sounds like complicated programming to me.

Load More Comments
Slashdot Login

Need an Account?

Forgot your password?