views:

102

answers:

2

in how many languages /* ........... */ work as a comment? other than CSS

+9  A: 

Taking the list on Wikipedia as a starting point:

  • ActionScript
  • AutoHotkey
  • C
  • CHILL
  • C++
  • C#
  • CSS
  • D
  • Go
  • Java
  • JavaScript
  • J++
  • J#
  • Objective C
  • Objective C++
  • PHP
  • PL/I
  • PL/SQL
  • REXX
  • SAS
  • Scala
  • SQL
  • TSQL
  • Visual Prolog

and probably others too...

Richard Cook
And does it works same in all like it works in CSS. in multiple or single lines code.?
metal-gear-solid
This the list on Wikipedia: http://en.wikipedia.org/wiki/Comparison_of_programming_languages_(syntax)#Block_comments
Trey
You can make it work in Perl, too. ;-)
Thilo
@Richard Cook: J# is yet another one :)
Michael Mao
@Michael Mao: and who could forget J++? ;-)
Richard Cook
@Thilo: Yo ucan make anything work in Perl. :-)
Martin York
+2  A: 

All C-based languages for a start.

Andrew Cooper