CUTCODEDOWN
Minimalist Semantic Markup

Welcome Guest
Please Login or Register

If you have registered but not recieved your activation e-mail in a reasonable amount of time, or have issues with using the registration form, please use our Contact Form for assistance. Include both your username and the e-mail you tried to register with.

Author Topic: Basic Formatting with troff  (Read 350 times)

Evg

  • Junior Member
  • *
  • Posts: 11
  • Karma: +0/-0
    • agouti
Basic Formatting with troff
« on: 11 Jun 2022, 12:03:22 am »
I came across one site, what do you think about this :

http://lofi.limo/blog/write-html-right

The conversation is about troff.

And that's where it's being discussed:

https://lobste.rs/s/bsmrqr/write_html_right
« Last Edit: 11 Jun 2022, 12:09:53 am by Evg »
Interests: martial arts, sports, archeology, theology and programming

Jason Knight

  • Administrator
  • Hero Member
  • *****
  • Posts: 1057
  • Karma: +188/-1
    • CutCodeDown -- Minimalist Semantic Markup
Re: Basic Formatting with troff
« Reply #1 on: 11 Jun 2022, 08:46:31 am »
I have always felt that removing closing tags removes code clarity, because it makes it harder to tell where blocks end.

A lot of what's talked about seems to also be ignorant and or made up. Like I have no clue what he's talking about where the whitespace neutrality applied to URI's. That's bullshit, was never a thing.

It basically reeks of the opposite of WET. It's "wah wah eye dunz wunna type" taken to an extreme that compromises code legibility, makes the parser have to work harder and/or guess, and could induce the very types of errors HTML 4 Strict was trying to get rid of! There's a reason optional closures, optional attribute value quotes, and so-forth were removed from HTML 24 years ago.

I would take the well formatted clear code of their "figure 2" over the sloppy half-assed chazerie in the so-called "TROFF" style.

Never heard of Troff, but it looks like shit. But that's par for the course with *nixisms. Probably something that went away before I ever got to deal with a Unix system, since my first decade and a half of computing was on microcomputers where we pointed at the big iron dinosaurs and laughed at how pathetically cryptic, outmoded, and outdated their numbnuttery was.

There's only two TROFF I'm familiar with. One is for turning off the debug trace in BASIC (The opposite of TRON), the latter is for horses.

But what do I know? I'm still convinced this isn't a joke:

https://www.gnu.org/fun/jokes/unix-hoax.html
« Last Edit: 11 Jun 2022, 09:04:54 am by Jason Knight »
We are all, we are all, we are all FRIENDS! For today we're all brothers, tonight we're all friends. Our moment of peace in a war that never ends.

Evg

  • Junior Member
  • *
  • Posts: 11
  • Karma: +0/-0
    • agouti
Re: Basic Formatting with troff
« Reply #2 on: 11 Jun 2022, 11:53:14 am »
Thanks a lot. I'm very interested in your opinion. I agree, this approach also seemed a little strange to me.
Interests: martial arts, sports, archeology, theology and programming

coothead

  • Sr. Member
  • ****
  • Posts: 391
  • Karma: +89/-0
  • I smile benignly
    • coothead's stuff ~ an eclectic collection
Re: Basic Formatting with troff
« Reply #3 on: 11 Jun 2022, 05:05:03 pm »
If new and  a great many old coders followed these instructions...

How to Make a Web Page

...by you-know-who, there would most certainly,  be no temptation for
either to visit or, heaven forbid, be taken in by the 'snake oil peddlers'
bullshit.

coothead
« Last Edit: 12 Jun 2022, 03:47:37 am by coothead »
~ the original bald headed old fart ~

GrumpyYoungMan

  • Hero Member
  • *****
  • Posts: 792
  • Karma: +8/-0
    • Grumpy Young Man
Re: Basic Formatting with troff
« Reply #4 on: 12 Jun 2022, 03:21:21 am »
Nice job, keep it up!

It amazes me how much rubbish there is around!

Need more articles like this…
Trying to learn a new trick to prove old dogs can learn new ones...

Total Novice have-a go Amateur Programmer - not sure that is the right thing to say... but trying to learn...

 

SMF spam blocked by CleanTalk

Advertisement